24 #ifndef ARM_COMPUTE_NEHOGDETECTORKERNEL_H 25 #define ARM_COMPUTE_NEHOGDETECTORKERNEL_H 40 const char *
name()
const override 42 return "NEHOGDetectorKernel";
75 const float *_hog_descriptor;
79 size_t _num_bins_per_descriptor_x;
80 size_t _num_blocks_per_descriptor_y;
81 size_t _block_stride_width;
82 size_t _block_stride_height;
83 size_t _detection_window_width;
84 size_t _detection_window_height;
85 size_t _max_num_detection_windows;
NEHOGDetectorKernel()
Default constructor.
const Window & window() const
The maximum window the kernel can be executed on.
Interface for HOG data-object.
Common interface for all kernels implemented in C++.
void run(const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
std::mutex Mutex
Wrapper of Mutex data-object.
Interface for Neon tensor.
Neon kernel to perform HOG detector kernel using linear SVM.
Copyright (c) 2017-2021 Arm Limited.
const char * name() const override
Name of the kernel.
NEHOGDetectorKernel & operator=(const NEHOGDetectorKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Information about executing thread and CPU.
Class for specifying the size of an image or rectangle.
void configure(const ITensor *input, const IHOG *hog, IDetectionWindowArray *detection_windows, const Size2D &detection_window_stride, float threshold=0.0f, uint16_t idx_class=0)
Initialise the kernel's input, HOG data-object, detection window, the stride of the detection window...
SimpleTensor< T > threshold(const SimpleTensor< T > &src, T threshold, T false_value, T true_value, ThresholdType type, T upper)
Describe a multidimensional execution window.
~NEHOGDetectorKernel()=default
Default destructor.