这个一个Python课程实验项目,完整的实现了车牌识别、控制车辆放行、通过Web管理方式管理等功能
涉及到的技术:
TensorFlow
训练中文省份简称以及数字字母Arduino
+超声波距离传感器+摄像头+控制电机Flask
后台管理
宋晨明等
.
├── lpr # 车牌识别模块
│ ├── cap_img
│ ├── capture.py # 获取车辆图片?
│ ├── iot # Internet of thing?
│ ├── process # 车牌识别中的字符分割与识别模块
│ │ ├── characterSegmentation.py
│ │ ├── images
│ │ ├── __init__.py
│ │ ├── licensePlateLocation.py
│ │ └── __pycache__
│ ├── sonar_read.py # arduino 控制处理程序
│ ├── test.jpg
│ ├── test.py # 车牌识别的一个简单测试例子
│ └── train_model # 车牌识别中的训练模型模块
│ ├── cnn_chinese.py
│ ├── cnn_engLetter.py
│ ├── cnn_later.py
│ ├── __init__.py
│ ├── model
│ ├── __pycache__
│ ├── readmodel.py
│ └── train
├── readme.md
└── web # web管理模块
├── aliyunsdkdysmsapi # 阿里云短信API的SDK
│ ├── __init__.py
│ └── request
├── config.py # flask应用的相关配置,例如数据库信息
├── decorate.py
├── example # 阿里云短信API的简易封装,方便在程序中调用
│ └── demo_sms_send.py
├── exts.py
├── manage.py
├── migrations
│ ├── alembic.ini
│ ├── env.py
│ ├── README
│ ├── script.py.mako
│ └── versions
├── models.py
├── plate_app.py # flask主程序文件
├── requirements.txt
├── static
│ ├── css
│ ├── images
│ └── js
├── templates
│ ├── base.html
│ ├── bind.html
│ ├── index.html
│ ├── login.html
│ ├── my_info.html
│ └── regist.html
└── untils.py
- git clone https://github.com/cmFighting/plate_vision
- cd plate_vision
- cd web
- pip install -r requirements.txt # flask 相关依赖库
- python plate_app.py
- cd lpr
- pip install -r requirements.txt # 安装tensorflow、numpy、opencv 相关依赖库
- cd lpr/train_model
- python cnn_chinese.py
- python cnn_engLetter.py
- python cnn_later.py
- cd lpr
- python test.py
- 整理代码结构
- 完善相关文档资料
- 优化代码结构
敬请期待
MIT