How to interact with a video live

6 vues (au cours des 30 derniers jours)
Xuechu Xu
Xuechu Xu le 22 Juil 2020
Commenté : Xuechu Xu le 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!

Réponse acceptée

Raunak Gupta
Raunak Gupta le 12 Août 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!
  1 commentaire
Xuechu Xu
Xuechu Xu le 3 Sep 2020
Thank you, that's very helpful

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits


Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by