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

1 次查看(过去 30 天)
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