0

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!

MLavoie
  • 9,671
  • 41
  • 36
  • 56
TedVN
  • 536
  • 5
  • 10
  • where's the problem? One possible problem is the detection speed which might be too slow for live recording. In that case it might be good to separate detection and capturing in different threads. – Micka Oct 14 '16 at 05:43
  • I use JavaCameraView for detection, it is ok. And now, i don't know how to record video – TedVN Oct 14 '16 at 07:34

1 Answers1

0

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

AlexSH
  • 1
  • 3