The invention discloses an empty parking space batch detection method and system based on deep learning, and belongs to the technical field of deep learning. Comprising the following steps: S1, carrying out image binarization negation on a parking space area of a to-be-detected image to generate a first image; s2, obtaining position information of all vehicles in the real-time image by using a target detection algorithm to generate a second image; s3, performing image AND operation to obtain a third image; s4, carrying out contour extraction on the third image, judging whether the ratio of the contour area to the area of the corresponding parking space area exceeds a set value or not, if not, deleting the parking space area, and if yes, judging that a vehicle is in the parking space area, and obtaining a fourth image; and S5, calculating the number of empty parking spaces and a parking space parking image based on the center point coordinate and the first image. The technical scheme has the beneficial effects that the parking space map can be automatically generated, manual operation is not needed, various vehicle types can be identified, the accuracy is high, a large amount of algorithm running time is saved, and the real-time performance is high.
本发明公开了一种基于深度学习的空车位批量检测方法及系统,属于深度学习技术领域;包括步骤S1,对待测图像的车位区域使用图像二值化取反生成第一图像;步骤S2,使用目标检测算法得到实时图像中全部车辆的位置信息生成第二图像;步骤S3,进行图像与运算得到第三图像;步骤S4,对第三图像进行轮廓提取,判断轮廓面积与对应的车位区域面积占比是否超过设定值,如果否,则删除车位区域,如果是,则判定车位区域上有车,得到第四图像;步骤S5,基于中心点坐标和第一图像计算得到空车位个数以及车位停放图像。上述技术方案的有益效果是:能够自动生成车位地图,无需人工操作,能够识别多种车型,准确率高,节约了大量的算法运行时间,实时性高。
Deep learning-based empty parking space batch detection method and system
一种基于深度学习的空车位批量检测方法及系统
2024-12-03
Patent
Electronic Resource
Chinese
IPC: | G08G Anlagen zur Steuerung, Regelung oder Überwachung des Verkehrs , TRAFFIC CONTROL SYSTEMS |
LoRaWAN-based parking lot empty parking space acquisition method and device
European Patent Office | 2023
|Empty parking space recommendation method suitable for autonomous parking in parking lot
European Patent Office | 2024
|