GithubHelp home page GithubHelp logo

zhubenfu / license-plate-detect-recognition-via-deep-neural-networks-accuracy-up-to-99.9 Goto Github PK

View Code? Open in Web Editor NEW
1.4K 1.4K 327.0 361.86 MB

works in real-time with detection and recognition accuracy up to 99.8% for Chinese license plates: 100 ms/plate

C++ 86.51% C 0.10% Cuda 8.77% CMake 1.91% Batchfile 0.03% Python 2.62% Shell 0.06%

license-plate-detect-recognition-via-deep-neural-networks-accuracy-up-to-99.9's People

Contributors

zhubenfu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

license-plate-detect-recognition-via-deep-neural-networks-accuracy-up-to-99.9's Issues

runtime error under Linux.

PNet_.reset(new Net((proto_model_dir+"/det1.cfg"), TEST));
PNet_->CopyTrainedLayersFrom(proto_model_dir+"/det1.weights");
on the branch linux-cmake, it compiles smoothly.
However when I try to run it. I met an error of not finding det1.cfg and det1.weights?
det1.cfg和det1.weights不找到。
Please upload the files or tell me how to solve it.
thank you.

mtcnn的训练方法

请问有mtcnn的训练步骤方法吗,只看到Adaboost的博客链接,可以分享一下吗

The code is dirty and failed to build

After spent serval days of reading your code, I find it very dirty and the resposity is more than 700M! So it takes long time to download and update.
I notetice you have modified some code from the original MTCNN, can you add some comments on these code? And what's the modification of caffe layers?
I don't think it a good practice to package lots of dlls in the resposity. Anyway, thanks for your sharing.

How to build and use?

Your project looks very great, but there's no useful guide to build it.
I have read the code, but cannot find model_platecar of mtcnn detector model. Any suggestion?

I test the linux version but get wrong result.How can I get right reuslt?

the input is
./build/bin/ocr_test -ds=/home/daming/Work/Pytorch/LPR/TaiWanData/1 -mnd=/home/daming/Work/Pytorch/LPR/LPRMTCNN/src/ocr_test/model_platecar -pmd=/home/daming/Work/Pytorch/LPR/LPRMTCNN/src/ocr_test/plateCard_test
0 /home/daming/Work/Pytorch/LPR/TaiWanData

0384159482759-87_93-367&427_654&550-656&527_369&554_379&441_666&414-0_0_13_19_33_27_24-95-81.jpg
detector point 224.399368,363.916168 671.017761,263.650604 667.478333,568.336975 229.654694,683.795410
cost: 17.7248 (ms) detect plate region (0, 0) (720 x 1160) with confidence 0.000000, predict plate 桂SE5

but the detector point is wrong.How can i get right result

cmake Error on Linux

[root@greenet build]# cmake -DBLAS=open ..
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /bin/cc
-- Check for working C compiler: /bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /bin/c++
-- Check for working CXX compiler: /bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at cmake/Misc.cmake:32 (set):
implicitly converting 'BOOLEAN' to 'STRING' type.
Call Stack (most recent call first):
CMakeLists.txt:35 (include)
This warning is for project developers. Use -Wno-dev to suppress it.

-- Boost 1.54 found.
-- Found Boost components:
system;thread;filesystem
-- Found Threads: TRUE
-- Found OpenMP_C: -fopenmp (found version "3.1")
-- Found OpenMP_CXX: -fopenmp (found version "3.1")
-- Found OpenMP: TRUE (found version "3.1")
-- Found GFlags: /usr/include
-- Found gflags (include: /usr/include, library: /usr/lib64/libgflags.so)
-- Found Glog: /usr/include
-- Found glog (include: /usr/include, library: /usr/lib64/libglog.so)
-- Found Protobuf: /usr/local/lib/libprotobuf.so;-lpthread (found suitable version "3.8.0", minimum required is "3.0.0")
-- Found PROTOBUF Compiler: /usr/local/bin/protoc
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
-- Found HDF5: /usr/local/anaconda3/lib/libhdf5_cpp.so;/usr/local/anaconda3/lib/libhdf5.so;/usr/lib64/librt.so;/usr/lib64/libpthread.so;/usr/local/anaconda3/lib/libz.so;/usr/lib64/libdl.so;/usr/lib64/libm.so (found version "1.10.2") found components: HL
-- Found LMDB: /usr/include
-- Found lmdb (include: /usr/include, library: /usr/lib64/liblmdb.so)
-- Found LevelDB: /usr/include
-- Found LevelDB (include: /usr/include, library: /usr/lib64/libleveldb.so)
-- Found Snappy: /usr/include
-- Found Snappy (include: /usr/include, library: /usr/lib64/libsnappy.so)
-- -- CUDA is disabled. Building without it...
-- Found CUDA: /usr/local/cuda-10.1 (found suitable exact version "10.1")
-- OpenCV found (/usr/local/share/OpenCV)
-- Found OpenBLAS libraries: /usr/lib64/libopenblas.so
-- Found OpenBLAS include: /usr/include
CMake Error at src/caffe/CMakeLists.txt:21 (target_link_libraries):
The INTERFACE, PUBLIC or PRIVATE option must appear as the second argument,
just after the target name.

PUBLIC/usr/local/boost/includePUBLIC/usr/includePUBLIC/usr/includePUBLIC/usr/local/includePUBLIC/usr/local/anaconda3/includePUBLIC/usr/includePUBLIC/usr/includePRIVATE/usr/includePUBLIC/usr/local/include/usr/local/include/opencvPUBLIC/usr/include
-- Found Git: /bin/git (found version "1.8.3.1")

-- ******************* Caffe Configuration Summary *******************
-- General:
-- Version : 1.0.0
-- Git : unknown
-- System : Linux
-- C++ compiler : /bin/c++
-- Release CXX flags : -O2 -DNDEBUG -std=c++11 -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
-- Debug CXX flags : -g -std=c++11 -fPIC -Wall -Wno-sign-compare -Wno-uninitialized
-- Build type : Release

-- BUILD_SHARED_LIBS : ON
-- BUILD_python : OFF
-- BUILD_matlab : OFF
-- BUILD_docs : OFF
-- CPU_ONLY : ON
-- USE_OPENCV : ON
-- USE_LEVELDB : ON
-- USE_LMDB : ON
-- USE_NCCL : OFF
-- ALLOW_LMDB_NOLOCK : ON

-- Dependencies:
-- BLAS : Yes (open)
-- Boost : Yes (ver. 1.71)
-- glog : Yes
-- gflags : Yes
-- protobuf : Yes (ver. 3.8.0)
-- lmdb : Yes (ver. 0.9.22)
-- LevelDB : Yes (ver. 1.12)
-- Snappy : Yes (ver. 1.1.0)
-- OpenCV : Yes (ver. 3.4.7)
-- CUDA : No

-- Install:
-- Install path : /home/yyh/test/License-Plate-Detect-Recognition-via-Deep-Neural-Networks-accuracy-up-to-99.9-master/build/install

CMake Error at cmake/ConfigGen.cmake:36 (export):
export given target "caffeproto" which is not built by this project.
Call Stack (most recent call first):
CMakeLists.txt:137 (caffe_generate_export_configs)

-- Configuring incomplete, errors occurred!

怎么运行呢

我想在安卓上面试一下效果,能指导一下思路么

License Plates not getting detected successfully.

Hi,
This is an interesting application of mtcnn!

I have tried running the caffemodels on a simple car image , however the plate detection is getting missed after passing 48-net stage. Also faces are getting detected!
Are the following caffemodels for face detection? :-
train_mtcnn_LPR / 12train_wm_lpr /det1.caffemodel
train_mtcnn_LPR / 24train_wm_lpr /det2.caffemodel
If so could you please share the license plate caffemodels?
Also the regressed points are kind of random.
Thank you!

无法在Windows 8.1 Visual Studio 2015 x64 CUDA环境下编译成功(错误代码:MSB3721)

你好,

我想试看楼主代码的效果,但是无法在Windows 8.1 Visual Studio 2015 x64 CUDA环境下编译成功。

所以,无法达到第九步来启动ocr_test.ext进行测试,便已经在VS2015内有MSB3721错误,如下图:
image

我的Project路径在:
_D:\GitHub\ALPR\License-Plate-Detect-Recognition-via-Deep-Neural-Networks-accuracy-up-to-99.9-master\caffe-vsproj_

我的第三方库路径在:
_D:\GitHub\ALPR\License-Plate-Detect-Recognition-via-Deep-Neural-Networks-accuracy-up-to-99.9-master\caffe-vsproj\3rdparty20180726_

Visual Studio 2015 Project Compilation MSB3721 Error Log (在附件内):
Visual Studio 2015 Project Compilation Error MSB3721 Log.txt

想请问这个问题该如何解决呢?

谢谢!

点回归是怎么完成的?

你好,作者,我想知道你的点回归,再最后一层是怎么完成的?刚开始的效果理想吗?训练的时候对于回归的数据是怎么处理的?

环境配置

下载下来后,很多环境需要配置,大佬能给个教程吗?

mtcnn训练

作者您好,很谢谢您开源这个项目,不过有一些不明白,想请问MTCNN您是怎么训练的,ONET训练中需要的landmark点是怎么决定的呢?

微信公众号下载样本问题

我想请教下,车牌数据下载下来文件损失,是不是要所有的样本下载下来一起解压?还是咋回事,有大佬知道吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.