Quantcast
Channel: OpenCV Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 41027

error VideoCapture cap.open(), opencv4.1 Android C++

$
0
0
This is my code: ``` cv::VideoCapture cap; cap.open(0); if (!cap.isOpened()) ``` The following exception will appear and i tried the way given on the official website ``` Traceback (most recent call last): File "C:/Program Files/Android/Android Studio/bin/lldb/shared/jobject_printers\jstring_reader.py", line 95, in jstring_summary_provider_23 return Reader(valobj).decode_string(TargetPlatform(23, True)) File "C:/Program Files/Android/Android Studio/bin/lldb/shared/jobject_printers\jstring_reader.py", line 88, in decode_string data = self._process.ReadMemory(data_address, 2 * length, error) File "C:\Program Files\Android\Android Studio\bin\lldb\lib\python\lldb\__init__.py", line 8428, in ReadMemory return _lldb.SBProcess_ReadMemory(self, addr, buf, error) ValueError: Positive integer expected ``` Anyone can help me?thanks

Viewing all articles
Browse latest Browse all 41027

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>