Table of Contents

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

img Mat

Matrix of the type CV_8U containing an image where HOG features will be calculated.

winStride Size?

Window stride. It must be a multiple of block stride.

padding Size?

Padding

locations Point[]

Vector of Point

Returns

float[]

Matrix of the type CV_32F