cvHaarDetectObjects with ROI and Multithreading [closed]

asked 2014-07-25 05:30:49 -0500

Jupiter gravatar image

updated 2014-07-25 07:36:18 -0500

berak gravatar image

I am using cvHaarDetectObjects against an image with ROI set in parallel threads. One thread detects eye pair, another – nose, etc. The result is wrong as the ROI is a shared resource: each thread wants to have it’s own ROI which is impossible. My question is: what can I do to enable parallel Haar object detection?

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant by StevenPuttemans
close date 2014-07-25 08:07:23.474370

Comments

btw, use cv::ClassifierCascade (c++ api), not the deprecated cvHaarDetectObjects (c-api)

also, the problem with the ROIs is total unclear.

berak gravatar imageberak ( 2014-07-25 05:50:45 -0500 )edit

I work with OpetCvSharp and it only has a shell method Cv.HaarDetectObjects, not Cv.ClassifierCascade

Jupiter gravatar imageJupiter ( 2014-07-25 07:06:54 -0500 )edit

Since this is a OpenCVSharp problem, address the proper forum for that... Topic closed.

StevenPuttemans gravatar imageStevenPuttemans ( 2014-07-25 08:06:57 -0500 )edit