Ask Your Question

zeta274's profile - activity

2016-07-18 07:57:58 -0600 asked a question Python, VideoWriter yields empty file (5.7kb), if the video isn't square
cv2.VideoWriter.write(frame)

This code simply does nothing if the frame is not square. Is there any solution for this issue?

2016-07-15 09:51:41 -0600 commented answer Best OpenCV solution for face detection?

Which LBP cascade? Would you like to link me to one? Is an LBP cascade usable same as a Haar Cascade or is different code necessary?

I tried a full person haar cascade and it didn't work well at all.

I was referred to trainHOG which seems to be a training software for HOG style cascades, which might be perfect for this purpose, but I have no idea how to actually use it once it's generated. It's not an XML file. In fact, it's not even a cascade.

2016-07-13 02:22:35 -0600 asked a question Best OpenCV solution for face detection?

I am trying to find and blur faces in many long video files that all have the following style: image description

Standard cascades yield a detection of around 1% with almost 100% of all detected faces being false positives. It has been suggested to me that perhaps I should use SVM with HOG though I do not understand how that works or how it is implemented. I am capable of using Cascade-XML files in regular OpenCV fashion to go through each frame, and that is where my expertise runs out I'm afraid.

Is there any concrete OpenCV method that is optimal for this particular task?