An Image Classification Model trained on 6000+ images of various plants. When an image is uploaded, it returns whether the plant is poisonous or not. The website for our software is available here: https://poisonai.my.canva.site/
![Screenshot 2023-07-09 at 11 08 15 AM](https://private-user-images.githubusercontent.com/86537371/252161551-6c457dfd-e172-4a72-bdf1-389bf85b22eb.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NDMzNDIsIm5iZiI6MTcyNDU0MzA0MiwicGF0aCI6Ii84NjUzNzM3MS8yNTIxNjE1NTEtNmM0NTdkZmQtZTE3Mi00YTcyLWJkZjEtMzg5YmY4NWIyMmViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDIzNDQwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc0MzdiYzU4N2JjOThkMzkwZmY5YTBhMmViOTQwYjE1ODY3ZTg2YWM5NGE3ODFhZTBkMmY2MDAyZGViZGRhZDUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Vo9UZD5aHHLO6tmpRQ-716seDHJ4vxPDiUPJuw2CK3g)
To use, see the "PoisonAI.ipynb" file. Run all the cells, and go to this website: https://poison-ai.anvil.app
![Screenshot 2023-07-09 at 11 08 33 AM](https://private-user-images.githubusercontent.com/86537371/252161574-800057d3-1939-4056-8112-71ca14088a32.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NDMzNDIsIm5iZiI6MTcyNDU0MzA0MiwicGF0aCI6Ii84NjUzNzM3MS8yNTIxNjE1NzQtODAwMDU3ZDMtMTkzOS00MDU2LTgxMTItNzFjYTE0MDg4YTMyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDIzNDQwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWY3NTVkM2IwZjk3ZmEyZWUzNDRjM2Q0ODI3MmYwMjAzNGJlZWE1ZGU1Yjk5N2ZlZmU4MjU3NjY3NzE4ZTg2ODAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.9Ww910uYZvyBpaxD5AzuGokFu9rNgOCMAb6-pWlLa8k)
Follow the directions:
- Click the "upload" button.
- Choose an image of a plant from your files.
- Click open. Wait a few seconds and the model should return a result!
![Screenshot 2023-07-09 at 11 12 09 AM](https://private-user-images.githubusercontent.com/86537371/252161700-a7236651-9ccf-4a75-9671-6446a3caeb9c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ1NDMzNDIsIm5iZiI6MTcyNDU0MzA0MiwicGF0aCI6Ii84NjUzNzM3MS8yNTIxNjE3MDAtYTcyMzY2NTEtOWNjZi00YTc1LTk2NzEtNjQ0NmEzY2FlYjljLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI0VDIzNDQwMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM5MzFkN2RlYmNmMjAyMjY3YjMyNTllMWE1YTM5N2Y4NGVjMjE3ZTBjY2MxMzM4YTVjOWI0MGNhZWNkOGRiZjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.es9fYy-TUIIzWxHX8QFQg4OClyPyE40jP3xXwjWXz6g)
This model is not super accurate. It varies from around 60-80% accuracy. Unfortunately, we did not have enough time to improve the accuracy of the model or include additional features such as validation data. In the future, we also wanted to create an iOS application that can implement this model.
The dataset we used can be found on Kaggle: https://www.kaggle.com/datasets/sandramai/poisonous-plants
We modified it slightly to remove the categories. We merged all the poisonous plants (oak, ivy, and sumac) into one folder.