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

Popular posts from this blog

c++ - Difference between pre and post decrement in recursive function argument -

php - Nothing but 'run(); ' when browsing to my local project, how do I fix this? -

php - How can I echo out this array? -