简体   繁体   English

OpenCV:使用Haar Cascades检测人脸并同时录制视频

[英]OpenCV: Detect face using Haar Cascades and record video at the same time

As my title, can I detect face using Haar Cascades and record video at the same time? 作为标题,我可以使用Haar Cascades侦测面部并同时录制视频吗?

I am using OpenCV to detect face by Haar Cascades, but I also want to record video during the detection process. 我正在使用OpenCV来检测Haar Cascades的脸部,但我也想在检测过程中录制视频。 Help me! 帮我!

thank in advance! 预先感谢!

You can use VideoWriter class to record the video. 您可以使用VideoWriter类来录制视频。 Here is the reference . 这是参考

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

相关问题 使用OpenCV Haar-cascades进行人脸特征检测 - Face Features Detection Using OpenCV Haar-cascades 使用 OpenCV Haar Cascades 进行全身检测 - Fullbody Detection Using OpenCV Haar Cascades 为什么OpenCV在Python中无法通过Haar级联检测到眼睛? - Why Does OpenCV Won't Detect Eyes With Haar Cascades In Python? 使用Haar进行人脸检测-OpenCV Python - Face Detection using Haar - OpenCV python 检测STATIC摄像机图像中的人物的最佳方法(不使用视频流)-OpenCV中的HOG,Haar,BackgroundSubtract? - Best approach to detect people in a STATIC camera images ( not using video stream ) - HOG, Haar, BackgroundSubtract in OpenCV? 使用OpenCV检测人脸 - Detect Face Side using OpenCV 每次b / c程序无法加载级联时,使用harr级联进行的人脸识别都会失败 - Face recognition using harr cascades fails every time b/c the program can not load cascades 在 OpenCV 中是否有用于检测左耳和右耳的 haar 级联? - Are there any haar cascades for detecting left ear and right ear in OpenCV? OpenCV:为什么哈尔分类器只能检测到一张脸和一只眼睛? - OpenCV: Why does Haar classifier only detect one face and one eye? 如何使用opencv构建人脸检测程序并启动计时器以记录只要人脸停留在屏幕上的时间? - How to build a face detection program using opencv and start a timer to record the time as long as face stays on the screen?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM