Traffic signs recognition. Part5. How to recognize traffic sign from video.

06.07.2017
By
Traffic signs recognition. Part5. How to recognize traffic sign from video.

After all steps we need to combine trained RNN to real application which will recognize traffic signs from video stream. Lets’s do it. Python program: #!/usr/bin/env python ''' traffic signs detection with trained RNN traffic_ru_v1.pb USAGE:     ts_detect_2.py ''' # Python 2/3 compatibility from __future__ import print_function from __future__ import division # for...

Read more »

Traffic signs recognition. More simple RNN. Part4.

02.07.2017
By
Traffic signs recognition. More simple RNN. Part4.

There is more simple architecture of RNN with tensorflow but result on russian traffic dataset is bad (about 70% of recognized images with 100000 epoch – training time – about 15 hours). Anyway I will show python program for information.  """ modification of traffic_ru dataset with image preprocession (make YUV mormalized images) from http://jokla.me/robotics/traffic-signs/...

Read more »

Traffic signs recognition. Training RNN and checking result. Part3.

01.07.2017
By
Traffic signs recognition. Training RNN and checking result. Part3.

We have prepared all necessary files after implementation of part 1 and part 2 works. Lets start procedure of learning with tensorflow. TF model part taken at this link (Jiovanny Claudio). Jiovanny gave very good explanation of Tensorflow model which have used for deep learning. I have made some corrections in model for correct...

Read more »

Traffic signs recognition. Preparing russian dataset for learning. Part 2.

30.06.2017
By
Traffic signs recognition. Preparing russian dataset for learning. Part 2.

I have described bad attempts to train RNN with Russian Traffic dataset before – here for example. To solve this problem first I have sorted all images into classes to it’s own directory and found that quality of images is very bad: 1. there is a lot of images which can’t recognize by human...

Read more »

Traffic signs detection (Python, OpenCV, Tensorflow). Approaches and possible solutions. Part 1.

17.06.2017
By
Traffic signs detection (Python, OpenCV, Tensorflow). Approaches and possible solutions. Part 1.

There is some approaches how to detect traffic signs (TS) at the image (some info available here and here - (thanks to Miki) and here): 1. Color-based detection 2. Shape-based detection 3. Pattern detection and recognition Colors at the image could be different – depends of quality, camera sensor, backligth etc. If You want to use...

Read more »

Tensorflow+Android Studio (demo example)

17.06.2017
By
Tensorflow+Android Studio (demo example)

Tensorflow has very good example how to use pretrained model with Android devices. https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android   Only choose Your machine environment and demo example will be installed. I have Android Studio with standart Gradle project. Thats why need only copy this folder (/tensorflow/examples/android) from tensorflow github batch to my folder with Android workspaces. after tha need...

Read more »