Skip to content

Commit

Permalink
Fixed compilation without objdetect module.
Browse files Browse the repository at this point in the history
  • Loading branch information
emgucv committed Sep 5, 2023
1 parent b26be3b commit dd63254
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Emgu.CV.Extern/objdetect/QRCodeDetector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ void cveBarcodeDetectorRelease(cv::barcode::BarcodeDetector** detector)
delete* detector;
detector = 0;
#else
throw_no_objdetect()();
throw_no_objdetect();
#endif
}

Expand Down
7 changes: 7 additions & 0 deletions Emgu.CV.Extern/objdetect/objdetect_c.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,16 @@ namespace cv
{
class HOGDescriptor {};
class CascadeClassifier {};
class GraphicalCodeDetector {};
class QRCodeDetector {};
class QRCodeDetectorAruco {};
class FaceDetectorYN {};
class FaceRecognizerSF {};

namespace barcode
{
class BarcodeDetector {};
}
}
#endif
#include "vectors_c.h"
Expand Down

0 comments on commit dd63254

Please sign in to comment.