Coder Social home page Coder Social logo

hefv57 / tensorflow-simple-object-detection Goto Github PK

View Code? Open in Web Editor NEW

This project forked from edlectrico/tensorflow-simple-object-detection

0.0 1.0 0.0 32.28 MB

A simple image-based object detection tensorflow app in Python

Python 100.00%

tensorflow-simple-object-detection's Introduction

Tensorflow-simple-object-detection

A simple image-based object detection tensorflow app in Python Originally forked from here.

Instructions:

Install Python

In my case, I have installed Python 3.6.2 via Anaconda. If you want to do that (which I recommend), download the corresponding installer from Anaconda's website.

Download Tensorflow

Select your OS and install Tensorflow following the installation guide. I have installed the Ubuntu TensorFlow with CPU support via pip install.

Download object_detection and put it in the tensorflow installation dir

The object_detection module from Tensorflow is not installed by default. You should download it from the Tensorflow Github repo and place it in the Tensorflow home directory. Clone or download this repo, extract the object_detection folder, and place ir in <PATH_TO_YOUR_TF>/models.

If you're wondering where your Tensorflow installation is, try this (if you've installed it via pip):

pip show tensorflow

To make object_detection libs available, do this in Python:

import sys
sys.path.append('<PATH_TO_TENSORFLOW>/models')
sys.path.append('<PATH_TO_TENSORFLOW>/models/slim')
from object_detection.utils import label_map_util 
from object_detection.utils import visualization_utils as vis_util

If you installed Python through Anaconda, the <PATH_TO_TENSORFLOW> will look like /home/<YOUR_USER>/anaconda3/lib/python3.6/site-packages/tensorflow.

Install dependencies

Make sure that you have downloaded moviepy and ffmpeg for image processing.

pip install moviepy
sudo apt-get install ffmpeg

Run

python tf_simple_object_detection.py

tensorflow-simple-object-detection's People

Contributors

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