Module ObjectDetect
In: ext/objectdetect.c

cleanups

Methods

detect  

Public Class methods

Detects objects in the image file target_path. model_path needs to point a model file (e.g. /usr/local/share/opencv/haarcascades/haarcascade_frontalface_alt2.xml). If rescale_size is specified and the width or height of the image is larger than rescale_size, the image is rescaled to fit into the size before processing.

[Validate]