Description Usage Arguments Details Value Author(s)
Detect objects using HOG+SVM (implemented in OpenCV) in all Files/Images of 'path'
1 | hog(img.folder)
|
winStride |
Window stride. It must be a multiple of block stride. |
padding |
Not implemented yet! |
Mscale |
Numeric. Allows multi-scale detection. Coefficient of the detection window increase. |
resize |
Numeric factor resizing image in integrated pre-processing step. E.g. 2 will double the image extent. People should be 100 pixels high. |
predictions |
dir path to where to store prediction images. Must end with "/". |
img.folder |
Path to (preprocessed) image archive |
Python and OpenCV have to be installed. Tested on Linux only.
Further ideas: [A] Add more 'hog.detectMultiScale' parameters: winStride=(4, 4), padding=(8, 8), scale=1.05) [B] Save predictions.png to a folder
Numeric vector with number of detected persons.
Jeroen Staab
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.