【文件属性】:
文件名称:car_brand_detection:使用Python(3.6)和OpenCV进行汽车品牌检测
文件大小:80.08MB
文件格式:ZIP
更新时间:2021-05-02 13:01:18
python recognition detection object-detection object-recognition
car_brand_detection
汽车品牌检测是使用Python 3.6和OpenCV开发的。 Haarcascade数据集是使用本地导入的图像创建的。
创建训练级联所需的操作:
opencv_createsamples -img example.jpg -bg bg.txt -info info/info.lst -pngoutput info -maxxangle 0.5 -maxyangle -0.5 -maxzangle 0.5 -num 880
生成正图像所需的info.lst是使用背景图像创建的。
-img [图像]->用于创建正面图像的主图像。
-bg bg.txt-> txt,其中包含图像的文件位置和名称(例如:neg / 1.jpg)
-info info / info.lst->该文件将包含作为操作结果而创建的图像信息(对象编号,x坐标,y坐标,宽度,