Giter Site home page Giter Site logo

yolo_v3_object_detection's Introduction

Yolo v3 Object Detection in Tensorflow

Yolo v3 is an algorithm that uses deep convolutional neural networks to detect objects.

Getting started

Prerequisites

This project is written in Python 3.6.6 using Tensorflow (deep learning), NumPy (numerical computing), Pillow (image processing), OpenCV (computer vision) and seaborn (visualization) packages. I will be using anaconda to install all the library.

conda env create -f enviroment.yaml

Downloading official pretrained weights

Let's download official weights pretrained on COCO dataset.

!wget -P weights https://pjreddie.com/media/files/yolov3.weights

Save the weights in Tensorflow format

Save the weights using load_weights.py script.

python load_weights.py

Running the model

Now you can run the model using detect.py script. Don't forget to set the IoU (Intersection over Union) and confidence thresholds.

Usage

python detect.py <images/video> <iou threshold> <confidence threshold> <filenames>

Images example

Let's run an example using sample images.

python detect.py images 0.5 0.5 data/images/bali_street.jpg

Then you can find the detections in the detections folder.

python detect.py video 0.5 0.5 data/video/Street.mp4

The detections will be saved as detections.mp4 file.

To-Do List

  • Model training in GPU

Acknowledgments

yolo_v3_object_detection's People

Contributors

asmedeus998 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.