Model has been trained to recognize a variety of flowers. Currently recognizes Sunflowers, Daisies, and Roses. Below is an example.
Adapted from Nicholas Renotte's 5-hour Youtube course on Tensor Flow object recognition. Course focused on teaching hand gestures, adapted it to recognize a variety of plants.
Currently image recognition requires the image to have a respective labelimg file.
Resources: https://www.youtube.com/watch?v=yqkISICHH-U&ab_channel=NicholasRenotte
Coding Requirements:
Python 3.8 or higher Tensor Flow --upgrade (2.3 currently) Protobuf matplotlib==3.2 Numpy 1.20.0
Step 1. Create a new virtual environment inside of your respective directory
python -m venv tfod
Step 2. Activate your virtual environment
source tfod/bin/activate # Linux .\tfod\Scripts\activate # Windows
Step 3. Install dependencies and add virtual environment to the Python Kernel
python -m pip install --upgrade pip pip install ipykernel python -m ipykernel install --user --name=tfodj
Step 4. Assuming images have been collected, run Plantify.ipynb, which will itself run the intialization needed through Detector.ipynb.
Step 5. Your image will be saved in the same directory.