Asked — Edited
Resolved Resolved by ptp!

Darknet / Yolo Real-Time Object Detection

DJ and Team,

Have you seen the TensorFlow / Darknet / YOLO Real-time Object Detection videos? A friend of mine has implemented it on his PC and OMG, it is the fastest and most accurate object identification software that I have ever seen. It is light years beyond Open CV. And the best part is that like Open CV, it is also open source. It is a neural network program which it runs on Windows (and Linux).

TED Talk: https://www.youtube.com/watch?v=Cgxsv1riJhI

Have you ever thought of adding this to ARC?

Thomas Messerschmidt

User-inserted image

Object detection/recognition


ARC Pro

Upgrade to ARC Pro

Get access to the latest features and updates before they're released. You'll have everything that's needed to unleash your robot's potential!

#1  

This looks absolutely amazing. Thanks for sharing Thomas!

PRO
Synthiam
#2  

Here you go - this is the robot program episode on training and recognizing objects in real-time. Find more activities in the learn section of this website. Locate the top menu and press the LEARN button, then select your ezrobot product. have fun!:)

Full link: https://synthiam.com/Tutorials/Lesson/106

PRO
Canada
#3  

Let the YOLO vs SSD vs RCNN games begin.
If we are starting a requirements list for Ez-B 5.0 a GPU for Edge AI. AMD or Nvidia on board would be cool.

#4  

I finally got my YOLO2/TensorFlow implementation running!

It is amazing in how accurate it is, even in bad light and weird angles. I think they call that "deep learning". YOLO ("You Only Look Once") is a faster way of doing vision processing. It uses TensorFlow They say you can get it to process 20-40 frames per second from live video feed with a GPU. I don't get so many with my old laptop, but it works well enough for my purposes.

Wiki says, "TensorFlow is (Google's) open-source software library... It is...used for machine learning applications such as neural networks. It is used for both research and production at Google."

It runs kind of slow on my old windows 7 laptop. It really needs a graphics processor unit board (GPU) to do its best work. I'll have to put "a new computer with a fast GPU" on my shopping list.:D

YOLO2 is a real pain to install. A lot of the online tutorials/instructions are out of date or assume you know most of everything that they do. Still, once you get the applications installed (python, Atom, tensorflow, OpenCV), the rest is relatively easy. There were a few "gotchas", but nothing that 10 or 20 hours of combing the internet couldn't solve! LOL!

I will be putting up a youtube video in a few days (weeks?) that shows how I did it.

I will probably write an ARC skill plugin as well, but I really don't know where to start with the plugin.

#5  

Glad to hear you've got it working! I'm very interested in YOLO and what it could achieve in our robots!

Really looking forward to that video of yours, would be great to see how it was done and maybe some samples of YOLO in action.

#6  

@thomasfromla sweet...looking forward to see what you accomplished! Seems like there are a few version of YOLO out there which do have a limited training set...which gives better results if computing power is limited!

Good job!:)

#7  

Thanks!

When I make that video, please let me know if I skip a step or get something wrong.

It will probably be this weekend.

Thanks,

Thomas

PRO
USA
#8  

@thomasfromla:

Quote:

It uses TensorFlow They say you can get it to process 20-40 frames per second from live video feed with a GPU.
Yolo is not based neither is related to the Tensorflow.

YOLO: (You only look once) is a system for detecting objects, works on top of the Darknet framework. https://github.com/pjreddie/darknet/wiki/YOLO:-Real-Time-Object-Detection

Darknet: Darknet is an open source neural network framework written in C and CUDA. It is fast, easy to install, and supports CPU and GPU computation. https://pjreddie.com/darknet/

Tensorflow: https://en.wikipedia.org/wiki/TensorFlow

You can see object detection results using Tensorflow and Yolo: https://synthiam.com/Community/Questions/10279

I've compiled both on Windows: Tensorflow took me 4 hours and a lot of memory and disk. Yolo is straightforward although i get some random crashes.

Loading...