All Projects → alvinbhou → Plants-Identification

alvinbhou / Plants-Identification

Licence: other
🌻 Deep learning project of Taiwan plants classification and detection with chatbot implementation

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Plants-Identification

Webhook2telegram
🤖 A simple bot to translate JSON HTTP requests into Telegram push messages
Stars: ✭ 357 (+1883.33%)
Mutual labels:  telegram-bot, chatbot
Expressbot
一个可以帮你订阅、查询快递物流、跟你闲聊Telegram机器人
Stars: ✭ 137 (+661.11%)
Mutual labels:  telegram-bot, chatbot
C4bot
Chat bot that plays Connect Four with you
Stars: ✭ 21 (+16.67%)
Mutual labels:  telegram-bot, chatbot
Bot-Telegram-BeMEAN
💣 Bot para o Telegram do grupo do Be MEAN
Stars: ✭ 76 (+322.22%)
Mutual labels:  telegram-bot, chatbot
Urban Bot
🤖 The universal chatbot library based on React. Write once, launch Telegram, Facebook, Slack, ... every messenger with chatbots
Stars: ✭ 223 (+1138.89%)
Mutual labels:  telegram-bot, chatbot
Python-BlackJackBot
A Telegram bot written in Python to play the game BlackJack alone or with your friends
Stars: ✭ 48 (+166.67%)
Mutual labels:  telegram-bot, chatbot
Telegram.bot
.NET Client for Telegram Bot API
Stars: ✭ 1,964 (+10811.11%)
Mutual labels:  telegram-bot, chatbot
technopsyna
телеграм бот для техноконфы
Stars: ✭ 16 (-11.11%)
Mutual labels:  telegram-bot, chatbot
Java Telegram Bot Tutorial
Java Telegram Bot Tutorial. Feel free to submit issue if you found a mistake.
Stars: ✭ 165 (+816.67%)
Mutual labels:  telegram-bot, chatbot
Telegram Bot Sdk
🤖 Telegram Bot API PHP SDK. Lets you build Telegram Bots easily! Supports Laravel out of the box.
Stars: ✭ 2,212 (+12188.89%)
Mutual labels:  telegram-bot, chatbot
Telegram.bot.framework
Simple framework for building Telegram bots
Stars: ✭ 73 (+305.56%)
Mutual labels:  telegram-bot, chatbot
Awesome Bots
The most awesome list about bots ⭐️🤖
Stars: ✭ 2,864 (+15811.11%)
Mutual labels:  telegram-bot, chatbot
Ptt Alertor
📢 Ptt 文章通知機器人!Notify Ptt Article in Realtime
Stars: ✭ 150 (+733.33%)
Mutual labels:  telegram-bot, chatbot
Gpt2bot
Your new Telegram buddy powered by transformers
Stars: ✭ 228 (+1166.67%)
Mutual labels:  telegram-bot, chatbot
bot
茶馆群内QQ机器人(小可)
Stars: ✭ 61 (+238.89%)
Mutual labels:  telegram-bot, chatbot
telepush
可一键部署的Vercel Telegram消息推送机器人
Stars: ✭ 24 (+33.33%)
Mutual labels:  telegram-bot
naver talk sdk
NaverTalk Python Library(네이버 톡톡 파이썬 모듈)
Stars: ✭ 16 (-11.11%)
Mutual labels:  chatbot
olx-parser
Looks for new flats in Odessa and notify in the telegram through the bot
Stars: ✭ 39 (+116.67%)
Mutual labels:  telegram-bot
Telegram-Music-Bot
A Telegram music catalog bot.
Stars: ✭ 19 (+5.56%)
Mutual labels:  telegram-bot
KazukoBot
An anime themed telegram group management bot based on sqlalchemy database running on python3.
Stars: ✭ 25 (+38.89%)
Mutual labels:  telegram-bot

Plants-Identification

Project Info

Plants identification on 240 categories Taiwan endemic plants with a dataset size of 41834 images. Trained on ResNet50 with pre-trained weights from imagenet.

Designed an easy-to-use chatbot on Telegram for users to upload photos of plants and get instant boxing and predicted category result.

Demo Telegram Chatbot

Plant Classification Bot

Usage

plant_classifier.py

usage: plant_classfier.py [-h] --uid UID [--train_path TRAIN_PATH]
                          [--valid_path VALID_PATH] [--train_resnet]
                          [--train_inception] [--learning_rate LEARNING_RATE]
                          [--batch_size BATCH_SIZE] [--epoch EPOCH]
                          [--img_size IMG_SIZE]
optional arguments:
  -h, --help            show this help message and exit
  --uid UID             training uid
  --train_path TRAIN_PATH
                        training data path
  --valid_path VALID_PATH
                        valid data path
  --train_resnet        whether train on ResNet50
  --train_inception     whether train on InceptionResNetV2
  --learning_rate LEARNING_RATE
                        learning rate for training
  --batch_size BATCH_SIZE
                        batch size for training
  --epoch EPOCH         epochs for training
  --img_size IMG_SIZE   img width, height size

bot.py

usage: python bot.py TELEGRAM_KEY_TOKEN

Results

Classification results

  • Trained the model for 57 epochs freezing the Resnet layers

  • Trained the model for more epochs (until early stop) unfreezing the Resnet layers

Training accuracy on 33372 images: 0.744375

Testing accuracy on 8374 images: 0.64296875

Testing Top 5 accuracy 8374 images: 0.81634120

Boxing results

Example on Helianthus annuus 向日葵

Chatbot Demo Screenshots

  • GIF demo

  • User uploads photo

  • Feeling lucky! for random results

  • Telegram app screenshot

Contributors

Contributor Contribute
Franklyn Chen Help building up this project, putting in huge effort fine-tuning the model and wrote the boxing script
ITRI Providing ideas, supports and the dataset
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].