NEON kernel to perform HOG detector kernel using linear SVM.
More...
#include <NEHOGDetectorKernel.h>
NEON kernel to perform HOG detector kernel using linear SVM.
Definition at line 38 of file NEHOGDetectorKernel.h.
Prevent instances of this class from being copied (As this class contains pointers)
Allow instances of this class to be moved.
Initialise the kernel's input, HOG data-object, detection window, the stride of the detection window, the threshold and index of the object to detect.
- Parameters
-
[in] | input | Input tensor which stores the HOG descriptor obtained with NEHOGOrientationBinningKernel. Data type supported: F32. Number of channels supported: equal to the number of histogram bins per block |
[in] | hog | HOG data object used by NEHOGOrientationBinningKernel and NEHOGBlockNormalizationKernel |
[out] | detection_windows | Array of DetectionWindow. This array stores all the detected objects |
[in] | detection_window_stride | Distance in pixels between 2 consecutive detection windows in x and y directions. It must be multiple of the hog->info()->block_stride() |
[in] | threshold | (Optional) Threshold for the distance between features and SVM classifying plane |
[in] | idx_class | (Optional) Index of the class used for evaluating which class the detection window belongs to |
Prevent instances of this class from being copied (As this class contains pointers)
Allow instances of this class to be moved.
void run |
( |
const Window & |
window | ) |
|
|
overridevirtual |
Execute the kernel on the passed window.
- Warning
- If is_parallelisable() returns false then the passed window must be equal to window()
- Note
- The window has to be a region within the window returned by the window() method
-
The width of the window has to be a multiple of num_elems_processed_per_iteration().
- Parameters
-
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
Implements ICPPKernel.
The documentation for this class was generated from the following file: