Hi Buddy,
I am a technology lead with 10 years of experience in product research and development using C/C++/VC++, COM & win32.
I am relatively working in Video Analytics in the last few years,
I have already implemented the same kind of req which you were mentioning, and there were multiple ways to achieve that. I have developed a relative code using OpenCV framework for the same.
I would be able to help you to implement the req if you are satisfied with my proposal, Please let me know, Thanks and All the best,
Regards
JK