Skip to content

gorpyshortlegs/ComputerVision_AutoLabeler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ComputerVision_AutoLabeler

Automatically labels images for AI model training!


Logo

Automatically Label Computer Vision Dataset

Extremely helpful time saver on certain Computer Vision projects!
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
          <li><a href="#installation">Installation</a></li>
        </ul>
      </li>
      <li><a href="#example">Example</a></li>
      <li><a href="#contributing">Contributing</a></li>
      <li><a href="#license">License</a></li>
      <li><a href="#contact">Contact</a></li>
      <li><a href="#acknowledgments">Acknowledgments</a></li>
      

About The Project

When creating a computer vision model that requires intra-class classification(Ex. identifying species of a dog) majority of time is spent labelling data. This project aims to make that proccess much faster. All you need is a trained model that can recognize the base object(Ex.recognize a dog). Then using Auto Labeller all you need to do is type in names of different subclasses(Ex. German Sheperd) and using webscraping(or a provided dataset) Auto Labeller will automatically add labelled images to your dataset.

Here's why:

  • Your time should be focused on creating something amazing. A project that solves a problem and helps others
  • You shouldn't be doing the same tasks over and over like labelling the same object in each image over and over

Of course, this labeller will only help people using pytorch yolov5 to do intra-class classification. I will be expanding this project to include different model and dataset formats in the future. Thanks to anyone who contributes to this project!

(back to top)

Built With

  1. Python
  2. PyTorch
  3. RoboFlow
  4. Google SerpAPI

(back to top)

Getting Started

Let's get you started!

Installation

  1. Get a free API Key at https://serpapi.com/users/sign_up
  2. Clone the repo
    git clone https://github.com/gorpyshortlegs/ComputerVision_AutoLabeler
  3. Install python packages
    pip install -r requirements.txt
  4. Switch best.pt with your base trained model(model that can recognize target object)

5.Run main.py and type in required info

python3 main.py

(back to top)

Example

Creating a model that can recognize various dog species!


Watch walkthrough video here.

Dog

1.Gather images of a few 100 random dogs (Using google SerpAPI helps speed up this proccess)

2.Label the dog in each image(Using Roboflow or any labelling tool)

Roboflow

3.Use pytorch to train model(Pytorch Github Tutorial)

  1. Get a free API Key at https://serpapi.com/users/sign_up

  2. Clone the repo

    git clone https://github.com/gorpyshortlegs/ComputerVision_AutoLabeler
  3. Install python packages

    pip install -r requirements.txt
  4. Switch best.pt with your trained model weights

8.Run main.py and type in required info

python3 main.py

9.Start entering dog species and watch your dataset grow!

10.Upload dataset to labelling program(like Roboflow ) and tweak labels

11.Train model on new dataset!

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Arhant - arhant7c@gmail.com

Project Link: https://github.com/gorpyshortlegs/ComputerVision_AutoLabeler

(back to top)

Acknowledgments

(back to top)

About

Automatically labels images for AI model training!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages