Skip to content

Latest commit

 

History

History

nevernude

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

nevernude

Nevernude shorts from Arrested Development

Tool for trimming nudity out of videos.

Read the blog post

Check out the blog post introducing this project

How it works

Nevernude processes a video with Videobox and Nudebox and uses ffmpeg to break the video into segments, before stiching the non-nude bits back together into a new video.

Usage

Use docker-compose to spin up Videobox and Nudebox. This will start two Docker containers, and connect them together.

$ cd github.com/machinebox/nevernude
$ docker-compose up

Build the nevernude tool:

$ cd github.com/machinebox/nevernude
$ go install

Run the nevernude tool on your video:

$ nevernude sourcevideo.mp4

After a while, a new video will be created (at sourcevideo-nevernude.mp4) that has nudity removed.

Tweak behaviour

The following flags let you control nevernude run nevernude --help:

-out string
      output file (default will save file next to original)
-skipframes int
      number of frames to skip between extractions (see Videobox docs) (default -1)
-skipseconds int
      number of seconds to skip between extractions (see Videobox docs) (default -1)
-threshold float
      nudebox threshold (lower is more strict) (default 0.5)
-videobox string
      Videobox address (default "http://localhost:8080")

Prerequisites

Finally

If you like Arrested Development, you can buy the Nevernude mug.