This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
''' | |
Script for using Matroid to obfuscate desired objects within an input video. | |
Example usage: | |
To obfuscate all "male" and "female" faces with a score above 0.5 in | |
"my_original_video.mp4" using the Matroid gender detector (5a4d4eb907a4ed0013eaa6f6). | |
Obfuscated video "my_obfuscated_video.mp4" is written and displayed in real-time. | |
python obfuscation.py \ | |
--input my_original_video.mp4 \ |