Vehicle straddle parking identification method, device, computer equipment and storage medium
Through the detection and tracking of real-time surveillance videos and deep learning models, combined with early warning lines and location thresholds, the problem of insufficient vehicle cross-parking recognition accuracy in the existing technology is solved, and high-precision and anti-interference recognition effects are achieved.
Patent Information
- Application Number
- CN202411073248.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-08-06
AI Technical Summary
Existing vehicle straddle parking recognition technology cannot accurately identify whether a vehicle is parked astride, and there is a problem of insufficient recognition accuracy.
By obtaining the video captured in real time by the monitoring equipment, the detection and tracking algorithm or the deep learning network model is used to detect and track the target vehicle, determine the moving state of the vehicle, and when in a stationary state, based on the relationship between the tracking frame of the target vehicle and the preset warning line The position relationship between the two vehicles is combined with the preset position threshold to determine the vehicle's straddle parking recognition result.
It achieves accurate identification of vehicles parked in straddle positions, reduces interference effects, and improves identification accuracy and anti-interference capabilities.
Smart Images

Figure CN118587685B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of image processing technology, and in particular to a method, device, computer equipment and storage medium for identifying cross-parked vehicles. Background Art
[0002] With the rapid development and application of computer vision algorithms, computer vision algorithms are widely used in parking management solutions. The accuracy of the recognition results of cross-parking vehicles is one of the key measurement indicators of parking management solutions, and its quality will directly affect people's travel experience.
[0003] The current solution is to monitor the changes in geomagnetic parameters in the parking space to be inspected through a geomagnetic sensor, and generate a corresponding drive signal to send to the microwave detection device. The microwave detection device transmits a microwave signal of a certain frequency band and receives an echo signal according to the received drive signal. The parking status of the parking space to be inspected is determined based on the quantitative relationship between the echo signal, the reference echo data of the parking space to be inspected, and the set microwave change threshold. However, this solution cannot accurately identify whether the vehicle is parked across spaces.
[0004] With regard to the problem in related technologies that it is impossible to accurately identify whether a vehicle is parked across spaces, no effective solution has been proposed so far. Summary of the invention
[0005] In this embodiment, a method, device, computer equipment and storage medium for identifying a vehicle parked across spaces are provided to solve the problem in the related art that it is impossible to accurately identify whether a vehicle is parked across spaces.
[0006] In a first aspect, a method for identifying a vehicle parked in a cross-space manner is provided in this embodiment, comprising:
[0007] Obtain surveillance video of the parking area captured by surveillance equipment in real time;
[0008] Detecting and tracking the target vehicle in the surveillance video to determine the movement state of the target vehicle;
[0009] When the moving state is a stationary state, determining a positional relationship between a tracking frame of the target vehicle and a preset warning line; the tracking frame is obtained by detecting and tracking the target vehicle; the warning line is set between each parking space in the parking area;
[0010] A straddle parking recognition result of the target vehicle is determined according to the position relationship and a preset position threshold.
[0011] In some embodiments, determining the positional relationship between the tracking frame of the target vehicle and the preset warning line based on the fused monopole mapping method and the Euclidean distance measurement method includes:
[0012] Mapping the tracking frame and the warning line of the target vehicle to a unified coordinate system for comparison;
[0013] If the tracking frame and the warning line are in an intersecting state, the coordinates of the intersection of the tracking frame and the warning line are determined; and based on the coordinates of the intersection, the packet ratio coefficient of the tracking frame and the warning line is determined; and the packet ratio coefficient is used as the positional relationship.
[0014] In some embodiments, the method further comprises:
[0015] In some of the embodiments, the method further comprises:
[0016] A parking space linked list corresponding to the number of parking spaces in the parking area is configured; the mounting information of each first node in the parking space linked list includes a parking space occupancy status flag, associated vehicle identity information, cross-space parking information, vehicle posture information, and license plate recognition results; the mounting information of the first node corresponds to the status attribute information of the parking space;
[0017] Based on the parking space chain list, the parking spaces in the parking area are managed.
[0018] In some of the embodiments, the method further comprises:
[0019] Reporting the parking space list based on a preset reporting trigger frame number;
[0020] Based on the reported parking space linked list, the status attribute information of the parking spaces in the parking area is displayed.
[0021] In some embodiments, detecting and tracking a target vehicle in the surveillance video to determine the movement state of the target vehicle includes:
[0022] Inputting the surveillance video into a well-trained deep learning network model to detect the target vehicle, and obtaining a detection frame and corresponding attribute information; the attribute information includes the detection frame coordinates and the first category;
[0023] According to the detection frame, the corresponding attribute information and the preset tracking chain table, the target vehicle in the monitoring video is tracked in real time to obtain a tracking frame; the mounting information of each second node in the tracking chain table includes the tracking frame coordinates, the second category and the target vehicle identity information;
[0024] Within a preset stability identification frame number, the moving state of the target vehicle is determined according to the motion displacement of the tracking frame and a preset displacement threshold; the stability identification frame number is related to the current video frame rate of the monitoring video.
[0025] In some of the embodiments, the target vehicle in the monitoring video is tracked in real time according to the detection frame, the corresponding attribute information and a preset tracking chain table to obtain a tracking frame, including:
[0026] Based on a metric method of weighted fusion of diagonal distance and rectangular IOU intersection and union ratio, the attribute information is associated and matched with the second node in the tracking list;
[0027] If the association match fails, the vehicle corresponding to the detection frame is used as the new target vehicle, and the detection frame is used as the new tracking frame; the attribute information is updated to the tracking linked list, and the corresponding tracking identity information is assigned;
[0028] If the association match is successful, then based on the attribute information, the corresponding second node in the tracking chain table is updated to determine the corresponding tracking frame.
[0029] In some embodiments, the method further comprises:
[0030] Based on the attribute information, storing the vehicle posture of the target vehicle in consecutive frames into a vehicle posture array in a parking space linked list;
[0031] According to the posture array and the preset frame number, the vehicle posture information in the parking space linked list is determined.
[0032] In some embodiments, the method further comprises:
[0033] Polling to determine the coverage ratio coefficient of the parking space status recognition area and the tracking frame; the parking space status recognition area is a designated area in each of the parking spaces in the parking area;
[0034] According to the coverage ratio coefficient and a preset ratio threshold, a parking space occupancy status flag in the parking space chain list is determined.
[0035] In a second aspect, a vehicle straddling parking recognition device is provided in this embodiment, comprising: an acquisition module, a detection and tracking module, a processing module, and a straddling parking recognition module;
[0036] The acquisition module is used to acquire the monitoring video of the parking area captured by the monitoring device in real time;
[0037] The detection and tracking module is used to detect and track the target vehicle in the monitoring video and determine the movement state of the target vehicle;
[0038] The processing module is used to determine the positional relationship between the tracking frame of the target vehicle and the preset warning line when the moving state is the stationary state; the tracking frame is obtained by detecting and tracking the target vehicle; the warning line is set between each parking space in the parking area;
[0039] The straddle parking recognition module is used to determine the straddle parking recognition result of the target vehicle according to the position relationship and a preset position threshold.
[0040] In a third aspect, a computer device is provided in this embodiment, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method for identifying cross-parked vehicles as described in the first aspect when executing the computer program.
[0041] In a fourth aspect, in this embodiment, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method for identifying cross-parked vehicles described in the first aspect above is implemented.
[0042] Compared with the related art, the method, device, computer equipment and storage medium for identifying vehicle straddling parking provided in this embodiment obtain the monitoring video of the parking area shot by the monitoring equipment in real time; detect and track the target vehicle in the monitoring video to determine the moving state of the target vehicle; when the moving state is a stationary state, determine the position relationship between the tracking frame of the target vehicle and the preset warning line; the tracking frame is obtained by detecting and tracking the target vehicle; the warning line is set between each parking space in the parking area; according to the position relationship and the preset position threshold, the straddling parking identification result of the target vehicle is determined, which solves the problem in the related art that it is impossible to accurately identify whether the vehicle is straddling parked, and uses the position relationship between the tracking frame of the target vehicle and the preset warning line combined with the preset position threshold to accurately identify whether the vehicle is straddling parked, and has the characteristics of strong anti-interference ability.
[0043] Details of one or more embodiments of the present application are set forth in the following drawings and description to make other features, objects, and advantages of the present application more readily apparent. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0045] Figure 1 This is a hardware structure block diagram of a terminal device of a vehicle straddling parking identification method provided in an embodiment of the present application;
[0046] Figure 2is a flow chart of a method for identifying vehicle straddling parking provided by an embodiment of the present application;
[0047] Figure 3 It is a schematic diagram of the parking space chain list;
[0048] Figure 4 It is a schematic diagram of the monopole mapping method;
[0049] Figure 5 is a flowchart of step S220;
[0050] Figure 6 This is a schematic diagram of the detection box and tracking box in the diagonal distance calculation;
[0051] Figure 7 It is a schematic diagram of parking space status recognition;
[0052] Figure 8 is a flow chart of a method for identifying vehicle straddling parking provided by a preferred embodiment of the present application;
[0053] Fig. 9 It is a structural block diagram of a vehicle straddling parking identification device provided in one embodiment of the present application.
[0054] In the figure: 102, processor; 104, memory; 106, transmission device; 108, input and output device; 210, acquisition module; 220, detection and tracking module; 230, processing module; 240, cross-parking recognition module. DETAILED DESCRIPTION
[0055] In order to more clearly understand the purpose, technical solutions and advantages of the present application, the present application is described and illustrated below in conjunction with the accompanying drawings and embodiments.
[0056] Unless otherwise defined, the technical terms or scientific terms involved in this application shall have the general meaning understood by people with general skills in the technical field to which this application belongs. The words "one", "a", "the", "these" and the like in this application do not indicate a quantitative limitation, and they may be singular or plural. The terms "include", "comprise", "have" and any variants thereof involved in this application are intended to cover non-exclusive inclusions; for example, a process, method and system, product or device comprising a series of steps or modules (units) is not limited to the listed steps or modules (units), but may include unlisted steps or modules (units), or may include other steps or modules (units) inherent to these processes, methods, products or devices. The words "connect", "connected", "coupled" and the like involved in this application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The "multiple" involved in this application refers to two or more. "And / or" describes the association relationship of associated objects, indicating that there may be three relationships, for example, "A and / or B" may mean: A exists alone, A and B exist at the same time, and B exists alone. Generally, the character " / " indicates that the objects associated with each other are in an "or" relationship. The terms "first", "second", "third", etc. in this application are only used to distinguish similar objects and do not represent a specific ordering of the objects.
[0057] The method embodiment provided in this embodiment can be executed in a terminal, a computer or a similar computing device. For example, running on a terminal, Figure 1 FIG. 4 is a hardware structure block diagram of a terminal of the vehicle straddling parking identification method of this embodiment. Figure 1 As shown, the terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 and a memory 104 for storing data, wherein the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA. The above terminal may also include a transmission device 106 and an input and output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations shown.
[0058] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the vehicle straddling parking identification method in this embodiment. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, to implement the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0059] The transmission device 106 is used to receive or send data via a network. The above network includes a wireless network provided by a communication provider of the terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (Radio Frequency, referred to as RF) module, which is used to communicate with the Internet wirelessly.
[0060] In this embodiment, a method for identifying a vehicle parked in a cross-space manner is provided. Figure 2 FIG. 1 is a flow chart of a method for identifying a vehicle parked in a straddle position according to an embodiment of the present invention. Figure 2 As shown, the process includes the following steps:
[0061] Step S210, obtaining a monitoring video of the parking area captured by a monitoring device in real time;
[0062] Step S220, detecting and tracking the target vehicle in the monitoring video to determine the movement state of the target vehicle;
[0063] Step S230, when the moving state is the stationary state, determining the positional relationship between the tracking frame of the target vehicle and the preset warning line; the tracking frame is obtained by detecting and tracking the target vehicle; the warning line is set between each parking space in the parking area;
[0064] Step S240: determining the straddle parking recognition result of the target vehicle according to the position relationship and a preset position threshold.
[0065] Specifically, the vehicle straddling parking identification method provided in this embodiment is applicable to an identification system, which includes a monitoring device and a processor; wherein the monitoring device is arranged around the parking area and connected to the processor, and is used to shoot the monitoring video of the parking area in real time, and actively or passively transmit the shot monitoring video to the processor; the processor is used to execute the vehicle straddling parking identification method of each embodiment. Specifically, the monitoring device can be set on objects such as walls and pillars around the parking area. It is necessary to ensure that the parking area is within the field of view of the monitoring device, and there is no restriction on the installation location of the monitoring device. The monitoring device includes but is not limited to cameras, video cameras, and gun cameras, etc., and there is no restriction on this.
[0066] The parking area can be pre-set; for example, a user specifies a parking area, and the monitoring device is set at a suitable position so that the area is within the field of view of the monitoring device. Another example is to specify an area as the parking area in the area captured by the monitoring device. The parking area may include at least two parking spaces, and the above-mentioned method for identifying vehicles parked in a span can be executed to complete the identification of vehicles parked in a span in the parking area.
[0067] In this embodiment, after obtaining the monitoring video of the parking area captured by the monitoring device in real time, the target vehicle in the monitoring video is detected and tracked using a detection and tracking algorithm or a well-trained related neural network model, and the target vehicle in the monitoring video is locked. The moving state of the target vehicle can be determined by the movement displacement of the tracking frame of the target vehicle. Among them, the target vehicle refers to a vehicle parked in a parking space in the parking area, which can reduce the impact of passing vehicles on the recognition result. Among them, the moving state is divided into a moving state (which can be represented by the target static state bit V_static being 0) and a static state (which can be represented by the target static state bit V_static being 1). When the moving state is a moving state, the target static state bit V_static is set to 0, and step S220 is continued; until the moving state is a static state, at this time, the target static state bit V_static is set to 1, and then based on the monopole mapping method and the Euclidean distance measurement method or the well-trained related neural network model, the positional relationship between the tracking frame of the target vehicle and the preset warning line is efficiently and accurately determined.
[0068] Finally, the span parking recognition result of the target vehicle is determined based on the position relationship and the preset position threshold. The position threshold can be represented by k_parking_cross, which can be set according to the accuracy requirements of the application scenario. Different position thresholds can be set for different accuracies; for example, the position threshold k_parking_cross can be 0.6. If the position relationship meets the position threshold, the span parking recognition result of the target vehicle is span parking. Otherwise, the span parking recognition result of the target vehicle is non-span parking.
[0069] It should be noted that the monitoring image in the frame of monitoring video in which the moving state is the static state can be considered as the object to complete the recognition of vehicle cross-parking, and the final output cross-parking recognition result can be represented by cross-parking information; the cross-parking flag bit of the cross-parking information f_parking_cross is 1 to indicate cross-parking, and the cross-parking flag bit is 0 to indicate non-cross-parking. The cross-parking information can be updated to the parking space link list and reported together.
[0070] The implementation scheme in the related art is: monitor the changes of geomagnetic magnetic parameters in the parking space to be inspected through the geomagnetic sensor, and generate a corresponding driving signal to send to the microwave detection device, and the microwave detection device transmits a microwave signal of a certain frequency band and receives an echo signal according to the received driving signal. The parking space status of the parking space to be inspected is determined according to the quantitative relationship between the echo signal, the reference echo data of the parking space to be inspected, and the set microwave change threshold; however, this scheme cannot accurately identify whether the vehicle is parked across spaces. In this embodiment, through the above steps, first, a monitoring video of the parking area shot in real time by the monitoring equipment is obtained; then, the target vehicle in the monitoring video is detected and tracked to determine the moving state of the target vehicle; when the moving state is a stationary state, the positional relationship between the tracking frame of the target vehicle and the preset warning line is determined; the tracking frame is obtained by detecting and tracking the target vehicle; the warning line is set between each parking space in the parking area; after the vehicle is in a stationary state, it can enter the recognition of straddling parking, greatly reducing the interference of vehicle movement on the recognition result and improving the anti-interference ability; finally, according to the positional relationship and the preset position threshold, the straddling parking recognition result of the target vehicle is determined, and the position threshold can be flexibly adjusted to control the overall recognition accuracy of the vehicle straddling parking; thereby solving the problem in the related technology that it is impossible to accurately identify whether the vehicle is straddling parked.
[0071] The above steps are described in detail below:
[0072] In some of the embodiments, the method for identifying a vehicle parked in a cross-space manner further includes the following steps:
[0073] A parking space linked list corresponding to the number of parking spaces in the parking area is configured; the mounting information of each first node in the parking space linked list includes a parking space occupancy status flag, associated vehicle identity information, cross-space parking information, vehicle posture information, and license plate recognition results; the mounting information of the first node corresponds to the status attribute information of the parking space;
[0074] Based on the parking space chain list, the parking spaces in the parking area are managed.
[0075] Specifically, the parking space linked list is a pre-configured storage structure unit used to store the state attribute information of each parking space in the surveillance video; that is, the mounting information of each first node in the parking space linked list corresponds to the state attribute information of a parking space; so that the parking spaces in the parking area can be managed based on the parking space linked list, which is convenient for the use of subsequent reporting and other processes. Each first node of the parking space linked list corresponds to a parking space in the parking area; for example: if there are N parking spaces in the parking area, then there are N first nodes in the parking space linked list parking_list. The mounting information of each first node includes the berth occupation status flag p_status (with 1 and 0; 1 means occupied; 0 means free), the associated vehicle identity information (the tracking ID of the parked vehicle when the berth occupation status flag is occupied), the cross-parking information f_parking_cross (with the cross-parking flag p_cross of 1 and 0; 1 means cross-parking, 0 means non-cross-parking), the vehicle posture information (with the parking status p_posture of 0, 1 and 2, 0 means the target vehicle is parked forward; 1 means the target vehicle is parked backward; 2 means the target vehicle is parked sideways) and the license plate recognition result pr (a char type pointer pointing to the license plate recognition result of the target vehicle). Figure 3 As shown, the parking space linked list has 7 first nodes.
[0076] When the vehicle straddling parking recognition method is executed, the parking space linked list may be initialized first. In the initialized state, in the mounting information of each first node under the parking space linked list, except for the license plate pr part, the rest are all initialized to -1.
[0077] Through this embodiment, the identification results of parking spaces in the parking area are uniformly managed through the parking space chain list, which is convenient for subsequent use.
[0078] In some of the embodiments, the method for identifying a vehicle parked in a cross-space manner further includes the following steps:
[0079] Report the parking space list based on the preset reporting trigger frame number;
[0080] Based on the reported parking space list, the status attribute information of the parking spaces in the parking area is displayed.
[0081] Specifically, the reporting trigger frame number Falarm can be determined by controlling the event warning sensitivity coefficient α and the current video frame rate f of the monitoring video, and then the reporting frequency of the parking space list can be effectively controlled to match different needs. And by using the parking space list as the information carrier for reporting, the mounting information of the first node in the parking space list can be polled and checked, and the parking space occupancy status flag of each parking space in the parking area, the associated vehicle identity information, the cross-space parking information, the vehicle posture information and the license plate recognition results can be uploaded to the external monitoring system. In the external monitoring system, based on the reported parking space list, the status attribute information of the parking spaces in the parking area is displayed, so that users can intuitively view the status attribute information of each parking space to facilitate subsequent processing. Among them, the relationship between the reporting trigger frame number Falarm and the event warning sensitivity coefficient α can be expressed as:
[0082] Falarm=α×f.
[0083] In some embodiments, determining the positional relationship between the tracking frame of the target vehicle and the preset warning line in step S230 includes the following steps:
[0084] Map the tracking frame and warning line of the target vehicle to a unified coordinate system for comparison;
[0085] If the tracking frame and the warning line are in an intersecting state, the coordinates of the intersection of the tracking frame and the warning line are determined; and based on the coordinates of the intersection, the packetization ratio coefficient of the tracking frame and the warning line is determined; and the packetization ratio coefficient is used as the positional relationship.
[0086] Specifically, the tracking frame and warning line of the target vehicle are mapped to a unified coordinate system for comparison. Figure 4 As shown in the figure, the tracking frame and the warning line are set in a unified coordinate system, which are represented as rectangle AB and line segment MN respectively; the coordinates of rectangle AB (tracking frame) are represented as A(x a ,y a ) and B(x b ,y b ), set y a <y b ; The coordinates of the straight line MN (warning line) are expressed as M(x m ,y m ) and N(x n ,y n ), set y m <y n .
[0087] Then the straight line expression formula of line segment MN is:
[0088]
[0089] Among them, point P and point H are the intersection points of rectangle AB and line MN in the X-axis direction, and the coordinates of the intersection lines (R and S) are calculated; among them, R=max_y(M,H), S=min_y(N,P); that is, let R take the point with larger y value in (M,H), and S take the point with smaller y value in (N,P). If the intersection line is Figure 4 H and N in ; the coordinates of the intersection are the coordinates of T.
[0090] If rectangle AB and intersection line MN are in an intersecting state, then the tracking frame and warning line are in an intersecting state; at this time, the coordinates of the intersection point between the two (the coordinates of H and N) are calculated; otherwise, the tracking frame and warning line are deemed to be separated, and it is considered to be non-straddle parking.
[0091] The coordinates of the intersection point T are set as T(x t ,y t ), the packet throughput ratio coefficient k_contain between the tracking frame and the warning line can be expressed as:
[0092]
[0093] Where ∆d1 represents the enveloping distance between the tracking frame and the warning line; ∆d2 represents the length of the warning line.
[0094] Through this embodiment, based on the fused monopole mapping method and Euclidean distance measurement method, the throughput ratio coefficient between the tracking frame of the target vehicle and the preset warning line is accurately and efficiently calculated, and then combined with the position threshold to identify whether the vehicle is parked across spaces, thereby ensuring the stability and accuracy of recognition.
[0095] The above process can be considered as a fusion of the monopole mapping method and the Euclidean distance measurement method to quickly and accurately determine the positional relationship between the target vehicle's tracking frame and the preset warning line, and can also reduce the resource requirements for processing. Among them, the monopole mapping method can be replaced by other mapping methods (such as grayscale mapping method, chaos mapping method, etc.), and the Euclidean distance measurement method can be replaced by other distance measurement methods (such as cosine similarity distance measurement method, Manhattan distance measurement method, etc.), and there is no restriction on this.
[0096] In some of the embodiments, Figure 5 As shown, the detection and tracking of the target vehicle in the monitoring video and the determination of the moving state of the target vehicle in step S220 include the following steps:
[0097] Step S221, inputting the surveillance video into a well-trained deep learning network model to detect the target vehicle, and obtaining a detection frame and corresponding attribute information; the attribute information includes the detection frame coordinates and the first category;
[0098] Step S222, according to the detection frame, the corresponding attribute information and the preset tracking chain table, the target vehicle in the monitoring video is tracked in real time to obtain a tracking frame; the mounting information of each second node in the tracking chain table includes the tracking frame coordinates, the second category and the target vehicle identity information;
[0099] Step S223, within a preset number of frames for determining stability, the moving state of the target vehicle is determined according to the motion displacement of the tracking frame and a preset displacement threshold; the number of frames for determining stability is related to the current video frame rate of the monitoring video.
[0100] Specifically, for the detection of the target vehicle, a well-trained deep learning network model is used. The surveillance video is input into the well-trained deep learning network model to detect the target vehicle, and the detection frame and corresponding attribute information can be output, wherein the attribute information includes the detection frame coordinates and the first category; the first category includes 0, 1 and 2 l categories; wherein 0 indicates that the target vehicle is parked forward; 1 indicates that the target vehicle is parked backward; 2 indicates that the target vehicle is parked sideways. Among them, the deep learning network model includes but is not limited to the YOLO series (such as YOLOv5) network model, CNN network model, etc. Corresponding to different deep learning network models, relevant model training methods and pre-prepared training samples can be used for training, and no examples are given for this.
[0101] Using a tracking algorithm or a well-trained related neural network model, the target vehicle in the surveillance video is tracked in real time according to the detection frame, the corresponding attribute information and the preset tracking list, and the tracking frame of the target vehicle in the surveillance video is obtained; wherein the tracking list track_list is pre-configured, and the mounting information of each second node node_info in the tracking list track_list includes the tracking frame coordinate rect, the second category class and the target vehicle identity information; the length of the tracking list is the maximum number of tracked vehicles, for example: the length of the tracking list is 20 (20 second nodes); then it means that the maximum number of tracked vehicles is 20. Among them, the second node is the node of the tracking list; the first node is the node of the parking list, and the mounting information of the two is also different.
[0102] In order to improve the robustness and sensitivity of mobile state recognition, the mobile state of the target vehicle is accurately determined according to the motion displacement of the tracking frame and the preset displacement threshold within the preset stable recognition frame number. For example: within the stable recognition frame number cnt_static, if the motion displacement of the tracking frame is less than the displacement threshold, the target vehicle is considered to be in a stationary state, and the target stationary state bit V_static under the target vehicle ID is set to 1, and the target vehicle is considered to be in a stationary state, otherwise the target stationary state bit V_static is set to 0. Preferably, the displacement threshold is 10 pixels.
[0103] Among them, the expression of the number of frames for judging stability is:
[0104] cnt_static = λ × f;
[0105] In the formula, λ is the stability recognition coefficient. Adjusting the stability recognition coefficient can control the sensitivity of the target vehicle motion state judgment to meet different usage requirements.
[0106] Through this embodiment, the moving state of the target vehicle can be quickly determined, and the sensitivity of the determination can be adjusted while ensuring the accuracy of the determination.
[0107] In some of the embodiments, the step S222 tracks the target vehicle in the surveillance video in real time according to the detection frame, the corresponding attribute information and the preset tracking chain table to obtain the tracking frame, including the following steps:
[0108] Based on the weighted fusion measurement method of diagonal distance and rectangular IOU intersection and union ratio, the attribute information is associated and matched with the second node in the tracking list;
[0109] If the association matching fails, the vehicle corresponding to the detection frame is used as the new target vehicle, and the detection frame is used as the new tracking frame; the attribute information is updated to the tracking list, and the corresponding tracking identity information is assigned;
[0110] If the association match is successful, the corresponding second node in the tracking list is updated based on the attribute information to determine the corresponding tracking frame.
[0111] Specifically, in this embodiment, the tracking algorithm is a metric based on the weighted fusion of the diagonal distance and the intersection and union ratio of the rectangular IOU; using this metric, the attribute information is associated and matched with the second node in the tracking list; if the association match is successful, the attribute information of the current detection frame (detection frame coordinates and the first category) is used to update the corresponding second node in the tracking list, and the detection frame is associated with the tracking frame in the tracking list to obtain a new tracking frame. If the association match fails, it means that there is no tracking frame associated with the detection frame in the tracking list; the vehicle corresponding to the detection frame is used as the new target vehicle, and the detection frame is used as the new tracking frame; the attribute information of the detection frame (detection frame coordinates and the first category) is initialized as the new second node and updated to the tracking list, and the corresponding tracking identity information is assigned.
[0112] Among them, the implementation process of the measurement method based on the weighted fusion of diagonal distance and rectangular IOU intersection and union ratio is as follows:
[0113] Set the upper left corner coordinates of the detection box BBox_od output in step S221 to (xod_ul, yod_ul), and the lower right corner coordinates to (xod_lr, yod_lr), the upper left corner coordinates of the tracking box BBox_track in the tracking list to (xtrack_ul, ytrack_ul), and the lower right corner coordinates to (xtrack_lr, ytrack_lr), then the implementation process of the diagonal distance is:
[0114] Determine whether the current detection box BBox_od and the tracking box BBox_track have an intersection. The intersection determination formula is:
[0115]
[0116] If x1≤x2; y1≤y2, the detection frame and the tracking frame are in an intersecting state, and the diagonal distance calculation formula is:
[0117]
[0118] Where ∆l1 refers to the distance between the coordinate point of the upper left corner of the tracking box and the coordinate point of the upper left corner of the detection box (e.g. Figure 6 AC in the figure), ∆l2 refers to the distance between the coordinate point of the lower right corner of the tracking box and the coordinate point of the lower right corner of the detection box (such as Figure 6 BD in the figure), ∆l refers to the distance between the coordinate point of the upper left corner of the tracking box and the coordinate point of the lower right corner of the detection box (such as Figure 6 in AD).
[0119] Among them, the diagonal distance correlation score between the tracking box and the detection box associate The expression is:
[0120]
[0121] Among them, the calculation formula of the rectangular intersection-over-union ratio (IOU) between the tracking box and the detection box is:
[0122]
[0123] In the formula, w od Indicates the width of the detection box; h od Indicates the height of the detection box; w track Indicates the width of the tracking box; h track Indicates the height of the tracking box.
[0124] The calculation formula for the overlapping area between the tracking frame and the detection frame is:
[0125]
[0126] In the formula, w overIndicates the width of the overlapping rectangle; h over Indicates the height of the overlapping rectangle; s over Represents the area of the overlapping rectangles.
[0127] Among them, the expression of the rectangular intersection-over-union ratio IOU is:
[0128]
[0129] In the formula, s od Represents the area of the detection box, which is determined by the width and height of the detection box; s track Indicates the area of the tracking box, which is determined by the width and height of the tracking box.
[0130] Therefore, the correlation matching score between the tracking frame and the detection frame can be determined match The expression is:
[0131]
[0132] In the formula, ρ and β represent the diagonal distance and the rectangle intersection ratio, respectively, and the weight coefficients of the two are preferred. ρ and β are both 0.5; if the correlation matching score match Greater than the preset correlation threshold Thresh match ; then the association and matching between the two is considered successful, and the detection frame with the highest association matching degree is selected from all the detection frames associated with the tracking frame as the tracking frame; otherwise, the association and matching between the two is considered failed.
[0133] Through this embodiment, the problem of false association caused by a single matching method is effectively improved, and the accuracy of the association result is guaranteed.
[0134] In some of the embodiments, the method for identifying a vehicle parked in a cross-space manner further includes the following steps:
[0135] Based on the attribute information, the vehicle posture of the target vehicle in the continuous frames is stored in the vehicle posture array in the parking space linked list;
[0136] According to the posture array and the preset frame number, the vehicle posture information in the parking space list is determined.
[0137] Specifically, the second node of the parking space linked list is also provided with a vehicle posture array; the vehicle posture array is used to store the vehicle posture of the same target vehicle in consecutive frames; for example: the vehicle posture of the target vehicle in 8 consecutive frames is (2, 2, 0, 0, 0, 0, 0), respectively; then the vehicle posture is stored in the vehicle posture array in the parking space linked list. If the preset number of frames is 6 frames, then the last 6 vehicle postures are randomly or selected from the posture array (random selection in the example, 2, 0, 0, 0, 0, 0), at this time, the vehicle posture 0 with the largest number of the same number (indicating that the target vehicle is parked forward) is selected as the vehicle posture information in the final parking space linked list.
[0138] Through this embodiment, the recognition accuracy of the vehicle posture information in the parking space list is further guaranteed.
[0139] In some of the embodiments, the method for identifying a vehicle parked in a cross-space manner further includes the following steps:
[0140] Polling to determine the coverage ratio coefficient of the parking space status recognition area and the tracking frame; the parking space status recognition area is a designated area in each parking space in the parking area;
[0141] According to the coverage ratio coefficient and the preset ratio threshold, the parking space occupancy status flag in the parking space chain list is determined.
[0142] Specifically, Figure 7 As shown, the parking space status recognition area is pre-set, which is a designated area in each parking space in the parking area. Polling is performed to calculate the coverage ratio coefficient p_cover of each parking space status recognition area parking_roi and the tracking frame; and then the parking space occupation status flag p_status is obtained according to the numerical relationship between the coverage ratio coefficient p_cover and the ratio threshold. The parking space occupation status flag p_status (has 1 and 0; 1 indicates occupation; 0 indicates idle).
[0143] The minimum outer rectangle of the parking space status recognition area is used as the occupancy recognition area to calculate the coverage ratio coefficient.
[0144] Assume that the coordinates of the center of the occupied recognition area are C_r(x roi ,y roi ), the radius is r, then the coordinates of the upper left corner of the circumscribed rectangle are C_rect_ul(x roi -r,y roi -r), the coordinate of the lower right corner is C_rect_lr(x roi +r,y roi+r), through the intersection determination formula in step S222, the calculation formula of the rectangular intersection-over-union ratio IOU and the calculation formula of the overlapping area, the positional relationship between the area S_ot in the tracking frame and the occupied identification area S_roi and the area S_cover of the intersection between the two can be determined.
[0145] Therefore, the coverage ratio coefficient p_cover can be expressed as:
[0146]
[0147] Through this embodiment, compared with using the entire parking space as the occupancy identification area, the method of covering the proportional coefficient is simpler and more efficient.
[0148] The present embodiment is described and illustrated below through preferred embodiments.
[0149] Figure 8 4 is a flow chart of the method for identifying straddle-parked vehicles according to the preferred embodiment of the present invention.
[0150] Step S81, configure parameters and initialize; the parameters include a parking space link list, a tracking link list, and a parking space status identification area, etc.
[0151] Step S82, obtaining the monitoring video of the parking area captured by the monitoring device in real time.
[0152] Step S83: Input the surveillance video into a well-trained deep learning network model to detect the target vehicle and obtain the detection frame and corresponding attribute information.
[0153] Step S84, tracking the target vehicle in the monitoring video in real time according to the detection frame, the corresponding attribute information and the preset tracking chain table to obtain a tracking frame.
[0154] Step S85, within a preset number of stability determination frames, the moving state of the target vehicle is determined according to the motion displacement of the tracking frame and a preset displacement threshold.
[0155] Step S86, determining whether the moving state of the target vehicle is a stationary state; if the moving state is a moving state, returning to step S83.
[0156] Step S87, if the moving state is the stationary state, determine the positional relationship between the tracking frame of the target vehicle and the preset warning line; and determine the cross-parking recognition result of the target vehicle according to the positional relationship and the preset position threshold.
[0157] Step S88, based on the attribute information, storing the vehicle posture of the target vehicle in the continuous frames into the vehicle posture array in the parking space linked list; determining the vehicle posture information in the parking space linked list according to the posture array and the preset frame number.
[0158] Step S89, polling to determine the coverage ratio coefficient of the parking space status identification area and the tracking frame; the parking space status identification area is a designated area in each parking space in the parking area; according to the coverage ratio coefficient and a preset ratio threshold, determine the parking space occupancy status flag in the parking space chain list.
[0159] Step S90: reporting the parking space list based on a preset reporting trigger frame number.
[0160] Through this embodiment, the identification of vehicles parked across spaces in a parking area is realized, and the parking space list is flexibly reported and warned, effectively regulating the parking environment and having anti-interference capabilities; and the relevant algorithms used can ensure the accuracy and flexibility of the identification results.
[0161] It should be noted that the steps shown in the above process or the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0162] In this embodiment, a vehicle straddling parking recognition device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. The terms "module", "unit", "subunit", etc. used below can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0163] Fig. 9 : is a structural block diagram of the vehicle straddling parking recognition device of this embodiment, such as Fig. 9 As shown, the device includes: an acquisition module 210, a detection and tracking module 220, a processing module 230 and a cross-parking identification module 240;
[0164] An acquisition module 210 is used to acquire a monitoring video of a parking area captured by a monitoring device in real time;
[0165] The detection and tracking module 220 is used to detect and track the target vehicle in the monitoring video and determine the movement state of the target vehicle;
[0166] The processing module 230 is used to determine the positional relationship between the tracking frame of the target vehicle and the preset warning line when the moving state is the stationary state; the tracking frame is obtained by detecting and tracking the target vehicle; the warning line is set between each parking space in the parking area;
[0167] The straddle parking recognition module 240 is used to determine the straddle parking recognition result of the target vehicle according to the position relationship and a preset position threshold.
[0168] Through the above device, the problem in the related art that it is impossible to accurately identify whether a vehicle is parked across spaces is solved. The position relationship between the tracking frame of the target vehicle and the preset warning line is combined with a preset position threshold to accurately identify whether the vehicle is parked across spaces, and it has the characteristic of strong anti-interference ability.
[0169] In some of the embodiments, the processing module 230 is further used to map the tracking frame and the warning line of the target vehicle to a unified coordinate system for comparison;
[0170] If the tracking frame and the warning line are in an intersecting state, the coordinates of the intersection of the tracking frame and the warning line are determined; and based on the coordinates of the intersection, the packetization ratio coefficient of the tracking frame and the warning line is determined; and the packetization ratio coefficient is used as the positional relationship.
[0171] In some of the embodiments, the apparatus for identifying a vehicle that is parked across spaces further includes a configuration module;
[0172] A configuration module is used to configure a parking space linked list corresponding to the number of parking spaces in the parking area; the mounting information of each first node in the parking space linked list includes a parking space occupancy status flag, associated vehicle identity information, cross-space parking information, vehicle posture information, and license plate recognition results; the mounting information of the first node corresponds to the status attribute information of the parking space;
[0173] Based on the parking space chain list, the parking spaces in the parking area are managed.
[0174] In some of the embodiments, the device for identifying a vehicle parked across spaces further includes a reporting module;
[0175] A reporting module, used to report the parking space list based on a preset reporting trigger frame number;
[0176] Based on the reported parking space list, the status attribute information of the parking spaces in the parking area is displayed.
[0177] In some of the embodiments, the detection and tracking module 220 is further used to input the surveillance video into a well-trained deep learning network model to detect the target vehicle, and obtain a detection frame and corresponding attribute information; the attribute information includes the detection frame coordinates and the first category;
[0178] According to the detection frame, the corresponding attribute information and the preset tracking chain table, the target vehicle in the monitoring video is tracked in real time to obtain the tracking frame; the mounting information of each second node in the tracking chain table includes the tracking frame coordinates, the second category and the target vehicle identity information;
[0179] Within the preset stability identification frame number, the moving state of the target vehicle is determined according to the motion displacement of the tracking frame and the preset displacement threshold; the stability identification frame number is related to the current video frame rate of the monitoring video.
[0180] In some of the embodiments, the detection and tracking module 220 is further used to associate and match the attribute information with the second node in the tracking list based on a metric method of weighted fusion of diagonal distance and rectangular IOU intersection and union ratio;
[0181] If the association matching fails, the vehicle corresponding to the detection frame is used as the new target vehicle, and the detection frame is used as the new tracking frame; the attribute information is updated to the tracking list, and the corresponding tracking identity information is assigned;
[0182] If the association match is successful, the corresponding second node in the tracking list is updated based on the attribute information to determine the corresponding tracking frame.
[0183] In some of the embodiments, the vehicle straddling parking recognition device further includes a vehicle posture recognition module;
[0184] A vehicle posture recognition module is used to store the vehicle posture of the target vehicle in the continuous frames into the vehicle posture array in the parking space linked list based on the attribute information;
[0185] According to the posture array and the preset frame number, the vehicle posture information in the parking space list is determined.
[0186] In some of the embodiments, the vehicle straddling parking identification device further includes a parking space occupancy identification module;
[0187] The parking space occupancy identification module is used to poll and determine the coverage ratio coefficient of the parking space status identification area and the tracking frame; the parking space status identification area is a designated area in each parking space in the parking area;
[0188] According to the coverage ratio coefficient and the preset ratio threshold, the parking space occupancy status flag in the parking space chain list is determined.
[0189] It should be noted that the above modules can be functional modules or program modules, and can be implemented by software or hardware. For modules implemented by hardware, the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0190] In this embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0191] Optionally, the computer device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0192] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:
[0193] S1, obtaining a monitoring video of the parking area captured by a monitoring device in real time;
[0194] S2, detecting and tracking the target vehicle in the surveillance video to determine the moving state of the target vehicle;
[0195] S3, when the moving state is the stationary state, determining the positional relationship between the tracking frame of the target vehicle and the preset warning line; the tracking frame is obtained by detecting and tracking the target vehicle; the warning line is set between each parking space in the parking area;
[0196] S4, determining a straddle parking recognition result of the target vehicle according to the position relationship and a preset position threshold.
[0197] It should be noted that the specific examples in this embodiment can refer to the examples described in the above embodiments and optional implementation modes, and will not be repeated in this embodiment.
[0198] In addition, in combination with the vehicle straddling parking identification method provided in the above embodiments, a storage medium can also be provided in this embodiment to implement the vehicle straddling parking identification method. The storage medium stores a computer program; when the computer program is executed by a processor, any vehicle straddling parking identification method in the above embodiments is implemented.
[0199] It should be understood that the specific embodiments described herein are only used to explain the application, rather than to limit it. Based on the embodiments provided in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the protection scope of this application.
[0200] Obviously, the drawings are only some examples or embodiments of the present application. For ordinary technicians in the field, the present application can also be applied to other similar situations based on these drawings without creative work. In addition, it is understandable that although the work done in this development process may be complicated and lengthy, for ordinary technicians in the field, certain changes in design, manufacturing or production based on the technical content disclosed in this application are only conventional technical means and should not be regarded as insufficient content disclosed in this application.
[0201] The term "embodiment" in this application refers to a specific feature, structure or characteristic described in conjunction with the embodiment that can be included in at least one embodiment of the present application. The appearance of this phrase in various locations in the specification does not necessarily mean the same embodiment, nor does it mean that it is mutually exclusive with other embodiments and is independent or optional. It is clearly or implicitly understood by those of ordinary skill in the art that the embodiments described in this application can be combined with other embodiments without conflict.
[0202] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of patent protection. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the scope of protection of the present application. Therefore, the scope of protection of the present application shall be subject to the attached claims.
Claims
1. A method for identifying vehicles parked in a cross-space manner, characterized in that: include: Obtain surveillance video of the parking area captured by surveillance equipment in real time; Detecting and tracking the target vehicle in the surveillance video to determine the movement state of the target vehicle; When the moving state is a stationary state, determining a positional relationship between a tracking frame of the target vehicle and a preset warning line; The tracking frame is obtained by detecting and tracking the target vehicle; the warning line is set between each parking space in the parking area; Determining a straddle parking recognition result of the target vehicle according to the position relationship and a preset position threshold; The step of detecting and tracking the target vehicle in the surveillance video and determining the movement state of the target vehicle includes: Inputting the surveillance video into a well-trained deep learning network model to detect the target vehicle, and obtaining a detection frame and corresponding attribute information; the attribute information includes the detection frame coordinates and the first category; According to the detection frame, the corresponding attribute information and the preset tracking chain table, the target vehicle in the monitoring video is tracked in real time to obtain a tracking frame; the mounting information of each second node in the tracking chain table includes the tracking frame coordinates, the second category and the target vehicle identity information; Within a preset stability identification frame number, determining the moving state of the target vehicle according to the motion displacement of the tracking frame and a preset displacement threshold; the stability identification frame number is related to the current video frame rate of the monitoring video; According to the detection frame, the corresponding attribute information and the preset tracking chain table, the target vehicle in the monitoring video is tracked in real time to obtain a tracking frame, including: Based on a metric method of weighted fusion of diagonal distance and rectangular IOU intersection and union ratio, the attribute information is associated and matched with the second node in the tracking list; If the association match fails, the vehicle corresponding to the detection frame is used as the new target vehicle, and the detection frame is used as the new tracking frame; the attribute information is updated to the tracking linked list, and the corresponding tracking identity information is assigned; If the association match is successful, then based on the attribute information, the corresponding second node in the tracking chain table is updated to determine the corresponding tracking frame.
2. The method for identifying vehicle straddling parking according to claim 1, characterized in that: Based on the fused monopole mapping method and the Euclidean distance measurement method, the positional relationship between the tracking frame of the target vehicle and the preset warning line is determined, including: Mapping the tracking frame and the warning line of the target vehicle to a unified coordinate system for comparison; If the tracking frame and the warning line are in an intersecting state, the coordinates of the intersection of the tracking frame and the warning line are determined; and based on the coordinates of the intersection, the packet ratio coefficient of the tracking frame and the warning line is determined; and the packet ratio coefficient is used as the positional relationship.
3. The method for identifying a vehicle parked in a cross-space according to claim 1, characterized in that: The method further comprises: A parking space linked list corresponding to the number of parking spaces in the parking area is configured; the mounting information of each first node in the parking space linked list includes a parking space occupancy status flag, associated vehicle identity information, cross-space parking information, vehicle posture information, and license plate recognition results; the mounting information of the first node corresponds to the status attribute information of the parking space; Based on the parking space chain list, the parking spaces in the parking area are managed.
4. The method for identifying vehicle straddling parking according to claim 3, characterized in that: The method further comprises: Reporting the parking space list based on a preset reporting trigger frame number; Based on the reported parking space linked list, the status attribute information of the parking spaces in the parking area is displayed.
5. The method for identifying vehicle straddling parking according to claim 1, characterized in that: The method further comprises: Based on the attribute information, storing the vehicle posture of the target vehicle in consecutive frames into a vehicle posture array in a parking space linked list; According to the posture array and the preset frame number, the vehicle posture information in the parking space linked list is determined.
6. The method for identifying vehicle straddling parking according to claim 1, characterized in that: The method further comprises: Polling to determine the coverage ratio coefficient of the parking space status recognition area and the tracking frame; the parking space status recognition area is a designated area in each of the parking spaces in the parking area; According to the coverage ratio coefficient and a preset ratio threshold, a parking space occupancy status flag in the parking space chain list is determined.
7. A vehicle straddling parking recognition device, characterized in that: include: Acquisition module, detection and tracking module, processing module and cross-parking recognition module; The acquisition module is used to acquire the monitoring video of the parking area captured by the monitoring device in real time; The detection and tracking module is used to detect and track the target vehicle in the monitoring video and determine the movement state of the target vehicle; The detection and tracking module is further used to input the monitoring video into a well-trained deep learning network model to detect the target vehicle and obtain a detection frame and corresponding attribute information; The attribute information includes the detection frame coordinates and the first category; According to the detection frame, the corresponding attribute information and the preset tracking chain table, the target vehicle in the monitoring video is tracked in real time to obtain a tracking frame; The mounting information of each second node in the tracking linked list includes tracking frame coordinates, a second category, and target vehicle identity information; Within a preset stability identification frame number, determining the moving state of the target vehicle according to the motion displacement of the tracking frame and a preset displacement threshold; the stability identification frame number is related to the current video frame rate of the monitoring video; The detection and tracking module is further used to associate and match the attribute information with the second node in the tracking linked list based on a metric method of weighted fusion of diagonal distance and rectangular IOU intersection and union ratio; If the association matching fails, the vehicle corresponding to the detection frame is used as the new target vehicle, and the detection frame is used as the new tracking frame; Updating the attribute information into the tracking linked list and assigning corresponding tracking identity information; If the association match succeeds, then based on the attribute information, the corresponding second node in the tracking chain table is updated to determine the corresponding tracking frame; The processing module is used to determine the positional relationship between the tracking frame of the target vehicle and the preset warning line when the moving state is a stationary state; The tracking frame is obtained by detecting and tracking the target vehicle; The warning line is arranged between each parking space in the parking area; The straddle parking recognition module is used to determine the straddle parking recognition result of the target vehicle according to the position relationship and a preset position threshold.
8. A computer device comprising a memory and a processor, characterized in that: A computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps of the method for identifying cross-parking of a vehicle according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for identifying a vehicle that is straddled parked are implemented as claimed in any one of claims 1 to 6.
Citation Information
Patent Citations
Parked vehicle positioning method and system, storage medium and electronic equipment
CN114255584A
Vehicle parking state detection method and device, electronic equipment and storage medium
CN115797906A
Parking space state identification method and device, electronic equipment and storage medium
CN117152683A
Multi-parking-space management and control method, device and equipment and storage medium
CN117877311A
Parking section recognition device
JP2020004368A
