Through optical flow , i can get next points using
calcOpticalFlowPyrLK() and good features using
goodFeaturesToTrack() . But my problem is Frame speed , Its around
0.96 FPS !!! I dont know what should i do??
I am thinking two solutions for this problem .Just tell me Is it right
way to do it or not?? or any other problem is there while using
optical-flow.
(1)First i checked that my one frame processing time is around 20
sec !! i think its too much . i am getting 200 good points , and for
each point , i am doing some calculation. should i do in thread ??
(2) Second , I make one buffer , in which i will store my frames , and
i get it each frame from this buffer rather than taking directly from
camera . so when one frame's process is finished , i will take next
frame from buffer,
I dont know whether i am wrong or right .. ,,,just i want your
suggestion ,if anyone knows what could be the problem ?? Pls
share ,,,,
Thanks
Hardik Pansuria