Code Monkey home page Code Monkey logo

ai_ml_book_chapter's Introduction

Object Detection on images using YOLO

YOLO (You Only Look Once) is a very powerful and a fast algorithm in object detection. A strong understanding of the algorithm is essential before we start to code.

Some important papers to start with -

There are three papers you need to go through (Maybe difficult to understand initially, but worth reading it)

We are going to use YOLO v3 for our coding purpose in this repository.

Before going to code, we need to download some important YOLO files. It's the folder that's present in this repository as yolo-coco

The three files that needs to be downloaded are -

Download these files and save it inside a folder. Name the folder anything you wish, but I have named it as yolo-coco just because of the fact that we are going to use the coco dataset objects.

Test images are there in Images Folder . You can test with your images by putting it into the Images Folder

The yolo.py has the script to detect the objects in the images.

Make sure you have numpy and opencv installed. If not install them using pip

pip install numpy opencv-python gtts playsound

I am using the numpy version 1.17.4 and opencv version 3.4.2

You can now run the file by giving this command on your command promt

cd "Object-Detection-on-images-using-YOLO"
python yolo.py --image images/person-2.webp

You can use any image you want after the --image argument. Make sure you give the right path.

Press q to quit the window of the image showing object detection

Feel free to star โญ this repo if you find this useful and visit my YouTube channel if you have time.

Thanks!

ai_ml_book_chapter's People

Contributors

sidjain1387 avatar siddhantjain556 avatar

Watchers

 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.