matlab - How to transition from a prerecorded video to real time video? -
i have come algorithm on matlab, permits me recognize hand gestures on prerecorded videos. now, run same code real time video time, not sure how after putting these 2 lines:
vid=videoinput('winvideo',1);
preview(vid);
(real time video on)
i thinking loop : while video on, snap repeatedly images in order analyze them.
for k=1:numframes
my code applied here.
so, know how make transition prerecorded videos real time video.
your in appreciated!
i suggest first verify whether can perform acquisition + gesture recognition in real-time using algorithm. that, first read video frames in loop , render or save them , compute reading , rendering overhead of single frame t1. compute time taken algorithm process 1 image t2. throughput(no. of frames process per second) of system be
throughput = 1/(t1 + t2)
it important know how many frames need process gesture. first, try compute minimum no. of images need identify gesture in given time , verify in real-time whether can process same no. of images in same time.
Comments
Post a Comment