How to interact with a video live

5 views (last 30 days)
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!

Accepted Answer

Raunak Gupta
Raunak Gupta on 12 Aug 2020
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!

More Answers (0)

Tags

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!