Integral Channel Features from [32] .
More...
#include "xobjdetect.hpp"
|
| ICFDetector () |
|
void | detect (const Mat &image, std::vector< Rect > &objects, float scaleFactor, Size minSize, Size maxSize, float threshold, int slidingStep, std::vector< float > &values) |
| Detect objects on image. More...
|
|
void | detect (const Mat &img, std::vector< Rect > &objects, float minScaleFactor, float maxScaleFactor, float factorStep, float threshold, int slidingStep, std::vector< float > &values) |
| Detect objects on image. More...
|
|
void | read (const FileNode &node) |
| Write ICFDetector to FileNode. More...
|
|
void | train (const std::vector< String > &pos_filenames, const std::vector< String > &bg_filenames, ICFDetectorParams params=ICFDetectorParams()) |
| Train detector. More...
|
|
void | write (FileStorage &fs) const |
| Write detector to FileStorage. More...
|
|
Integral Channel Features from [32] .
cv::xobjdetect::ICFDetector::ICFDetector |
( |
| ) |
|
|
inline |
void cv::xobjdetect::ICFDetector::detect |
( |
const Mat & |
image, |
|
|
std::vector< Rect > & |
objects, |
|
|
float |
scaleFactor, |
|
|
Size |
minSize, |
|
|
Size |
maxSize, |
|
|
float |
threshold, |
|
|
int |
slidingStep, |
|
|
std::vector< float > & |
values |
|
) |
| |
Detect objects on image.
- Parameters
-
image | image for detection |
objects | output array of bounding boxes |
scaleFactor | scale between layers in detection pyramid |
minSize | min size of objects in pixels |
maxSize | max size of objects in pixels |
threshold | |
slidingStep | sliding window step |
values | output vector with values of positive samples |
void cv::xobjdetect::ICFDetector::detect |
( |
const Mat & |
img, |
|
|
std::vector< Rect > & |
objects, |
|
|
float |
minScaleFactor, |
|
|
float |
maxScaleFactor, |
|
|
float |
factorStep, |
|
|
float |
threshold, |
|
|
int |
slidingStep, |
|
|
std::vector< float > & |
values |
|
) |
| |
Detect objects on image.
- Parameters
-
img | image for detection |
objects | output array of bounding boxes |
minScaleFactor | min factor by which the image will be resized |
maxScaleFactor | max factor by which the image will be resized |
factorStep | scaling factor is incremented each pyramid layer according to this parameter |
threshold | |
slidingStep | sliding window step |
values | output vector with values of positive samples |
void cv::xobjdetect::ICFDetector::read |
( |
const FileNode & |
node | ) |
|
Train detector.
- Parameters
-
pos_filenames | path to folder with images of objects (wildcards like /my/path/*.png are allowed) |
bg_filenames | path to folder with background images |
params | parameters for detector training |
void cv::xobjdetect::ICFDetector::write |
( |
FileStorage & |
fs | ) |
const |
The documentation for this class was generated from the following file:
- /builds/master-contrib_docs-mac/opencv_contrib/modules/xobjdetect/include/opencv2/xobjdetect.hpp