简体   繁体   English

OpenCV Video模块教程

[英]OpenCV Video module tutorials

As you know there is no opencv official tutorial for video module. 如您所知,没有适用于视频模块的opencv官方教程。 That tutorial section is empty. 该教程部分为空。 I googled but couldn't find anything good. 我用谷歌搜索,但找不到任何好东西。 Any of you know a good OpenCV video module tutorial in c++? 你们中谁知道C ++中的OpenCV视频模块很好的教程?

Actually, I need to capture humans, then identify the colour of their T-Shirts 实际上,我需要捕捉人类,然后确定其T恤的颜色

you just want to capture video stream or apply some algo on it or what? 您只想捕获视频流或对其应用一些算法还是什么?

check this 检查这个

http://www.cc.gatech.edu/~daleshin/OpenCV_Tutorial.pdf http://www.cc.gatech.edu/~daleshin/OpenCV_Tutorial.pdf

Here is a small example on opencv docs to capture from cam. 这是从cam捕获的opencv文档上的一个小示例。

http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html http://docs.opencv.org/modules/highgui/doc/reading_and_writing_images_and_video.html

这些来自opencv.org的书籍可能对您有用http://opencv.org/books.html

You can do this by using haarcascade xml already provided in opencv. 您可以使用opencv中已经提供的haarcascade xml来实现。

Then you can check the color of t-shirt by applying simple opencv filters to extract color. 然后,您可以通过应用简单的opencv滤镜提取颜色来检查T恤的颜色。

Haarcascade xmls are available of full human body, upper half, lower half etc. Haarcascade xml可用于整个人体,上半身,下半身等。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM