Why when I'm displaying the webcam on axes in app designer it shows opposite?

1 回表示 (過去 30 日間)
Ahmer Shahid
Ahmer Shahid 2019 年 1 月 14 日
I'm using app desiger in MATLAB 2018a. When I display webcam on axes it shows opposite.
I'm using this code.
app.camera = webcam(1);
app.imageObject = image(app.livedisplay);
preview(app.camera,app.imageObject);
If I use videoinput function then I cannot display it on axes with this code.

回答 (0 件)

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by