24 #ifndef ARM_COMPUTE_CLHOGDETECTOR_H 25 #define ARM_COMPUTE_CLHOGDETECTOR_H 36 class CLCompileContext;
37 class CLHOGDetectorKernel;
91 size_t idx_class = 0);
97 std::unique_ptr<CLHOGDetectorKernel> _hog_detector_kernel;
99 cl::Buffer _num_detection_windows;
void run() override
Run the kernels contained in the function.
Base class for all functions.
~CLHOGDetector()
Default destructor.
void configure(const ICLTensor *input, const ICLHOG *hog, ICLDetectionWindowArray *detection_windows, const Size2D &detection_window_stride, float threshold=0.0f, size_t idx_class=0)
Initialise the kernel's input, output, HOG data object, detection window stride, threshold and index ...
Basic function to execute HOG detector based on linear SVM.
Copyright (c) 2017-2021 Arm Limited.
Interface for OpenCL Array.
Interface for OpenCL tensor.
Class for specifying the size of an image or rectangle.
CLHOGDetector()
Default constructor.
Wrapper to configure the Khronos OpenCL C++ header.
CLHOGDetector & operator=(const CLHOGDetector &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
SimpleTensor< T > threshold(const SimpleTensor< T > &src, T threshold, T false_value, T true_value, ThresholdType type, T upper)
Interface for OpenCL HOG data-object.