Skip to content
/ yuna Public

Discord bot that detects and crops anime faces

Notifications You must be signed in to change notification settings

lightlyss/yuna

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Server Build Client Build

Yuna

banner

AI mascot and idol of Ordinal Scale

Description

A Flask server that performs facial detection using deep learning, powered by TensorFlow. Comes packaged with a Discord bot.

demo

Development (Docker)

Specify YUNA_TOKEN inside a .env file or as a plain environment variable for the Discord bot. The system is provided as a ready-to-use Docker network. docker-compose up -d to start. The server component will be available at port 5000. The client component can be reached through Discord using commands such as !detect <IMG_URL>. Processing can take a long time, depending on the system hosting the server.

Development (Native)

Running natively is presently untested, but to do so requires Python 3 and TensorFlow in addition to Python modules listed in requirements.txt manifests. Relevant models must also be recompiled manually before the server can function natively:

cd server
make defrag-model