ARM Compute Library
17.04
|
Basic function to detect multiple objects (or the same object at different scales) on the same input image using HOG. More...
#include <NEHOGMultiDetection.h>
Public Member Functions | |
NEHOGMultiDetection () | |
Default constructor. More... | |
NEHOGMultiDetection (const NEHOGMultiDetection &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEHOGMultiDetection & | operator= (const NEHOGMultiDetection &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
void | configure (ITensor *input, const IMultiHOG *multi_hog, IDetectionWindowArray *detection_windows, const ISize2DArray *detection_window_strides, BorderMode border_mode, uint8_t constant_border_value=0, float threshold=0.0f, bool non_maxima_suppression=false, float min_distance=1.0f) |
Initialise the function's source, destination, detection window strides, border mode, threshold and non-maxima suppression. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
Basic function to detect multiple objects (or the same object at different scales) on the same input image using HOG.
This function calls the following NEON kernels:
Definition at line 52 of file NEHOGMultiDetection.h.
Default constructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
void configure | ( | ITensor * | input, |
const IMultiHOG * | multi_hog, | ||
IDetectionWindowArray * | detection_windows, | ||
const ISize2DArray * | detection_window_strides, | ||
BorderMode | border_mode, | ||
uint8_t | constant_border_value = 0 , |
||
float | threshold = 0.0f , |
||
bool | non_maxima_suppression = false , |
||
float | min_distance = 1.0f |
||
) |
Initialise the function's source, destination, detection window strides, border mode, threshold and non-maxima suppression.
[in,out] | input | Input tensor. Data type supported: U8 (Written to only for border_mode != UNDEFINED) |
[in] | multi_hog | Container of multiple HOG data object. Each HOG data object describes one HOG model to detect. This container should store the HOG data-objects in descending or ascending cell_size width order. This will help to understand if the HOG descriptor computation can be skipped for some HOG data-objects |
[out] | detection_windows | Array of DetectionWindow used for locating the detected objects |
[in] | detection_window_strides | Array of Size2D used to specify the distance in pixels between 2 consecutive detection windows in x and y directions for each HOG data-object The dimension of this array must be the same of multi_hog->num_models() The i-th detection_window_stride of this array must be multiple of the block_stride stored in the i-th multi_hog array |
[in] | border_mode | Border mode to use. |
[in] | constant_border_value | (Optional) Constant value to use for borders if border_mode is set to CONSTANT. |
[in] | threshold | (Optional) Threshold for the distance between features and SVM classifying plane |
[in] | non_maxima_suppression | (Optional) Flag to specify whether the non-maxima suppression is required or not. True if the non-maxima suppression stage has to be computed |
[in] | min_distance | (Optional) Radial Euclidean distance to use for the non-maxima suppression stage |
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
overridevirtual |
Run the kernels contained in the function.
For NEON kernels:
For OpenCL kernels:
Implements IFunction.