*Introduction
• Y/T(Yard Trailer) Y/T(Yard Trailer) number identification solution using image processing. • The solution using camera is easy to installation and maintance compare to the RFID. And It is more free from distance constraint.
• Machine learning methods - SVM (Support Vector Machine), MLP (Multi Layers Perceptron) are used to recognize the number ID
• A high-speed image processing through the GPU parallel programming
*Real-time pre-processing for features extraction
• The process of preprocessing for ID number extraction -In the first step, we apply different filters, morphological operations, contour algorithms, and validations to retrieve those parts of the image that could have targeted region.
-Especially, we targeted to detect a ventilating opening instead of number ID, because that target is less shape change than the 3 characters of number ID.
*Vehicle Identification
• HOG(Histogram of gradient) feature extraction and SVM machine learning to detect a ventilating opening
• Each segmented character is to extract the features for training and classifying the MLP algorithm
• The feature is horizontal, vertical histogram values from 5x5 low resolution image.
*Experiment
• Recognition rate over the 95% • Detection speed about 0.05 sec/frame (Image size : 1280x720, Intel® core™ i5-3570 cpu 3.40GHz, NVIDIA Geforce GTX 650)
• The trailer enter speed about 20~30 km/h
*Youtube
http://www.youtube.com/watch?v=Pb_Fb_qmWQ8
http://www.youtube.com/watch?v=zIQgcdYpKxE
http://www.youtube.com/watch?v=CJquqkspyvQ
http://www.youtube.com/watch?v=KDA7i_6yw9w
http://www.youtube.com/watch?v=qI-0LyO6ovg
http://www.youtube.com/watch?v=kK79Sughqt4
http://www.youtube.com/watch?v=2y32CJjRUV0
http://www.youtube.com/watch?v=OC7Wo0Wz-tM
http://www.youtube.com/watch?v=oIXS2P362p0
http://www.youtube.com/watch?v=TpWqLU01yeY
http://www.youtube.com/watch?v=HmXZaUiJjj8
base on images
https://youtu.be/qEbfROk14-o
///
http://www.youtube.com/watch?v=Pb_Fb_qmWQ8
http://www.youtube.com/watch?v=zIQgcdYpKxE
http://www.youtube.com/watch?v=CJquqkspyvQ
http://www.youtube.com/watch?v=KDA7i_6yw9w
http://www.youtube.com/watch?v=qI-0LyO6ovg
http://www.youtube.com/watch?v=kK79Sughqt4
http://www.youtube.com/watch?v=2y32CJjRUV0
http://www.youtube.com/watch?v=OC7Wo0Wz-tM
http://www.youtube.com/watch?v=oIXS2P362p0
http://www.youtube.com/watch?v=TpWqLU01yeY
http://www.youtube.com/watch?v=HmXZaUiJjj8
base on images
https://youtu.be/qEbfROk14-o
///
#include < stdio.h>
#include "ShinPortOCR.h"
void main()
{
ShinPortOCR cShinPortOCR;
//printf("μ°μμΌλ‘ μ½μ μ΄λ―Έμ§ νμΌ κ°―μ? (ex:10 -> ./data/1.jpg, ./data/2.jpg ... ./data/10.jpg) \n");
printf("How many images do you want to test? (ex:100, 500, 1630\n");
int num;
scanf_s("%d", &num);
int p = 0, n = 0;
char str[100];
for (int i = 0; i< num; ++i)
{
printf("%d/%d\n", i, num);
sprintf_s(str, "./data/%d.jpg", i + 1);
Mat inImg = imread(str, 1);//, CV_LOAD_IMAGE_GRAYSCALE);
Mat OutImg;
if (cShinPortOCR.GoGoXing(inImg, OutImg, 1) == -111) //1 is debug print, 0 is no dubug out
{
sprintf_s(str, ".\\Log\\fail\\%d.jpg", i + 1);
imwrite(str, inImg);
}
else{
sprintf_s(str, ".\\Log\\success\\%d.jpg", i + 1);
imwrite(str, inImg);
}
sprintf_s(str, ".\\Log\\processing\\%d.jpg", i + 1);
imwrite(str, OutImg);
imshow("result", OutImg);
waitKey(10);
}
}
Source code is here
https://github.com/MareArts/Container-Yard-Trailer-ID-number-recognition
you can down opencv dll/lib/header files on here
opencv 249 64bit cuda 60
https://www.amazon.com/clouddrive/share/7bPR5HgbCbNZJHwG0ldq1gwHtydLXRxtQVYc5JYPlSF?ref_=cd_ph_share_link_copy



No comments:
Post a Comment