mirror of
https://github.com/opencv/opencv_contrib.git
synced 2025-10-23 00:49:38 +08:00
Add macro definition to avoid building error.
Signed-off-by: Yan Wang <yan.wang@linux.intel.com>
This commit is contained in:
@@ -51,7 +51,9 @@ namespace cv
|
||||
{
|
||||
void detect_all(const Mat& img, const Mat& imgBlurred, std::vector<Rect2d>& res, std::vector < std::vector < tld::TLDDetector::LabeledPatch > > &patches,
|
||||
std::vector<bool>& detect_flgs, std::vector<Ptr<Tracker> >& trackers);
|
||||
#ifdef HAVE_OPENCL
|
||||
void ocl_detect_all(const Mat& img, const Mat& imgBlurred, std::vector<Rect2d>& res, std::vector < std::vector < tld::TLDDetector::LabeledPatch > > &patches,
|
||||
std::vector<bool>& detect_flgs, std::vector<Ptr<Tracker> >& trackers);
|
||||
#endif
|
||||
}
|
||||
#endif
|
Reference in New Issue
Block a user