From Video device cannot capture the image.

3 ビュー (過去 30 日間)
Tai
Tai 2023 年 12 月 20 日
コメント済み: Tai 2023 年 12 月 23 日
I am using the integrated webcam of my laptop to some image processing in Simulink. However, I have some problems to get the video. The block "To Video display" always displays a blackscreen.
The addon "Image Acquisition Toolbox Support Package for OS generic Video Interface" is installed as well. When I open the block of "From Video device", the webcam can be found.
"
However, by running the model, I get a black screen as follows. When I want to stop the simulation, the button "stop" in Simulink does not work. I have to use "cltr+c" in command window to stop it.
Can you help me?

採用された回答

Angelo Yeo
Angelo Yeo 2023 年 12 月 21 日
I used the block and it works as expected in my machine. It may be the configuration issue of your machine, or you may need further troubleshooting.
  1. First, what do you see when you click "Preview" button in "From Video Device" block properties?
  2. Also, can you run the example in the doc correctly? Barcode Recognition Using Live Video Acquisition
  3. You can find official documentations for overall troubleshooting processes for Image Acquisition Toolbox. Please see if the docs can be of your help.
  1 件のコメント
Tai
Tai 2023 年 12 月 23 日
Hi Angelo,
Many thanks. It helps a lot. I have solved the problem. Webex is using the vdieo in the background. After killing the webex process, I have the video.

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by