DEV Community

Cover image for Object Specifier (Yolo-Coco)
Dhrubajyoti Chakraborty
Dhrubajyoti Chakraborty

Posted on • Edited on

1

Object Specifier (Yolo-Coco)

GitHub logo codewdhruv / obj-specifier

AI model to detect objects from a given input picture

Object Specifier

Dataset

The dataset used can be downloaded here - Click to Download

This is ready to use data with weights and configuration along with coco names to detect objects with YOLO algorithm.

Prerequisites

All the dependencies and required libraries are included in the file requirements.txt See here

Installation

  1. Clone the repo
$ git clone https://github.com/dhrubajyoti89/obj-specifier.git
  1. Change your directory to the cloned repo and create a Python virtual environment named 'test'
$ mkvirtualenv test
  1. Now, run the following command in your Terminal/Command Prompt to install the libraries required
$ pip3 install -r requirements.txt

Working

  1. Open terminal. Go into the cloned project directory folder and type the following command:
$ python3 yolo.py --dataset dataset
  1. To detect objects in an image type the following command:
$ python3 yolo.py -i "images/1.jpg" -y "yolo-coco"

Results

Our model gave 81% accuracy for Object Detection after training

Project Demo

Dev Link

Feel free to mail…

Built it using yolo based object detector model. The dataset was made custom using object recognition API and Kaggle datasets of real large datasets of object images(yolo-coco). Used Python script with numpy, argparse, os libraries as the backend.

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a wealth of insights in this thoughtful article, valued within the supportive DEV Community. Coders of every background are welcome to join in and add to our collective wisdom.

A sincere "thank you" often brightens someone’s day. Share your gratitude in the comments below!

On DEV, the act of sharing knowledge eases our journey and fortifies our community ties. Found value in this? A quick thank you to the author can make a significant impact.

Okay