Skip to content
 
 

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ NSFW Classifier API (simplify version) ✨

Rest API Written In Python To Classify NSFW Images.

Python ForTheBadge built-with-love

Fastest Solution

If you don't want to selfhost it, there's already an instance of this running here

Install Locally Or On A VPS

$ git clone https://github.com/johbs/nsfw

$ cd nsfw

$ sudo pip3 install -U -r requirements.txt --no-cache-dir

$ sudo python3 run.py

With you want to auto start your script, you can install PM2 to Manage (the same of NodeJS)

$ sudo npm install pm2 -g

After Install you can add your Run.py script like this:

$ sudo pm2 start run.py --interpreter Python3

Classifies

  • Hentai - Hentai and pornographic drawings
  • Porn - Pornographic images, sexual acts
  • Drawings - Safe for work drawings (including anime)
  • Neutral - Safe for work neutral images
  • Sexy - Sexually explicit images, not pornography

Credits

Thanks to https://github.com/GantMan/nsfw_model/ for their model.

About

Rest API Written In Python To Classify NSFW Images.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages