-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
objdetect module can't be build for UWP #21368
Copy link
Copy link
Closed
Milestone
Description
System information (version)
- OpenCV => 4.5.5
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2019 WindowsStore (UWP)
Detailed description
Since OpenCV 4.5.4, objdetect module can't be built for UWP. This is because the dnn module dependent features FaceDetectorYN/FaceRecognizerSF has been implemented in objdetect module in OpenCV 4.5.4. The dnn module doesn't support UWP, so objdetect modules that depend on it will also be disabled.
The objdetect module contains important features such as CascadeClassifier. It is also important in UWP.
For OpenCV 4.x, I think should have a fix to avoid this problem, so that objdetect module doesn't depend on dnn module when build for UWP. I will pull request this fix shortly.
For OpenCV 5.x, I propose to port FaceDetectorYN/FaceRecognizerSF from objdetect module to dnn module. Please see #20874 for more details of my proposal.
Steps to reproduce
- clone opencv and checkout 4.5.5
- generate opencv project for WindowsStore (UWP)
- build opencv project
Issue submission checklist
- I report the issue, it's not a question
- I checked the problem with documentation, FAQ, open issues,
forum.opencv.org, Stack Overflow, etc and have not found solution - I updated to latest OpenCV version and the issue is still there
- There is reproducer code and related data files: videos, images, onnx, etc
Reactions are currently unavailable