The Russian system of automatic number plate recognition
Branch: master
Clone or download
Latest commit 5fdb687 May 22, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
runtime_data Fix bugs, add exeption Aug 26, 2015
src Fix spaces Aug 26, 2015
test_Images Fixing for unix platforms Aug 23, 2016
.gitattributes Initial Jul 6, 2014
.gitignore Initial Jul 6, 2014
LICENSE Initial Jul 6, 2014
README.md Update README.md Aug 23, 2016

README.md

ANPR System: The Russian system of automatic number plate recognition

####Dependencies

  • OpenCV >= 2.4.9
  • leptonica >= 1.71
  • Tesseract OCR >= 3.02

####Build (Ubuntu)

  • Build dependencies
sudo add-apt-repository --yes ppa:xqms/opencv-nonfree
sudo apt-get update
sudo apt-get install build-essential cmake git libgtk2.0-dev pkg-config libavcodec-dev libavformat-dev libswscale-dev libopencv-dev libtesseract-dev libleptonica-dev  liblog4cplus-dev libcurl3-dev libopencv-nonfree-dev
  • Getting last build and setuping
cd ~/<my_working _directory>
git clone https://github.com/hardkun/Russian_System_of_ANPR.git
cd Russian_System_of_ANPR/
sudo cp -v runtime_data/tessdata/* /usr/share/tesseract-ocr/tessdata
sudo cp -v runtime_data/haarcascade_russian_plate_number.xml src/
sudo cp -v runtime_data/haarcascade_russian_plate_number_symbol.xml src/
  • Building app
g++ *.cpp  -l:libopencv_core.so.2.4.9 -l:libopencv_highgui.so.2.4.9  -l:libopencv_video.so.2.4.9  -l:libopencv_calib3d.so.2.4.9  -l:libopencv_contrib.so.2.4.9  -l:libopencv_features2d.so.2.4.9  -l:libopencv_flann.so.2.4.9  -l:libopencv_gpu.so.2.4.9  -l:libopencv_imgproc.so.2.4.9  -l:libopencv_legacy.so.2.4.9  -l:libopencv_ml.so.2.4.9  -l:libopencv_nonfree.so.2.4.9  -l:libopencv_objdetect.so.2.4.9  -l:libopencv_ocl.so.2.4.9  -l:libopencv_photo.so.2.4.9   -l:libopencv_stitching.so.2.4.9  -l:libopencv_superres.so.2.4.9  -ltesseract -llept -std=c++11 -o rusalpr
  • Run app
./rusalpr path/to/image

####Screenshot

Gittip Gittip Gittip Gittip Gittip Gittip