Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Face Detector Parameters for OpenCV cv_haar_scale_image

What does cv_haar_scale_image do in opencv's function cvhaardetectobjects?

like image 743
rossb83 Avatar asked Dec 17 '22 13:12

rossb83


1 Answers

It enables more optimization.

The face detect implementation is optimized for CV_HAAR_SCALE_IMAGE more than CV_HAAR_DO_CANNY_PRUNING.

Because CV_HAAR_SCALE_IMAGE method is more DMA (direct memory access) friendly. Default method (CV_HAAR_DO_CANNY_PRUNING) implementation needs random access to main memory area widely.

like image 51
Rajendra Uppal Avatar answered Jan 28 '23 22:01

Rajendra Uppal