Method Compute
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
Compute(Mat, Size?, Size?, Point[]?)
Computes HOG descriptors of given image.
public virtual float[] Compute(Mat img, Size? winStride = null, Size? padding = null, Point[]? locations = null)
Parameters
imgMatMatrix of the type CV_8U containing an image where HOG features will be calculated.
winStrideSize?Window stride. It must be a multiple of block stride.
paddingSize?Padding
locationsPoint[]Vector of Point
Returns
- float[]
Matrix of the type CV_32F