YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
1–10 of 14 posts
Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#2If you have GPU power, I recommend using tinyfaces (https://www.cs.cmu.edu/~peiyunh/tiny/) as your face detector. But you won't get realtime performance...
We used a similar model to detect and blur faces from raw user uploaded images at scale, using a multi-stage pipeline.
Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#3Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#4nice work. If you have GPU power, I recommend using tinyfaces ( https://www.cs.cmu.edu/~peiyunh/tiny/ ) as your face detector. But you won't get realtime performance... We used a similar model to detect and blur faces from raw user uploaded images at scale, using a multi-stage pipeline.
Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#5Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#6Nice and clean. However, it looks like the blur has some (blue?) banding artifacts in it. Am I the only one who sees that?
Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#7Nice and clean. However, it looks like the blur has some (blue?) banding artifacts in it. Am I the only one who sees that?
I see it too. I wonder if it's including the blue border you see in one of the earlier debugging images.
Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#8Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#9Earlier quoted context omitted.
I see it too. I wonder if it's including the blue border you see in one of the earlier debugging images.
Hah, yes, I guess they're doing the blurring on the image with the box overlaid, instead of the original.
In a production implementation, you may also want to consider how you do edge handling here. (For faces in the middle of the frame, you want to use the real pixels from the underlying source image? Do you want to extend the pixels from inside the border? What are the aesthetic and information theory implications of each technique?)
https://en.wikipedia.org/wiki/Kernel_(image_processing)#Edge...
Re: YouTube-Style Face Detect – Crop and Blur Using Python and OpenCV
#10nice work. If you have GPU power, I recommend using tinyfaces ( https://www.cs.cmu.edu/~peiyunh/tiny/ ) as your face detector. But you won't get realtime performance... We used a similar model to detect and blur faces from raw user uploaded images at scale, using a multi-stage pipeline.