How to interact with a video live

5 次查看(过去 30 天)
I get video data from a camera, and I want to get the mouse position when I click on the live window. Is there any function like 'ginput' I can use? Thank you!

采纳的回答

Raunak Gupta
Raunak Gupta 2020-8-12
Hi,
The video file if read through MATLAB will be a figure only. You can track the real time location by setting up the timer object and by click (WindowsButtonDownFcn) event.
You may found below answers useful to describe the approach in detail.
Hope it helps!

更多回答(0 个)

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by