How to capture video stream using emgu cv

南楼画角 提交于 2019-12-11 03:55:18

问题


I am doing my project about hand gesture recognition so, I want to capture video stream using web cam.

Currently I am using emgu cv wrapper for open cv image processing library.

any solution to capture video stream in to image?

My emgu cv version is 2.4.10

Thanks...


回答1:


First, You need to create Capture object then using that object call QueryFrame method it will provide RGB image

Capture videoCapture = new Capture();
Image<Bgr, byte> currentFrame = videoCapture.QueryFrame();

Happy Coding.....



来源:https://stackoverflow.com/questions/30988892/how-to-capture-video-stream-using-emgu-cv

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!