CPC G06V 20/586 (2022.01) [G06V 20/588 (2022.01); G08G 1/147 (2013.01); G08G 1/148 (2013.01)] | 16 Claims |
1. A parking detection method, comprising:
acquiring an image to be detected;
acquiring projection area information of a vehicle on a ground according to vanishing points and a vanishing line of parking lines in the image to be detected in combination with outline key points of the vehicle in the image to be detected; and
judging whether the vehicle is parked regularly,
wherein acquiring the projection area information of the vehicle on the ground according to the vanishing points and the vanishing line of the parking lines in the image to be detected in combination with the outline key points of the vehicle in the image to be detected comprises:
determining the parking lines in the image to be detected, determining the vanishing points and the vanishing line of the parking lines according to the parking lines, and detecting visible outline key points of the vehicle in the image to be detected; and
determining the projection area information of the vehicle on the ground according to the visible outline key points of the vehicle and the vanishing line,
wherein determining the projection area information of the vehicle on the ground according to the visible outline key points of the vehicle and the vanishing line comprises:
determining vanishing points of the vehicle according to the visible outline key points of the vehicle and the vanishing line, and determining blocked outline key points of the vehicle in the image to be detected according to the vanishing points of the vehicle; and
obtaining the projection area information of the vehicle on the ground according to the visible outline key points of the vehicle and the determined blocked outline key points of the vehicle.
|