AI mascot and idol of Ordinal Scale
A Flask server that performs facial detection using deep learning, powered by TensorFlow. Comes packaged with a Discord bot.
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.
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