Effacer les filtres
Effacer les filtres

How to select points from a input video?

1 vue (au cours des 30 derniers jours)
aleena n a
aleena n a le 19 Avr 2022
Commenté : aleena n a le 22 Avr 2022
Hai everyone,
I have to select two points corresponding to position of a moving object from a video. How to do that?
Please help me.
Any help will be highly appreciated.
Thanks in advance
Thanks and regards,
Aleena N A

Réponse acceptée

KSSV
KSSV le 19 Avr 2022
v = VideoReader(myvideo) ;
n = 10 ; % say this the frame you want to read
frame = read(v,n);
imshow(frame)
[x,y] = getpts ; % select points/ double click to exit
  1 commentaire
aleena n a
aleena n a le 22 Avr 2022
For a single frame it worked.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by