Inspiration

We run several Discord servers and have encountered gifs meant to flash at high rates that are generally a nuisance and can even be dangerous for some people.

What it does

Our project is a discord bot to detect and delete rapidly flashing gifs, which may affect people with photosensitive epilepsy, or may simply be unpleasant to look at.

How we built it

It was written in python, with the pillow library for image processing, and the numpy library to implement the algorithm efficiently.

Challenges we ran into

The backend looks simple, but took hours of testing and tweaking.

Accomplishments that we're proud of

The algorithm is efficient and correct. The chunking was created to avoid excessive computation requirements and falsely flagging gifs with white noise-like sections, such as static.

What we learned

We learned about efficient image processing and the barriers some face

What's next for Photosensitive Epilepsy Content Remover

Move to GPU processing in order to speed up detection

Built With

Share this project:

Updates