Skip to content

一个简单的车牌定位软件,用VS+OpenCV+Qt开发

License

Notifications You must be signed in to change notification settings

DrDiver/License-Plate-Location

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 

Repository files navigation

License-Plate-Location

一个简单的车牌定位软件,用VS+OpenCV+Qt开发

一、开发环境

Visiual Studio 2017

OpenCV 3.4.13

Qt 5.14.2

p0 (2)

二、实现过程

1.颜色识别

p01

2.边缘识别

p02

三、轮廓判断 1.OpenCV坐标系和Rect类

OpenCV坐标系x轴水平向右为正,y轴垂直向下为正;

Rect类返回四个角点,其中P[0]为顶点中x值最小的点,顺时针旋转,依次为P[1],P[2],P[3];

Rect类从P[0]顺时针旋转碰到的第一条边为width(宽),另一条边为height(高);

其中width与x轴的夹角为返回的角度angle,取值范围为0-90°(角度制)。

About

一个简单的车牌定位软件,用VS+OpenCV+Qt开发

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages