How to select points from a input video?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
KSSV
2022년 4월 19일
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
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!