24 #ifndef __ARM_COMPUTE_NEHOGMULTIDETECTION_H__ 25 #define __ARM_COMPUTE_NEHOGMULTIDETECTION_H__ 81 uint8_t constant_border_value = 0,
82 float threshold = 0.0f,
bool non_maxima_suppression =
false,
float min_distance = 1.0f);
89 std::unique_ptr<NEHOGOrientationBinningKernel[]> _orient_bin_kernel;
90 std::unique_ptr<NEHOGBlockNormalizationKernel[]> _block_norm_kernel;
91 std::unique_ptr<NEHOGDetector[]> _hog_detect_kernel;
92 std::unique_ptr<NEHOGNonMaximaSuppressionKernel> _non_maxima_kernel;
93 std::unique_ptr<Tensor[]> _hog_space;
94 std::unique_ptr<Tensor[]> _hog_norm_space;
98 bool _non_maxima_suppression;
99 size_t _num_orient_bin_kernel;
100 size_t _num_block_norm_kernel;
101 size_t _num_hog_detect_kernel;
BorderMode
Methods available to handle borders.
Base class for all functions.
Interface for NEON tensor.
Basic function to detect multiple objects (or the same object at different scales) on the same input ...
Basic function to calculate the gradient for HOG.
Basic implementation of the tensor interface.
void run() override
Run the kernels contained in the function.
NEHOGMultiDetection & operator=(const NEHOGMultiDetection &)=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.
Interface for storing multiple HOG data-objects.
NEHOGMultiDetection()
Default constructor.