You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.3 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

author:刘成魁 10225101470
为方便查看ECNU 校园卡检测分为两个程序,分别是常规方法实现及基于 yolov5 的轻量化模型实现
运行程序请运行各自目录下的 window.py 文件
school_card_detect 文件夹下为常规数字图像处理,用于完成任务 12可实现校园卡检测支持图片检测视频检测及摄像头实时检测其中用到的数字图像处理知识点有
高斯滤波:用于减少噪声和增强主要结构。
边缘检测:使用 Canny 边缘检测来识别图像中的边缘。
掩膜操作:通过颜色阈值来创建掩膜,用于提取特定颜色区域。
开运算:用于去除噪声和小区域。
闭运算:用于连接轮廓线
轮廓检测:检测图像中的轮廓并找到最佳轮廓。
最小外接矩形:计算轮廓的最小外接矩形及其角度。
仿射变换:用于旋转图像。
图像缩放:调整图像大小以适应处理需求。
图片加载及保存
yolov5_school_card_detect:是基于 yolov5 训练的轻量化校园卡检测模型,其功能可以实现华东师范大学校园卡检测,学号检测,以及人脸检测,支持图片检测,视频检测及摄像头实时检测。用于完成任务 3
数据集在该其文件夹下的 score 目录,详细信息在其文件夹下的 README.md 文件中