Image Acquisition Toolbox cannot detect camera device from ssh terminal

1 次查看(过去 30 天)
I have an NUC computer which connects to a camera. The NUC can detect the camera as /dev/video0 and I can use `streamer -f jpeg -o image.jpeg` to capture images. However, the problem happens when I connect to NUC from a desktop computer through ssh. I created a tmux session to run matlab without gui
```
tmux new -d -s myApp 'bash -c \
"matlab -nodesktop -nosplash \
-sd $MYAPP_FOLDER \
-logfile myApp.log \
```
In matlab terminal, I call
imaqhwinfo('linuxvideo')
but not device is detected.
If i follow the same steps as above on NUC desktop, imaqhwinfo can detect the camera correctly. I also tried webcamlist but the same problem occured as for imaq. Can you give me some suggestions to fix the problem?

回答(0 个)

产品


版本

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by