简体   繁体   中英

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?

I am using OpenCV to detect face by Haar Cascades, but I also want to record video during the detection process. Help me!

thank in advance!

You can use VideoWriter class to record the video. Here is the reference .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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