Privateness is all the time extremely essential, particularly with visible media the place it’s possible you’ll not have the permission of people within the video. For those who’re filming one thing in public, it is probably you will catch somebody’s face who merely does not need or have to be recognized. This just lately obtained me to considering: what is the best strategy to blur faces in a video through command line?
The most effective open supply utility I discovered for blurring faces in a video was deface
. Let’s take a look at how you need to use deface
to blur faces in movies!
Begin by downloading Python-based through pip
:
python3 -m pip set up deface
With deface
put in, merely present the video title and get the output file with blurred faces:
sudo deface ./sample-4k-faces-video.mp4 Enter: ./sample-4k-faces-video.mp4 Output: ./sample-4k-faces-video_anonymized.mp4 100%|█████████████████████████████
The ensuing video does a formidable job of blurring out faces of individuals strolling by within the unique recording:
View the ensuing video of individuals strolling down the streets of New York:
The default threshold for face recognition works very nicely, even on transferring topics. You possibly can experiment with thresholds with the thresh
argument, and even draw the thresholds out whereas debugging:
I downloaded a handful of YouTube movies utilizing my favourite YouTube downloading utility youtube-dl
and I used to be amazed at how nicely deface
did on quite a lot of visible environments. Faces have been recognized at a dependable degree even at default threshold!
Responsive and Infinitely Scalable JS Animations
Again in late 2012 it was not simple to seek out open supply initiatives utilizing
requestAnimationFrame()
– that is the hook that permits Javascript code to synchronize with an online browser’s native paint loop. Animations utilizing this methodology can run at 60 fps and ship implausible…Digicam and Video Management with HTML5
Shopper-side APIs on cellular and desktop units are shortly offering the identical APIs. After all our cellular units obtained entry to a few of these APIs first, however these APIs are slowly making their strategy to the desktop. A type of APIs is the getUserMedia API…
dat.gui: Distinctive JavaScript Interface Controller
All of us love trusted JavaScript frameworks like MooTools, jQuery, and Dojo, however there is a large push towards utilizing centered micro-frameworks for smaller functions. After all, there are positives and negatives to utilizing them. Positives embody smaller JS footprint (particularly good for cellular) and fewer cruft, negatives…
[ad_2]