Developer Center

Resources to get you started with Algorithmia

Create and Censor Non-Nude Subclips from Video

Updated

Available on GitHub.

Video editing is a complicated process and when you need a family-friendly censored video pipeline, we are here to help. In past blog articles we’ve covered Nudity Detection, Video Metadata Extraction, and Video Transform which are all a part of this recipe so go ahead and check them out!

Earlier this week we wrote a blog post about an algorithm that censors faces for you called Censorface which we’ll also cover using this recipe.

For the full blog post related to this recipe, see How to Censor Faces with Video Processing Algorithms.

Getting Started

Install the Algorithmia client from PyPi:

  install algorithmia 

You’ll also need a free Algorithmia account, which includes 5,000 free credits a month.

Sign up here, and then grab your API key.

Find this line in the script:

 
client = Algorithmia.client("YOUR_API_KEY")
 

and add in your API key.

How to Create a Video Pipeline to Censor Video Subclips

After putting in your own API key to the line above run it in your console environment:

  censorface_videos.py 

Built With