-
-
Notifications
You must be signed in to change notification settings - Fork 56.5k
[UWP] VideoCapture.open(0) throws "error: (-215:Assertion failed) !info.backendFactory.empty()". #20514
Copy link
Copy link
Closed
Milestone
Description
System information (version)
- OpenCV => 4.5.3
- Operating System / Platform => Windows 64 Bit
- Compiler => Visual Studio 2017
Detailed description
I get the same error as this issue (#19910 ).
VideoCapture.open(0) throws "error: (-215:Assertion failed) !info.backendFactory.empty()".
terminating with uncaught exception of type cv::Exception: OpenCV(4.5.2-dev) /Users/satoo/opencv/ios/opencv/modules/videoio/src/cap.cpp:239: error: (-215:Assertion failed) !info.backendFactory.empty() in function 'open'
The same error occurs with the following method.
bool VideoCapture::open(const String& filename, int apiPreference)
bool VideoWriter::open(const String& filename, int _fourcc, double fps, Size frameSize, bool isColor)
This commit may be the cause.
e705414
Steps to reproduce
- build dll files.
setup_winrt.bat "WS" "10.0" "x64" - call
cap.open(0);
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