- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I pulled ubuntu18_runtime:2021.3 from official hub.And input path for VideoCapture is absolute path or rtsp ,it cannot effect at all,its False for isOpened() whatever inputs backend.
after browse a lot of aticles on web,I installed ffmpeg in container,its successful,but it doesn't work.
Could you please give me some advice?Great appreciate~
>>> import cv2
>>> ap = cv2.VideoCapture('rtsp://admin:123456@192.168.1.37/LiveMedia/ch1/Media1/trackID=1')
>>> ap
<VideoCapture 0x7f5f10c32370>
>>> ap.read()
(False, None)
>>>
>>>
>>> att = cv2.VideoCapture('/home/openvino/test06.mp4')
>>> att.read()
(False, None)
>>>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jee Zou,
Thank you for reaching out to us.
I pulled openvino/ubuntu18_dev:latest on my side as demos are included in this image. After I installed vlc, I able to read() the input.
The steps are as follow:
Run image with the root privileges:
docker run -itu root:root –rm openvino/ubuntu18_dev:latest
Install vlc:
apt-get update
apt-get install vlc
Also, I have tested object_detection_demo.py with face-detection-adas-0001 with rtsp as input, it can run successfully without GUI display. The command to run the demo is:
python3 object_detection_demo.py -m <path_to_model> -i <path_to_input> --no_show -r -at ssd
Regards,
Wan
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jee Zou,
Thank you for reaching out to us.
I pulled openvino/ubuntu18_dev:latest on my side as demos are included in this image. After I installed vlc, I able to read() the input.
The steps are as follow:
Run image with the root privileges:
docker run -itu root:root –rm openvino/ubuntu18_dev:latest
Install vlc:
apt-get update
apt-get install vlc
Also, I have tested object_detection_demo.py with face-detection-adas-0001 with rtsp as input, it can run successfully without GUI display. The command to run the demo is:
python3 object_detection_demo.py -m <path_to_model> -i <path_to_input> --no_show -r -at ssd
Regards,
Wan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So,this original image is not executable for stream?ok, I knew it now,thanks a lot~
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Cmdjzs,
This thread will no longer be monitored since we have provided a solution.
If you need any additional information from Intel, please submit a new question.
Regards,
Wan
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page