Parking space detection method, device, electronic equipment and storage medium

By detecting the parking space image and adjusting the processing status, the problem of parking judgment errors caused by abnormal parking space video is solved, and the accuracy of parking status judgment and the automation of the parking charging system are improved.

CN113807209BActive Publication Date: 2024-08-23APOLLO INTELLIGENT CONNECTIVITY (BEIJING) TECH CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202111007029.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-30
Publication Date
2024-08-23
Estimated Expiration
2041-08-30

AI Technical Summary

Technical Problem

Abnormal parking space video leads to incorrect parking judgments and affects the automation of the parking charging system. This mainly includes factors such as bad weather, roadside obstruction, poor lighting at night, lens movement or incorrect preset positions.

Method used

By determining the parking space information and parking space images to be processed, detection is performed to determine the parking space shooting situation, and the processing status of the parking space video is adjusted according to the situation, including alarm prompts and adjusting the detection frequency to improve the accuracy of judgment.

Benefits of technology

When the parking space video is abnormal, the processing status is adjusted in a timely manner, which improves the accuracy of vehicle parking status judgment, reduces erroneous judgments, and enhances the automation level of the parking charging system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113807209B
    Figure CN113807209B
Patent Text Reader

Abstract

The present disclosure provides a parking space detection method, device, electronic device and storage medium, which relate to the field of artificial intelligence technology, specifically to the technical fields of computer vision, intelligent transportation and deep learning. The specific implementation scheme is: determine the parking space information to be processed, and the parking space image corresponding to the parking space information; detect the parking space image to determine the parking space shooting situation corresponding to the parking space information; according to the parking space shooting situation, adjust the processing state of the parking space video corresponding to the parking space information. Therefore, when the parking space video is abnormal, the processing state of the parking space video corresponding to the parking space information can be adjusted in time, thereby improving the accuracy of judging the parking state of the vehicle.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence technology, specifically to technical fields such as computer vision, intelligent transportation and deep learning, and especially to parking space detection methods, devices, electronic equipment and storage media. Background Art

[0002] With the development of my country's economy, the number of vehicles in the market will continue to increase, and the degree of automation of parking fee collection systems is becoming increasingly important. The automatic parking fee collection system mainly charges parking fees for vehicles by video monitoring the status of the vehicle, saving related manpower expenses and improving the convenience of parking fees. Summary of the invention

[0003] The present disclosure provides a method, device, electronic device and storage medium for parking space detection.

[0004] According to one aspect of the present disclosure, a parking space detection method is provided, including: determining parking space information to be processed, and a parking space image corresponding to the parking space information; detecting the parking space image to determine a parking space shooting situation corresponding to the parking space information; and adjusting a processing state of a parking space video corresponding to the parking space information according to the parking space shooting situation.

[0005] According to another aspect of the present disclosure, a parking space detection device is provided, including: a first determination module, used to determine parking space information to be processed, and a parking space image corresponding to the parking space information; a second determination module, used to detect the parking space image and determine the parking space shooting situation corresponding to the parking space information; and an adjustment module, used to adjust the processing state of the parking space video corresponding to the parking space information according to the parking space shooting situation.

[0006] According to another aspect of the present disclosure, an electronic device is provided, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the method described in the embodiment of the first aspect of the present disclosure.

[0007] According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is provided, wherein the computer instructions are used to enable a computer to execute the method described in the embodiment of the first aspect of the present disclosure.

[0008] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the steps of the method described in the embodiment of the first aspect of the present disclosure are implemented.

[0009] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] The accompanying drawings are used to better understand the present solution and do not constitute a limitation of the present disclosure.

[0011] Figure 1 is a schematic diagram according to a first embodiment of the present disclosure;

[0012] Figure 2 is a schematic diagram according to a second embodiment of the present disclosure;

[0013] Figure 3 is a schematic diagram of a parking video diagnosis system according to an embodiment of the present disclosure;

[0014] Figure 4 is a schematic diagram according to a third embodiment of the present disclosure;

[0015] Figure 5 is a schematic diagram according to a fourth embodiment of the present disclosure;

[0016] Figure 6 is a schematic diagram according to a fifth embodiment of the present disclosure;

[0017] Figure 7 is a schematic diagram according to a sixth embodiment of the present application;

[0018] Figure 8 It is a block diagram of an electronic device used to implement the parking space detection method of the embodiment of the present disclosure. DETAILED DESCRIPTION

[0019] The following is a description of exemplary embodiments of the present disclosure in conjunction with the accompanying drawings, including various details of the embodiments of the present disclosure to facilitate understanding, which should be considered as merely exemplary. Therefore, it should be recognized by those of ordinary skill in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the present disclosure. Similarly, for the sake of clarity and conciseness, descriptions of well-known functions and structures are omitted in the following description.

[0020] With the development of my country's economy, the number of vehicles in the market will continue to increase, and the degree of automation of parking fee collection systems is becoming increasingly important. The automatic parking fee collection system mainly charges parking fees for vehicles by video monitoring the status of the vehicle, saving related manpower expenses and improving the convenience of parking fees.

[0021] However, when the parking space video is abnormal, it will lead to parking judgment errors, which seriously affects the automation of the charging system. Among them, the parking space video abnormality mainly includes the following four aspects: 1. Bad weather such as rain and fog causes blurry camera vision and blur caused by lens focusing problems; 2. The roadside leaves block the vehicle status in the parking space, which affects the judgment of the parking status; 3. When the lighting conditions are poor at night, or when strong light causes exposure, the real-time status of the vehicle cannot be obtained; 4. When the lens is moved manually or the preset position is wrong, the current parking space situation is inconsistent with the preset parking space situation, resulting in erroneous vehicle behavior events. Therefore, timely diagnosis of the parking space video to determine whether the parking space video is abnormal in order to improve the accuracy of the vehicle's parking status judgment has become a problem to be solved.

[0022] In order to solve the above problems, the present invention provides a parking space detection method, device, electronic device and storage medium.

[0023] Figure 1 is a schematic diagram according to the first embodiment of the present disclosure. It should be noted that the parking space detection method of the embodiment of the present disclosure can be applied to the parking space detection device of the embodiment of the present disclosure, and the device can be configured in an electronic device. The electronic device can be a mobile terminal, for example, a mobile phone, a tablet computer, a personal digital assistant, and other hardware devices with various operating systems.

[0024] like Figure 1 As shown, the parking space detection method may include the following steps:

[0025] Step 101: determine parking space information to be processed and a parking space image corresponding to the parking space information.

[0026] In the disclosed embodiment, the parking space information may include the geographical location information of the parking space, the configuration information of the parking space, the identification information of the parking space, etc. The parking space information that meets the detection conditions may be used as the parking space information to be processed, or the parking space information that reaches the detection period may be used as the parking space information to be processed, or the parking space information to be processed is received. Optionally, the parking space detection device can obtain the parking space video corresponding to the parking space information to be processed by connecting with the camera, and obtain the corresponding parking space image according to the parking space video. It should be noted that the detection condition may be that the number of vehicle entry and exits in the parking space in the vehicle detection data corresponding to the parking space information reaches a preset number threshold, that is, vehicles frequently enter and leave the parking space.

[0027] Step 102: Detect the parking space image to determine the parking space shooting situation corresponding to the parking space information.

[0028] Further, after determining the parking space image corresponding to the parking space information, the parking space image may be detected to determine whether the parking space shooting situation corresponding to the parking space information is abnormal. There may be one or more parking space images corresponding to the parking space information to be processed.

[0029] In the disclosed embodiments, various types of detections may be performed on parking space images, and different types of detections have different requirements for parking space images. For example, when performing occlusion type detection on parking space images, a parking space image when there is no vehicle in the parking space may be used. For another example, when performing scene type detection on parking space images (such as weak light, unclear focus, or blurry images due to rain, etc.), a parking space image when there is no vehicle in the parking space may be used, or a parking space image when there is a vehicle in the parking space may be used.

[0030] Step 103: adjusting the processing state of the parking space video corresponding to the parking space information according to the parking space shooting situation.

[0031] In the disclosed embodiment, the parking space shooting situation may include an abnormal shooting situation and a non-abnormal shooting situation. The processing state of the parking space video corresponding to the parking space information may be adjusted according to whether the parking space shooting situation is an abnormal shooting situation.

[0032] In summary, by detecting the parking space image corresponding to the parking space information, the parking space shooting situation corresponding to the parking space information is determined, and then, according to the parking space shooting situation, the processing status of the parking space video corresponding to the parking space information is adjusted in time. Therefore, when the parking space video is abnormal, the processing status of the parking space video corresponding to the parking space information can be adjusted in time, thereby improving the accuracy of judging the parking status of the vehicle.

[0033] In order to accurately determine the parking space information to be processed and the parking space image corresponding to the parking space information, such as Figure 2 As shown, Figure 2 It is a schematic diagram according to the second embodiment of the present disclosure. In the embodiment of the present disclosure, the parking space information that meets the detection conditions can be used as the parking space information to be processed, or the parking space information that reaches the detection period can be used as the parking space information to be processed, or the parking space information to be processed is received. Figure 2 The illustrated embodiment may include the following steps:

[0034] Step 201: determine parking space information to be processed and a parking space image corresponding to the parking space information.

[0035] As an example, vehicle detection data corresponding to a plurality of parking space information is determined; and parking space information whose corresponding vehicle detection data meets the detection condition is determined as parking space information to be processed.

[0036] In the disclosed embodiment, the parking space detection device can obtain the parking space video in real time, analyze the parking space video, and obtain the vehicle detection data corresponding to the parking space information, wherein the vehicle detection data may include: the entry and exit time and frequency of the vehicle in the parking space. Furthermore, the number of vehicle entry and exit times in the vehicle detection data corresponding to the parking space information in the preset time period can be compared with the preset number threshold. When the number of vehicle entry and exit times in the vehicle detection data in the preset time period reaches the preset number, such as the vehicles in the parking space frequently enter and leave the parking space, that is, the vehicle detection data corresponding to the parking space information meets the detection conditions, the parking space information can be determined as the parking space information to be processed. Furthermore, based on the parking space video of the parking space information to be processed, the parking space image corresponding to the parking space information to be processed can be determined.

[0037] As another example, the detection time points corresponding to a plurality of parking space information are determined; and the parking space information whose corresponding detection time point is consistent with the current time point is determined as the parking space information to be processed.

[0038] That is to say, the detection time points corresponding to multiple parking space information can be compared with the current time point. When the detection time point corresponding to the parking space information is consistent with the current time point, that is, when the preset detection cycle is reached, the parking space information is determined as the parking space information to be processed.

[0039] As another example, vehicle detection data corresponding to multiple parking space information and detection time points corresponding to multiple parking space information are determined; the parking space information whose corresponding vehicle detection data meets the detection conditions, and the parking space information whose corresponding detection time point is consistent with the current time point, are determined as the parking space information to be processed.

[0040] That is to say, the number of entries and exits of vehicles in the parking space in the vehicle detection data corresponding to the parking space information of the preset time period can be compared with the preset number threshold. When the number of entries and exits of vehicles in the parking space in the vehicle detection data of the preset time period reaches the preset number, for example, the vehicles in the parking space frequently enter and leave the parking space, that is, the vehicle detection data corresponding to the parking space information meets the detection conditions, and when the detection time point corresponding to the parking space information is consistent with the current time point, the parking space information is determined as the parking space information to be processed.

[0041] As another example, parking space information to be processed and a parking space image corresponding to the parking space information are received; wherein the vehicle detection data corresponding to the parking space information meets the detection conditions; and / or the detection time point corresponding to the parking space information is consistent with the current time point.

[0042] In an embodiment of the present disclosure, a parking space detection device can receive parking space information to be processed, and based on a parking space video corresponding to the parking space information to be processed, a parking space image corresponding to the parking space information can be obtained, wherein when the number of entries and exits of vehicles in the parking space in the vehicle detection data of a preset time period reaches a preset number, such as vehicles in the parking space frequently enter and leave the parking space, that is, the vehicle detection data corresponding to the parking space information meets the detection conditions, and / or when the detection time point corresponding to the parking space information is consistent with the current time point, the parking space information is determined as the parking space information to be processed.

[0043] Step 202: Detect the parking space image to determine the parking space shooting situation corresponding to the parking space information.

[0044] Step 203: adjusting the processing state of the parking space video corresponding to the parking space information according to the parking space shooting situation.

[0045] Step 204: When the parking space shooting situation is abnormal, an alarm is issued for the parking space corresponding to the parking space information.

[0046] In the disclosed embodiment, in order to remind relevant personnel to detect abnormal parking space videos, when the parking space shooting situation is an abnormal shooting situation, an alarm prompt message can be used to prompt relevant personnel to conduct an abnormal inspection of the parking space video corresponding to the parking space information. Relevant personnel can accurately and efficiently determine and process the abnormal parking space video based on the alarm prompt message.

[0047] In the embodiment of the present application, steps 202-205 can be implemented in any of the ways in the embodiments of the present application respectively. The embodiment of the present application does not limit this and will not be elaborated on.

[0048] As an application scenario, the parking space detection device that executes the above method is used as a parking video diagnosis system for exemplary description. Figure 3 As shown, the parking video diagnosis system may include: an identification host, a front-end platform, a storage device, a cloud server, and a device management platform.

[0049] Among them, the identification host: the algorithm running platform, can obtain the parking space video stream in real time for algorithm analysis, determine whether the inspection video status cycle has arrived or send the video diagnosis signal to the front-end platform, and receive the signal returned by the front-end platform to stop or start the algorithm analysis, etc.;

[0050] Front-end platform: Integrate the parking information of the recognition host, transmit the data to the cloud server, integrate the information of the cloud server and the information of the equipment management platform, and control the recognition host to start and stop the algorithm;

[0051] Storage device: used to cache parking space information such as parking space videos, parking space images, parking space configurations, parking space geographic locations, etc. on the front-end platform;

[0052] Hard disk recorder (backend): used to store the parking space video information of the front-end platform;

[0053] Cloud server: responds to the diagnosis request from the front-end platform, performs parking space video status diagnosis on the data to be diagnosed, and returns the diagnosis result to the front-end platform;

[0054] Equipment management platform: mainly used to obtain and publish information such as equipment usage status in real time, send abnormal alarms to administrators, and send the status updated by administrators to the front-end platform.

[0055] As an example, the front-end platform in the parking video diagnosis system can determine the detection time points corresponding to multiple parking space information; determine the parking space information whose corresponding detection time points are consistent with the current time point as the parking space information to be processed; and / or, determine the detection time points corresponding to multiple parking space information; determine the parking space information whose corresponding detection time points are consistent with the current time point as the parking space information to be processed. The cloud service end in the parking video diagnosis system can receive the parking space information to be processed sent by the front-end platform, and the parking space image corresponding to the parking space information; wherein the vehicle detection data corresponding to the parking space information meets the detection conditions; and / or, the detection time point corresponding to the parking space information is consistent with the current time point. In addition, in order not to occupy front-end resources, the cloud service end can detect the parking space image, determine the parking space shooting situation corresponding to the parking space information, and return the parking space shooting situation to the front-end platform. The front-end platform adjusts the processing status of the parking space video corresponding to the parking space information according to the parking space shooting situation.

[0056] In summary, by determining the vehicle detection data corresponding to multiple parking space information; determining the parking space information whose corresponding vehicle detection data meets the detection conditions as the parking space information to be processed; determining the parking space image corresponding to the parking space information to be processed, and when the parking space shooting situation is an abnormal shooting situation, an alarm is issued for the parking space corresponding to the parking space information. In this way, the parking space information to be processed and the parking space image corresponding to the parking space information can be accurately determined, and when the parking space video is abnormal, the relevant personnel can be reminded to handle the abnormality.

[0057] In order to accurately determine the parking space shooting situation corresponding to the parking space information to be processed, such as Figure 4 As shown, Figure 4 is a schematic diagram according to the third embodiment of the present disclosure. As an example, different image detection strategies may be used to detect parking space images according to different types of parking space shooting situations, so as to determine various types of parking space shooting situations corresponding to parking space information. Figure 3 The illustrated embodiment may include the following steps:

[0058] Step 401: determine parking space information to be processed and a parking space image corresponding to the parking space information.

[0059] In step 402, the type of parking space shooting situation includes at least one of the following types: scene type, occlusion type, and parking space marking type. For each type, the parking space image is detected according to the image detection strategy corresponding to the type to determine various types of parking space shooting situations corresponding to the parking space information.

[0060] As an example, the type of parking space shooting situation includes a scene type. The parking space image is input into a trained scene recognition model to determine the scene recognition result corresponding to the parking space information. When the scene recognition result is an abnormal scene, the parking space shooting situation of the scene type is determined to be an abnormal shooting situation. When the scene recognition result is a normal scene, the parking space shooting situation of the scene type is determined to be a normal shooting situation.

[0061] That is, in order to accurately determine the parking space shooting situation of the scene type corresponding to the parking space information, the parking space image can be input into a trained scene recognition model, and the scene recognition model can output the scene recognition result corresponding to the parking space information, wherein the scene recognition result may include: normal scene, weak light, abnormal light color, unclear focus, and rain blur, etc. When the scene recognition result is weak light, abnormal light color, unclear focus, or rain blur, the scene recognition result can be determined to be an abnormal scene, and then, the parking space shooting situation of the scene type can be determined to be an abnormal shooting situation. When the scene recognition result is a normal scene, the parking space shooting situation of the scene type can be determined to be a normal shooting situation. The trained scene recognition model can be a trained neural network model.

[0062] As another example, the types of parking space shooting conditions include occlusion types. The parking space image is input into the target detection model to determine the occlusion area information in the parking space image; the overlap rate between the occlusion area information and the parking space area information corresponding to the parking space information is determined; when the overlap rate is greater than or equal to the overlap rate threshold, the parking space shooting condition of the occlusion type is determined to be an abnormal shooting condition; when the overlap rate is less than the overlap rate threshold, the parking space shooting condition of the occlusion type is determined to be a normal shooting condition.

[0063] That is to say, in order to accurately determine the parking space shooting situation of the occlusion type corresponding to the parking space information, the parking space image can be input into the target detection model, and the target detection model can output the occlusion area information in the parking space image. Then, the overlap rate between the occlusion area information and the parking space area information corresponding to the parking space information is calculated, and the overlap rate is compared with the overlap rate threshold. When the overlap rate is greater than or equal to the overlap rate threshold, the parking space shooting situation of the occlusion type can be determined as an abnormal shooting situation; when the overlap rate is less than the overlap rate threshold, the parking space shooting situation of the occlusion type can be determined as a normal shooting situation.

[0064] As another example, the types of parking space shooting conditions include parking space marking types, and parking space marking detection is performed on the parking space image to determine the parking space marking information in the parking space image; determine the distance difference between the parking space marking information and the configuration marking information corresponding to the parking space information; when the distance difference is greater than or equal to the distance threshold, determine that the parking space shooting condition of the parking space marking type is an abnormal shooting condition; when the distance difference is less than the distance threshold, determine that the parking space shooting condition of the parking space marking type is a normal shooting condition.

[0065] That is to say, in order to accurately determine the parking space shooting situation of the parking space marking type corresponding to the parking space information, the parking space marking information in the parking space image can be extracted, and the extracted parking space marking information can be compared with the corresponding configuration marking information (such as roadside markings) to determine the distance difference between the parking space marking information and the configuration marking information corresponding to the parking space information. When the distance difference is greater than or equal to the distance threshold, the parking space shooting situation of the parking space marking type can be determined as an abnormal shooting situation; when the distance difference is less than the distance threshold, the parking space shooting situation of the parking space marking type can be determined as a normal shooting situation.

[0066] As another example, the types of parking space shooting conditions include: scene type, occlusion type and parking space marking type; the parking space image can be simultaneously input into the trained scene recognition model and target detection model, and the parking space marking detection can be performed on the parking space image; at the same time, the scene recognition result corresponding to the parking space information, the occlusion area information in the parking space image and the parking space marking information are determined, and when the scene recognition result is an abnormal scene, the parking space shooting condition of the scene type is determined to be an abnormal shooting condition; when the scene recognition result is a normal scene, the parking space shooting condition of the scene type is determined to be a normal shooting condition; at the same time, the occlusion area information is calculated. The overlap rate between the parking space information and the parking space area information corresponding to the parking space information is determined. When the overlap rate is greater than or equal to the overlap rate threshold, the parking space shooting situation of the occlusion type is determined to be an abnormal shooting situation; when the overlap rate is less than the overlap rate threshold, the parking space shooting situation of the occlusion type is determined to be a normal shooting situation; and the distance difference between the parking space marking information and the configuration marking information corresponding to the parking space information is determined; when the distance difference is greater than or equal to the distance threshold, the parking space shooting situation of the parking space marking type is determined to be an abnormal shooting situation; when the distance difference is less than the distance threshold, the parking space shooting situation of the parking space marking type is determined to be a normal shooting situation.

[0067] Step 403: adjusting the processing state of the parking space video corresponding to the parking space information according to the parking space shooting situation.

[0068] In summary, the types of parking space shooting situations include at least one of the following types: scene type, occlusion type, and parking space marking type. For each type, the parking space image is detected according to the image detection strategy corresponding to the type, and the various types of parking space shooting situations corresponding to the parking space information are determined. Thus, the various types of parking space shooting situations corresponding to the parking space information can be accurately determined.

[0069] In order to accurately determine the parking space shooting situation corresponding to the parking space information to be processed, such as Figure 5 As shown, Figure 5 is a schematic diagram according to the fourth embodiment of the present disclosure. As another example, for each type in the type sequence, the parking space image can be detected in turn according to the image detection strategy corresponding to the type to determine the parking space shooting situation of the type corresponding to the parking space information. Figure 5 The illustrated embodiment may include the following steps:

[0070] Step 501: determine parking space information to be processed and a parking space image corresponding to the parking space information.

[0071] Step 502, for each type in the type sequence, the parking space image is detected according to the image detection strategy corresponding to the type, and the parking space shooting situation of the type corresponding to the parking space information is determined; when the parking space shooting situation of the type is not an abnormal shooting situation, the parking space image is detected according to the image detection strategy corresponding to the next adjacent type of the type, and the parking space shooting situation of the next adjacent type corresponding to the parking space information is determined.

[0072] As an example, the type sequence may be a scene type, an occlusion type, and a parking space marking type. The scene type, occlusion type, and parking space marking type in the type sequence may be detected in turn according to the image detection strategy corresponding to the type to determine the parking space shooting situation of the type corresponding to the parking space information. For example, the parking space image may be first detected according to the image detection strategy corresponding to the scene type to determine the parking space shooting situation of the scene type corresponding to the parking space information. When the parking space shooting situation of the scene type is not an abnormal shooting situation, the parking space image may be detected according to the image detection strategy corresponding to the occlusion type to determine the parking space shooting situation of the occlusion type corresponding to the parking space information; when the parking space shooting situation of the scene type is an abnormal shooting situation, the parking space image may not be detected according to the image detection strategy corresponding to the occlusion type.

[0073] Step 503: adjusting the processing state of the parking space video corresponding to the parking space information according to the parking space shooting situation.

[0074] In summary, by detecting the parking space image according to the image detection strategy corresponding to each type in the type sequence in turn, the parking space shooting situation of the type corresponding to the parking space information is determined; when the parking space shooting situation of the type is not an abnormal shooting situation, the parking space image is detected according to the image detection strategy corresponding to the next adjacent type of the type, and the parking space shooting situation of the next adjacent type corresponding to the parking space information is determined, thereby saving related resource consumption and accurately determining the parking space shooting situation corresponding to the parking space information to be processed.

[0075] In order to timely adjust the processing status of the parking space video corresponding to the parking space information when the parking space video is abnormal, and improve the accuracy of parking judgment, such as Figure 6 As shown, Figure 6 It is a schematic diagram according to the fifth embodiment of the present disclosure. In the embodiment of the present disclosure, the processing state of the parking space video corresponding to the parking space information is adjusted according to whether the parking space shooting situation is abnormal. Figure 6 The illustrated embodiment may include the following steps:

[0076] Step 601: determine parking space information to be processed and a parking space image corresponding to the parking space information.

[0077] Step 602: Detect the parking space image to determine the parking space shooting situation corresponding to the parking space information.

[0078] Step 603: When the parking space shooting situation is an abnormal shooting situation, the processing state is adjusted to a non-vehicle detection state.

[0079] Step 604: When the parking space shooting situation is not an abnormal shooting situation, the processing state is adjusted to a vehicle detection state.

[0080] That is to say, when the parking space shooting situation is abnormal, the parking status of the vehicle captured in the parking space video may not be the actual parking status of the vehicle. The processing status of the parking space video corresponding to the parking space information can be adjusted to a non-vehicle detection status, and the detection of the parking status of the vehicle can be stopped; when the parking space shooting situation is not abnormal, the processing status of the parking space video corresponding to the parking space information can be adjusted to a vehicle detection status, and the parking status of the vehicle can continue to be detected.

[0081] It should be noted that in order to promptly feedback abnormal information of the parking space video to relevant personnel, the detection frequency of the parking space information can be increased when the parking space shooting situation is an abnormal shooting situation. At the same time, when the parking space shooting situation is an abnormal shooting situation, an alarm prompt is given for the parking space corresponding to the parking space information. In the disclosed embodiment, when the parking space shooting situation is a non-abnormal shooting situation, the processing state of the parking space video corresponding to the parking space information is a vehicle detection state, that is, when the vehicle video is non-abnormal, the difference between adjacent detection time points corresponding to the parking space information can be a first threshold; when the parking space shooting situation is an abnormal shooting situation, when the processing state of the parking space video corresponding to the parking space information is a non-vehicle detection state, the time difference between adjacent detection time points corresponding to the parking space information is a second threshold; wherein the second threshold is less than the first threshold.

[0082] In summary, by adjusting the processing status to a non-vehicle detection status when the parking space shooting situation is an abnormal shooting situation, and adjusting the processing status to a vehicle detection status when the parking space shooting situation is not an abnormal shooting situation, the processing status of the parking space video corresponding to the parking space information can be adjusted in time when the parking space video is abnormal, thereby improving the accuracy of parking judgment.

[0083] The parking space detection method of the disclosed embodiment detects the parking space image corresponding to the parking space information to determine the parking space shooting situation corresponding to the parking space information, and then timely adjusts the processing status of the parking space video corresponding to the parking space information according to the parking space shooting situation. Therefore, when the parking space video is abnormal, the processing status of the parking space video corresponding to the parking space information can be adjusted in time, thereby improving the accuracy of judging the parking status of the vehicle.

[0084] In order to implement the above embodiment, the embodiment of the present application also proposes a parking space detection device.

[0085] Figure 7 is a schematic diagram according to the sixth embodiment of the present application. Figure 7 As shown, the parking space detection device 700 includes: a first determination module 710 , a second determination module 720 and an adjustment module 730 .

[0086] Among them, the first determination module 710 is used to determine the parking space information to be processed and the parking space image corresponding to the parking space information; the second determination module 720 is used to detect the parking space image and determine the parking space shooting situation corresponding to the parking space information; the adjustment module 730 is used to adjust the processing status of the parking space video corresponding to the parking space information according to the parking space shooting situation.

[0087] As a possible implementation method of the embodiment of the present disclosure, the first determination module 710 is used to: determine vehicle detection data corresponding to multiple parking space information; determine the parking space information whose corresponding vehicle detection data meets the detection conditions as the parking space information to be processed; and / or determine the detection time points corresponding to multiple parking space information; determine the parking space information whose corresponding detection time point is consistent with the current time point as the parking space information to be processed.

[0088] As a possible implementation method of the embodiment of the present disclosure, the first determination module 710 is also used to: receive parking space information to be processed, and a parking space image corresponding to the parking space information; wherein the vehicle detection data corresponding to the parking space information satisfies the detection conditions; and / or the detection time point corresponding to the parking space information is consistent with the current time point.

[0089] As a possible implementation of the embodiment of the present disclosure, the detection condition is that the number of vehicle entries and exits in the parking space in the vehicle detection data of a preset time period reaches a preset number threshold.

[0090] As a possible implementation method of an embodiment of the present disclosure, when the processing status of the parking space video corresponding to the parking space information is a vehicle detection status, the time difference between adjacent detection time points is a first threshold; when the processing status of the parking space video corresponding to the parking space information is a non-vehicle detection status, the time difference between adjacent detection time points is a second threshold; wherein the second threshold is smaller than the first threshold.

[0091] As a possible implementation method of the embodiment of the present disclosure, the type of parking space shooting situation includes at least one of the following types: scene type, occlusion type, and parking space marking type; the second determination module 720 is used to: for each type, detect the parking space image according to the image detection strategy corresponding to the type, and determine the various types of parking space shooting situations corresponding to the parking space information; or, for each type in the type sequence in turn, detect the parking space image according to the image detection strategy corresponding to the type, and determine the parking space shooting situation of the type corresponding to the parking space information; when the parking space shooting situation of a type is not an abnormal shooting situation, detect the parking space image according to the image detection strategy corresponding to the next adjacent type of the type, and determine the parking space shooting situation of the next adjacent type corresponding to the parking space information.

[0092] As a possible implementation method of the embodiment of the present disclosure, the type includes a scene type, and the second determination module 720 is used to: input the parking space image into a trained scene recognition model to determine the scene recognition result corresponding to the parking space information; when the scene recognition result is an abnormal scene, determine that the parking space shooting situation of the scene type is an abnormal shooting situation; when the scene recognition result is a normal scene, determine that the parking space shooting situation of the scene type is a normal shooting situation.

[0093] As a possible implementation method of the embodiment of the present disclosure, the type includes the occlusion type, and the second determination module 720 is used to: input the parking space image into the target detection model to determine the occlusion area information in the parking space image; determine the overlap rate between the occlusion area information and the parking space area information corresponding to the parking space information; when the overlap rate is greater than or equal to the overlap rate threshold, determine that the parking space shooting situation of the occlusion type is an abnormal shooting situation; when the overlap rate is less than the overlap rate threshold, determine that the parking space shooting situation of the occlusion type is a normal shooting situation.

[0094] As a possible implementation method of the embodiment of the present disclosure, the type includes a parking space marking type; the second determination module 720 is used to: perform parking space marking detection on the parking space image to determine the parking space marking information in the parking space image; determine the distance difference between the parking space marking information and the configuration marking information corresponding to the parking space information; when the distance difference is greater than or equal to the distance threshold, determine that the parking space shooting situation of the parking space marking type is an abnormal shooting situation; when the distance difference is less than the distance threshold, determine that the parking space shooting situation of the parking space marking type is a normal shooting situation.

[0095] As a possible implementation method of the embodiment of the present disclosure, the adjustment module 730 is used to: when the parking space shooting situation is an abnormal shooting situation, adjust the processing state to a non-vehicle detection state; when the parking space shooting situation is not an abnormal shooting situation, adjust the processing state to a vehicle detection state.

[0096] As a possible implementation of the embodiment of the present disclosure, the parking space detection device 700 further includes: a prompt module. The prompt module is used to: when the parking space shooting situation is an abnormal shooting situation, issue an alarm prompt for the parking space corresponding to the parking space information.

[0097] The parking space detection device of the disclosed embodiment detects the parking space image corresponding to the parking space information to determine the parking space shooting situation corresponding to the parking space information, and then timely adjusts the processing status of the parking space video corresponding to the parking space information according to the parking space shooting situation. Therefore, when the parking space video is abnormal, the processing status of the parking space video corresponding to the parking space information can be adjusted in time, thereby improving the accuracy of judging the parking status of the vehicle.

[0098] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of user personal information are all carried out with the user's consent, comply with the relevant laws and regulations, and do not violate public order and good morals.

[0099] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium and a computer program product.

[0100] Figure 8A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present disclosure is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present disclosure described and / or required herein.

[0101] like Figure 8 As shown, the device 800 includes a computing unit 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the device 800 can also be stored. The computing unit 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0102] A number of components in the device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0103] The computing unit 801 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 801 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 801 performs the various methods and processes described above, such as a parking space detection method. For example, in some embodiments, the parking space detection method may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 800 via ROM 802 and / or communication unit 809. When the computer program is loaded into RAM 803 and executed by the computing unit 801, one or more steps of the parking space detection method described above may be performed. Alternatively, in other embodiments, the computing unit 801 may be configured to perform the parking space detection method in any other appropriate manner (e.g., by means of firmware).

[0104] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0105] The program code for implementing the method of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0106] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0107] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0108] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0109] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0110] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this disclosure can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solutions disclosed in this disclosure can be achieved, and this document does not limit this.

[0111] The above specific implementations do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present disclosure shall be included in the protection scope of the present disclosure.

Claims

1. A parking space detection method, comprising: Determining parking space information to be processed, and a parking space image corresponding to the parking space information; Detect the parking space image to determine the parking space shooting situation corresponding to the parking space information, wherein the parking space shooting situation includes an abnormal shooting situation and a non-abnormal shooting situation; According to the parking space shooting situation, adjusting the processing state of the parking space video corresponding to the parking space information; The type of the parking space shooting situation includes at least one of the following types: scene type, occlusion type, and parking space marking type; The detecting the parking space image to determine the parking space shooting situation corresponding to the parking space information includes: For each type, the parking space image is detected according to the image detection strategy corresponding to the type, and the shooting conditions of various types of parking spaces corresponding to the parking space information are determined; or, For each type in the type sequence, the parking space image is detected according to the image detection strategy corresponding to the type, and the parking space shooting situation of the type corresponding to the parking space information is determined; when the parking space shooting situation of the type is not an abnormal shooting situation, the parking space image is detected according to the image detection strategy corresponding to the next adjacent type of the type, and the parking space shooting situation of the next adjacent type corresponding to the parking space information is determined; The type includes the parking space marking type; The detecting the parking space image according to the image detection strategy corresponding to the type to determine the parking space shooting situation of the type corresponding to the parking space information includes: Performing parking space marking detection on the parking space image to determine parking space marking information in the parking space image; Determine a distance difference between the parking space marking information and the configuration marking information corresponding to the parking space information; When the distance difference is greater than or equal to the distance threshold, determining that the parking space shooting situation of the parking space marking type is an abnormal shooting situation; When the distance difference is less than the distance threshold, it is determined that the parking space shooting condition of the parking space marking type is a normal shooting condition.

2. The method according to claim 1, wherein: The determining of the parking space information to be processed and the parking space image corresponding to the parking space information includes: Determine vehicle detection data corresponding to multiple parking space information; The parking space information whose corresponding vehicle detection data meets the detection conditions is determined as the parking space information to be processed; and / or, Determine detection time points corresponding to multiple parking space information; The parking space information whose corresponding detection time point is consistent with the current time point is determined as the parking space information to be processed.

3. The method according to claim 1, wherein: The determining of the parking space information to be processed and the parking space image corresponding to the parking space information includes: receiving the parking space information to be processed and a parking space image corresponding to the parking space information; Among them, the vehicle detection data corresponding to the parking space information meets the detection conditions; and / or the detection time point corresponding to the parking space information is consistent with the current time point.

4. The method according to claim 2 or 3, wherein: The detection condition is that the number of vehicle entry and exit times in the parking space in the vehicle detection data of the preset time period reaches a preset number threshold.

5. The method according to claim 2 or 3, wherein: When the processing state of the parking space video corresponding to the parking space information is a vehicle detection state, the time difference between adjacent detection time points is a first threshold; When the processing state of the parking space video corresponding to the parking space information is a non-vehicle detection state, the time difference between adjacent detection time points is a second threshold; wherein the second threshold is smaller than the first threshold.

6. The method according to claim 1, wherein: The type includes the scene type; The detecting the parking space image according to the image detection strategy corresponding to the type to determine the parking space shooting situation of the type corresponding to the parking space information includes: Inputting the parking space image into a trained scene recognition model to determine a scene recognition result corresponding to the parking space information; When the scene recognition result is an abnormal scene, determining that the parking space shooting situation of the scene type is an abnormal shooting situation; When the scene recognition result is a normal scene, it is determined that the parking space shooting situation of the scene type is a normal shooting situation.

7. The method according to claim 1, wherein: The type includes the occlusion type; The detecting the parking space image according to the image detection strategy corresponding to the type to determine the parking space shooting situation of the type corresponding to the parking space information includes: Inputting the parking space image into a target detection model to determine occluded area information in the parking space image; Determine an overlap ratio between the blocked area information and the parking space area information corresponding to the parking space information; When the overlap rate is greater than or equal to the overlap rate threshold, determining that the parking space shooting situation of the occlusion type is an abnormal shooting situation; When the overlap rate is less than the overlap rate threshold, it is determined that the parking space shooting condition of the shielding type is a normal shooting condition.

8. The method according to claim 1, wherein: The adjusting, according to the parking space shooting situation, the processing state of the parking space video corresponding to the parking space information includes: When the parking space shooting situation is an abnormal shooting situation, adjusting the processing state to a non-vehicle detection state; When the parking space shooting situation is not the abnormal shooting situation, the processing state is adjusted to a vehicle detection state.

9. The method according to claim 1 or 8, wherein: The method further comprises: When the parking space shooting situation is an abnormal shooting situation, an alarm prompt is given for the parking space corresponding to the parking space information.

10. A parking space detection device, comprising: A first determining module, used to determine parking space information to be processed and a parking space image corresponding to the parking space information; A second determination module is used to detect the parking space image and determine the parking space shooting situation corresponding to the parking space information, wherein the parking space shooting situation includes abnormal shooting situation and non-abnormal shooting situation; An adjustment module, used for adjusting the processing state of the parking space video corresponding to the parking space information according to the parking space shooting situation; The type of the parking space shooting situation includes at least one of the following types: scene type, occlusion type, and parking space marking type; The detecting the parking space image to determine the parking space shooting situation corresponding to the parking space information includes: For each type, the parking space image is detected according to the image detection strategy corresponding to the type, and the shooting conditions of various types of parking spaces corresponding to the parking space information are determined; or, For each type in the type sequence, the parking space image is detected according to the image detection strategy corresponding to the type, and the parking space shooting situation of the type corresponding to the parking space information is determined; when the parking space shooting situation of the type is not an abnormal shooting situation, the parking space image is detected according to the image detection strategy corresponding to the next adjacent type of the type, and the parking space shooting situation of the next adjacent type corresponding to the parking space information is determined; The type includes the parking space marking type; The detecting the parking space image according to the image detection strategy corresponding to the type to determine the parking space shooting situation of the type corresponding to the parking space information includes: Performing parking space marking detection on the parking space image to determine parking space marking information in the parking space image; Determine a distance difference between the parking space marking information and the configuration marking information corresponding to the parking space information; When the distance difference is greater than or equal to the distance threshold, determining that the parking space shooting situation of the parking space marking type is an abnormal shooting situation; When the distance difference is less than the distance threshold, it is determined that the parking space shooting condition of the parking space marking type is a normal shooting condition.

11. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 9.

12. A non-transitory computer-readable storage medium storing computer instructions, wherein: The computer instructions are used to make a computer execute the method according to any one of claims 1-9.

13. A computer program product comprising a computer program, which, when executed by a processor, implements the steps of the method according to any one of claims 1 to 9.

Citation Information

Patent Citations

  • Detecting system for vacancy of parking lots

    CN101009049A

  • Parking spot state detection method and parking spot state detection device

    CN105390021A

  • Real-time detection method for determining occupancy of parking space

    CN107665603A

  • Parking space state detection system and detection method thereof

    CN109859519A

  • Road marking device

    CN111596660A