Giter VIP home page Giter VIP logo

operation-blossom's Introduction

Operation Blossom

You are taking a casual, brisk morning walk when suddenly you saw a beautiful flower that almost made you trip over yourself trying to take a second look. You are fascinated with the flower but you do not know what type it is. This is when you Blossom!

Blossom is a computer vision app where you can upload a picture of a flower and it will tell you what flower it is and few fascinating facts about it. Also for those computer vision nerds (like ourselves), we show results of two popular computer vision architectures, Convolutional Neural Networks and Vision Transformers, each showing their respective results.

The minimum viable product for Blossom is it can classify a flower into 5 categories: daisy, sunflower, dandelion, rose, tulip.

How to Run it Locally

  1. Clone the Repository
git clone [email protected]:Biased-Outliers/operation-blossom.git
  1. Create a Virtual Environment and activate it (Recommended)
python3 -m venv VIRTUAL_ENVIRONMENT_NAME
source VIRTUAL_ENVIRONMENT_NAME/bin/activate
  1. Go into the cloned repository sabi-sands while in your virutal environment
cd operation-blossom
  1. Install the necessary requirements
pip install -r requirements.txt
  1. Run Operation Blossom locally
streamlit run Home.py

Blossom's Architecture

As of now, Blossom utilizes two different computer vision architectures: Convolutional Neural Networks (ConvNets) and Vision Transformers (ViT). For the ConvNets, we transfered the ResNet50 model using the Tensorflow API and retrained it to fit our flower classification. For the ViT, we transfered the google/vit-base-patch16-224 model using the HuggingFace API and retrained it to also fit the flower classification. The ViT trained model can be found here: Blossom ViT. The results for both architecture are displayed in the Streamlit app for those who are curious.

TechStack

Resources

To Do's

  • Add details of the predicted flower
  • Add more images for training
  • Expand the classification to more flower species
  • Add ability to upload multiple pictures and predict them all
  • Implement GRAD CAMs

operation-blossom's People

Contributors

tqrahman avatar lucifermorningstar1305 avatar

Watchers

 avatar Ren  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.