M
M
mr_blaze2018-03-28 17:23:33
Python
mr_blaze, 2018-03-28 17:23:33

How to optimize stream localization of objects in TensorFlow, OpenCV and Python [CLOSED]?

Hello again! In an incomprehensible magical way, I installed OpenCV. I found a guide ( original in English ), everything works well, but there are two problems: 1. localization is sooooo crooked (there are suspicions that this is due to the training set) 5abba257ccbe9608173428.jpeg2. Detection on normal images takes a decent amount of time, 1 - 8 seconds and the process itself eats 1 GB of RAM and loads the processor by 100%! 5abba35693d4f984055991.png!!!
But TensorFlow and OpenCV seem to be written in c++ and very well optimized, and the snake is just a wrapper?
Several questions:

  1. Why is everything so crookedly detected?
  2. Is it possible to implement video processing on Raspbery Pi with these tools, or rather on Orange Pi with 1 GB of RAM and at least 15 - 30 FPS?
  3. How to mono optimize this code?
  4. Are there analogues more adapted for these purposes?
  5. Is c++ needed here?
  6. Are there examples of something like this?

I would be very grateful to those who can answer!
PS The ultimate goal is to control the robot depending on the environment, interaction with other objects (doors, fire extinguishers).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dimonchik, 2018-03-28
@dimonchik2013

you have the answers in your article, see in short,
on other datasets it can be faster, but what you want is in five years

W
WondeRu, 2018-04-03
@WondeRu

Look at Intel Movidius, it's a special device that can be paired with Raspberry. It can significantly increase the recognition speed
https://www.pyimagesearch.com/2018/02/12/getting-s...
Judging by the description, the piece of iron is interesting for its money, but it is only for recognition, you cannot learn the network with it .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question