Commit 8ffa5c9f authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

OpenCV Example: define a default parameter, since we are not C++

parent 20751c54
...@@ -172,7 +172,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic ) ...@@ -172,7 +172,7 @@ static picture_t *Filter( filter_t *p_filter, picture_t *p_pic )
CvSeq *faces = cvHaarDetectObjects( p_img[0], p_sys->p_cascade, CvSeq *faces = cvHaarDetectObjects( p_img[0], p_sys->p_cascade,
p_sys->p_storage, 1.15, 5, p_sys->p_storage, 1.15, 5,
CV_HAAR_DO_CANNY_PRUNING, CV_HAAR_DO_CANNY_PRUNING,
cvSize(20, 20) ); cvSize(20, 20), cvSize(0,0) );
//create the video_filter_region_info_t struct //create the video_filter_region_info_t struct
if (faces && (faces->total > 0)) if (faces && (faces->total > 0))
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment