A microservice written in Python which detects nudity in images and videos
py-nudec
py-nudec (python nude detector) is a microservice, which scans all the images and videos from the multipart/form-data request payload and sends a response with a boolean value which indicates if all content has passed the checks.
This service uses NudeNet created by notAI-tech
Configuration
Initialize a virtual environment using virtualenv
and start it
# Install virtualenv
pip3 install virtualenv
# Create a virtual environment
py -m virtualenv venv
# Activate virtual environment
source venv/scripts/activate
Install all required packages
pip3 install -r requirements.txt
Finally start the service
flask run
GitHub