Giter VIP home page Giter VIP logo

gender_age_bot's Introduction

Bot that predicts your age and gender

Telegram @Age_Sex_bot

To find bot

There is a bug in telegram that does not search for some users, but you can still find my bot by writing to your personal messages @Age_Sex_bot and click on it

Bot Server

The bot was created using Docker technology and is currently running on AWS server

Description

The bot is written on the aiogram framework

The pytorch framework was used to train neural networks

the model for predicting age was based on reset 18 because it has a satisfactory accuracy and low flops, which allowed me to train the model on kaggle using the entire dataset that I had

the resnext50_32x4d model was used as the basis for predicting gender due to the fact that it showed the best result in working with a dataset with human faces

DataBase

The results of the bot's prediction are added to the database, which is based on PostgreSQL, which allows the user to see what predictions the bot gave

โœ… The user gets a unique id of the image and prediction from the database

๐Ÿ”ฒ The plans are to make a output in the form of forwarded messages for each image that the bot sent

Output to the user

The bot sends the user a ready-made image with the faces marked on it highlighted squares and signed on top of the results of the prediction predicted using cv2, the color of the squares depends on what prediction the model gave to this person

The architecture of the bot

Alt-ั‚ะตะบัั‚

Sample output

Alt-ั‚ะตะบัั‚

gender_age_bot's People

Contributors

denishevvadim avatar latand avatar forden avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.