/picture-police

A discord bot to censor vulgar images, replacing specific sections with wholesome content

Primary LanguagePython

Picture Police: Keeping our servers safe

policing pictures for the people

Made @ Hack the North 2021

A dedicated discord bot to censor vulgar images with something a little more wholesome:

cool pic

Using this Discord Bot

  • Message one of our members to invite picture-police to your server.

Usage

  1. Member in server sends an image.
  2. The bot will instantly pull the image from the chat and analyze the image for inappropriate material (profanity, nudity, etc.)
  3. If the image is completely safe, no changes! Otherwise, the NSFW sections will be covered by some kittens.

Examples

Potentially NSFW Images

Image of Profanity

Features

  • Discord bot integration
  • Analyzes all .png, .jpg, and .jpeg files for unsafe material
  • Individual censored sections for each inappropriate part of the body.

Cool stuff

  • Google OCR
  • Google App Engine
  • Natural Language Processing (NLP)
  • Text Natural Language Toolkit (NLTK) analysis
  • Google Cloud Storage