Skip to content

Fully asynchronous telegram bot for age and gender recognition based on aiogram and OpenVINO™.

License

Notifications You must be signed in to change notification settings

dpigasin/age_recognition_bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

age_recognition_bot

Telegram bot for age and gender recognition powered by aiogram and OpenVINO™.
Message processing and image inference is completely asynchronous.

At the moment, the bot does not have a permanent hosting, but I run it from time to time.
You can send a message here. It will be processed as soon as the bot appears on the network.

How to run

  1. Set the environment variable AGE_RECOGNITION_BOT_TOKEN containing a telegram bot token.

  2. Download the necessary models from Open Model Zoo repository and place them in the models folder.

  3. Run the program.

python main.py

Example

example

TODO

  • Use webhooks instead of polling.
  • Add an argument parser to set some parameters.