# Deep ANPR
Using neural networks to build an automatic number plate recognition system.
See [this blog post](http://matthewearl.github.io/2016/05/06/cnn-anpr/) for an
explanation.
**Note: This is an experimental project and is incomplete in a number of ways,
if you're looking for a practical number plate recognition system this project
is not for you.** If however you've read the above blog post and wish to tinker
with the code, read on. If you're really keen you can tackle some of the
enhancements on the Issues page to help make this project more practical.
Please comment on the relevant issue if you plan on making an enhancement and
we can talk through the potential solution.
Usage is as follows:
1. `./extractbgs.py SUN397.tar.gz`: Extract ~3GB of background images from the [SUN database](http://groups.csail.mit.edu/vision/SUN/)
into `bgs/`. (`bgs/` must not already exist.) The tar file (36GB) can be [downloaded here](http://vision.princeton.edu/projects/2010/SUN/SUN397.tar.gz).
This step may take a while as it will extract 108,634 images.
2. `./gen.py 1000`: Generate 1000 test set images in `test/`. (`test/` must not
already exist.) This step requires `UKNumberPlate.ttf` to be in the
`fonts/` directory, which can be
[downloaded here](http://www.dafont.com/uk-number-plate.font).
3. `./train.py`: Train the model. A GPU is recommended for this step. It will
take around 100,000 batches to converge. When you're satisfied that the
network has learned enough press `Ctrl+C` and the process will write the
weights to `weights.npz` and return.
4. `./detect.py in.jpg weights.npz out.jpg`: Detect number plates in an image.
The project has the following dependencies:
* [TensorFlow](https://tensorflow.org)
* OpenCV
* NumPy
Different typefaces can be put in `fonts/` in order to match different type
faces. With a large enough variety the network will learn to generalize and
will match as yet unseen typefaces. See
[#1](https://github.com/matthewearl/deep-anpr/issues/1) for more information.
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
<项目介绍> 该资源内项目源码是个人的课程设计作业,代码都测试ok,都是运行成功后才上传资源,答辩评审平均分达到94.5分,放心下载使用! 1、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 2、本项目适合计算机相关专业(如计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载学习,也适合小白学习进阶,当然也可作为毕设项目、课程设计、作业、项目初期立项演示等。 3、如果基础还行,也可在此代码基础上进行修改,以实现其他功能,也可用于毕设、课设、作业等。 下载后请首先打开README.md文件(如有),仅供学习参考, 切勿用于商业用途。 -------- ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
资源推荐
资源详情
资源评论
收起资源包目录
Tensorflow_CNN_ANPR-master.zip (21个子文件)
Tensorflow_CNN_ANPR-master
deep-anpr
predict.sh 247B
vis.py 2KB
pritice
.test.py.swp 12KB
test.py 239B
SUN397.tar.gz 10.16MB
util.py 858B
extractbgs.py 3KB
LICENSE 1KB
predict.py 2KB
detect.sh 254B
model.py 5KB
common.py 2KB
train.sh 238B
gen.py 9KB
detect.py 7KB
train.py 9KB
README.md 2KB
fonts
uk-number-plate.font 0B
UKNumberPlate.ttf 72KB
.gitignore 1KB
README.md 58B
共 21 条
- 1
资源评论
- 从容待梦2023-11-29感谢资源主的分享,很值得参考学习,资源价值较高,支持!
机智的程序员zero
- 粉丝: 2265
- 资源: 4309
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功