- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Am trying to run the text_dectection_demo application on a Windows machine. However, it is not clear what should go in the -i flag, as there is no /dev/video0 on Windows, and thus the application reads this as a (missing) image. Equally, using -i cam , as in some of the other demos, does not work. Tried to look at the source code, but got then lost in the OpenCV sources.
Am using the following command line :
text_detection_demo -m_td FP32/text-detection-0004.xml -m_tr FP32/text-recognition-0012.xml -dt webcam -i ???
Any help would be greatly appreciated.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Peter,
Please review The Text Detection Demo Doc for details. As this is a forum focused on OpenVino (Model Optimizer and Inference Engine) please ask OpenCV related questions on the following forum:
https://answers.opencv.org/questions/
Look at the Smart Classroom Demo for an example of how the WebCam is accessed on Windows. Kindly study the image_grabber.cpp file. It's a simple matter of :
if (fname == "cam") { is_opened = cap.open(0); } else { is_opened = cap.open(fname); }
Hope it helps,
Thanks,
Shubha

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page