#Thread
You can make your ML models available on all mobile platforms by deploying them as Telegram Bot.

In this project, I

- Trained a model using Transfert Learning with Fastai v2: 99% accuracy
- Created a telegram bot in python
- Deployed on heroku for free
1/8
I wanted to reproduce this. An App in which people could take a photo and have a mask detection on it, not uploading pictures they already took.
I don't have any skills in mobile Apps, so I found Telegram bots as a good alternative.

2/8 https://twitter.com/Uber/status/1309153654570708999
You can create telegram bots for free and using python. This is really useful for ML students. You can create a portfolio of Ml projects and show it to people right on their phone.

It took me about 30 min to do this after training.

3/8
Oh I can't finish this thread without saying how great @fastdotai is. I'm still learning with the Deep Learning for coders book by @jeremyphoward and @GuggerSylvain. In just 5 or 6 lines I trained a model using Transfert Learning and got 99% accuracy. It took about 10 min.

4/8
You can play with the bot here : http://t.me/MaskDetectionBot

Don't worry I don't keep your images on the server. I would exceed the slug size on heroku otherwise.

5/8
If you speak french, you can watch the video tutorial in french on my Youtube channel :



7/8
You can follow @kevindegila.
Tip: mention @twtextapp on a Twitter thread with the keyword “unroll” to get a link to it.

Latest Threads Unrolled: