Home

Awesome

Features

Installation

You need install Anaconda, then run below:

git clone https://github.com/quarrying/quarrying-plant-id.git
cd quarrying-plant-id
conda create -n plantid python=3.8 -y
conda activate plantid
pip install -r requirements.txt

Usage

Method I: Python Interface

import cv2
import plantid

plant_identifier = plantid.PlantIdentifier()
image = cv2.imread(image_filename)
outputs = plant_identifier.identify(image, topk=5)
if outputs['status'] == 0:
    print(outputs['results'])
else:
    print(outputs)

You can also see demo.py.

Method II: Website

Goto https://www.quarryman.cn/plant which powered by this repo.

Method III: Telegram

For those who use telegram, the algorithm is now deployed on Yuuka.

Details

See https://zhuanlan.zhihu.com/p/364346303.

ChangeLog