How to interact with a video live

6 Ansichten (letzte 30 Tage)
Xuechu Xu
Xuechu Xu am 22 Jul. 2020
Kommentiert: Xuechu Xu am 3 Sep. 2020
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!

Akzeptierte Antwort

Raunak Gupta
Raunak Gupta am 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!

Weitere Antworten (0)

Tags

Produkte


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by