WO2023246720A1 - Roadside parking detection method, roadside parking system, and electronic device - Google Patents

Roadside parking detection method, roadside parking system, and electronic device Download PDF

Info

Publication number
WO2023246720A1
WO2023246720A1 PCT/CN2023/101179 CN2023101179W WO2023246720A1 WO 2023246720 A1 WO2023246720 A1 WO 2023246720A1 CN 2023101179 W CN2023101179 W CN 2023101179W WO 2023246720 A1 WO2023246720 A1 WO 2023246720A1
Authority
WO
WIPO (PCT)
Prior art keywords
vehicle
parking
roadside
detection model
key point
Prior art date
Application number
PCT/CN2023/101179
Other languages
French (fr)
Chinese (zh)
Inventor
管文龙
徐博文
神克乐
胡露露
江璐
龙一民
陈新
周浩
荆碧晨
Original Assignee
阿里云计算有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里云计算有限公司 filed Critical 阿里云计算有限公司
Publication of WO2023246720A1 publication Critical patent/WO2023246720A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/50Context or environment of the image
    • G06V20/52Surveillance or monitoring of activities, e.g. for recognising suspicious objects
    • G06V20/54Surveillance or monitoring of activities, e.g. for recognising suspicious objects of traffic, e.g. cars on the road, trains or boats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/82Arrangements for image or video recognition or understanding using pattern recognition or machine learning using neural networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/94Hardware or software architectures specially adapted for image or video understanding
    • G06V10/95Hardware or software architectures specially adapted for image or video understanding structured as a network, e.g. client-server architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/96Management of image or video recognition tasks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images
    • G06V20/625License plates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/07Target detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V2201/00Indexing scheme relating to image or video recognition or understanding
    • G06V2201/08Detecting or categorising vehicles

Definitions

  • the present application relates to the field of image processing technology, and in particular to a roadside parking detection method, system and electronic equipment.
  • the present application provides a roadside parking detection method, system and electronic device that solve the above problems or at least partially solve the above problems.
  • a roadside parking detection method is provided. This method is suitable for roadside equipment.
  • the specific methods include:
  • the determination result is associated with the vehicle identification as roadside parking data of the vehicle.
  • a roadside parking detection method works for services terminal, the method includes:
  • training samples in the training set include a sample image, a first label and a second label; the first label is the vehicle identification of the vehicle in the sample image, and the second label is the sample Key point information of the vehicle in the picture;
  • the trained multi-task detection model is sent to the roadside device, so that the roadside device uses the multi-task detection model to detect the collected images.
  • a roadside parking system including:
  • the server is used to train the multi-task detection model using the training set
  • Roadside equipment connected to the server, is used to obtain the multi-task detection model that has completed training from the server; collect images of vehicles parked on the roadside; use the multi-task detection model to detect the images to Correlate and output vehicle identification and key point information; determine whether the vehicle meets the parking requirements based on the key point information;
  • the determination result is associated with the vehicle identification as roadside parking data of the vehicle.
  • a roadside parking detection method is provided. This method can be applied to roadside equipment.
  • the methods include:
  • a parking bill is determined based on the vehicle identification, the parking duration and the determination result.
  • an electronic device is also provided.
  • the electronic device includes a memory and a processor; the memory is used to store one or more computer instructions.
  • the one or more computer instructions are executed by the processor, the road vehicle parking provided by the above embodiments can be realized. Steps in the detection method.
  • each embodiment of this application uses a multi-task detection model to detect the collected images of vehicles parked on the roadside to correlate and output vehicle identification and key point information; that is, each embodiment of this application uses multiple machine learning Tasks such as vehicle identification (such as license plate) detection tasks and vehicle key point detection tasks are integrated into one In the multi-task detection model; the multi-task detection model simultaneously outputs associated vehicle identification, vehicle key point information and other vehicle-related features, which reduces the overhead of calling and executing multiple independent tasks separately; in addition, the multi-task detection model can be used once The results such as vehicle identification and vehicle key point information are associated and output to the inference, which avoids the matching process after the execution of multiple independent tasks.
  • vehicle identification such as license plate
  • the technical solution provided by the embodiment of the present application has high calculation efficiency and good detection accuracy. sex. With more accurate detection results, automated management of roadside parking can be realized. It can also determine whether the vehicle meets the parking requirements based on the key point information of the vehicle, so as to handle parking pressure, cross-space parking and other vehicles accordingly. .
  • Figure 1 is a schematic diagram of a roadside parking system provided by an embodiment of the present application.
  • Figure 2 is a schematic flow chart of a roadside parking detection method provided by an embodiment of the present application.
  • Figure 3 is a schematic structural diagram of the principle of the multi-task detection model provided in an embodiment of the present application.
  • Figure 4 is a schematic diagram illustrating the image detection process provided by a multi-task detection model in an embodiment of the present application
  • Figure 5 is a schematic flow chart of a roadside parking detection method provided by another embodiment of the present application.
  • Figure 6 is a schematic flow chart of a roadside parking detection method provided by another embodiment of the present application.
  • Figure 7 is a schematic structural diagram of a roadside parking detection device provided by an embodiment of the present application.
  • Figure 8 is a schematic structural diagram of a roadside parking detection device provided by another embodiment of the present application.
  • Figure 9 is a schematic structural diagram of a roadside parking detection device provided by another embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • Figure 1 shows a schematic diagram of a roadside parking system.
  • the roadside parking system in this embodiment may include but is not limited to: a server 11 and a roadside device 12 .
  • the roadside equipment 12 may include but is not limited to: image acquisition device, storage device, networking device, power supply device, etc.
  • the image collection equipment can be erected on the roadside using street lamp poles or other brackets to collect images, videos, etc. in the parking space area set along the roadside.
  • the image acquisition device may have computing capabilities, such as image recognition capabilities, etc.
  • the roadside equipment 12 further includes: a computing device connected to the image acquisition device for image recognition, data processing, etc.
  • the server 11 may be a server deployed at the management center, a server cluster, a virtual server or a cloud server deployed on a physical machine, etc., which is not limited in this embodiment.
  • the roadside parking system may also include: one or more clients 13, display screens 14, network video recorders 15 (Network Video Recorder, NVR, etc.), etc.
  • the client 13 can be connected to the server 11 and can provide query services for users (such as staff), such as retrieving roadside parking images, roadside payment records, etc. from the server.
  • the display screen 14 may be used to display images or videos of corresponding roadside parking areas collected by the roadside equipment. NVR is used to work with roadside equipment to complete the recording, storage and forwarding functions of images and videos.
  • the roadside device 12 is used to collect images or videos of the monitoring area, and has image or video analysis technology to implement image or video monitoring and target object (i.e., vehicle) tracking and identification functions.
  • the roadside equipment 12 may also have a network connection function to transmit the images or videos collected by the image collection device and the processed data to the server 11 through the network.
  • the server 11 receives the images, data, etc. uploaded by the roadside equipment at the monitoring points of each road section, and has a database function to store the images, data, etc. uploaded by the roadside equipment at the monitoring points of each road section, and provide them to, for example, time charging, staff Visual operations (such as calling and viewing through the client 13) and other management functions.
  • the image collection equipment in the roadside equipment can be installed on the roadside, and its image collection perspective is aimed at the roadside parking space, and can capture images or videos of vehicles parked in its controlled parking spaces within the field of view.
  • Roadside equipment can implement vehicle identity recognition functions, vehicle behavior recognition, etc. Among them, vehicle identity recognition requires identifying the vehicle license plate number that triggers evidence collection in the extracted key frames or photographed evidence collection images when the vehicle is parked or driven away, and the vehicle identification is obtained, which is used as the basis for generating parking amounts for parked vehicles in the background.
  • Vehicle identity recognition requires identifying four behaviors during vehicle parking: starting to park, vehicle parking in, starting to drive out, and vehicle driving away.
  • the purpose of judging the starting of parking and starting of driving out is to predict the parking and driving out behaviors before the vehicle parks into the parking space (or berth) or leaves the monitoring area, and is used to extract key frames or trigger the image acquisition device. Collect evidence to identify the vehicle's identity, so as to avoid the problem of the vehicle parking in the parking space, causing obstruction or driving out of the monitoring area, making it impossible to identify the vehicle's identity; judging the parking and driving behavior is to determine the time when the vehicle parked or left, which is used Calculate parking duration.
  • this embodiment proposes key point information based on the vehicle (such as some pixels that represent the vehicle's occupancy, such as pixels where some wheels are in contact with the ground point) to make judgments.
  • the roadside equipment 12 in this embodiment is used to collect images of vehicles parked on the roadside; use a multi-task detection model to detect the images to correlate and output vehicle identification and key point information; according to the key point information, Determine whether the vehicle meets the parking space requirements; associate the determination result with the vehicle identification as the roadside parking data of the vehicle.
  • the multi-task detection model utilized by the roadside device 12 can be deployed locally.
  • the server 11 is responsible for training the multi-task detection model using the training set to continuously improve the capabilities of the multi-task detection model.
  • the roadside device 12 may obtain the trained multi-task detection model from the server periodically or after receiving a model update instruction sent by the server.
  • the embodiments of this application integrate vehicle key point information detection tasks, vehicle identification detection tasks, vehicle detection tasks, etc. into a multi-task detection model, thereby forming a new multi-task learning paradigm with performance and A better balance can be achieved in effect.
  • the technical solution provided by the embodiment of the present application uses the anchor point of the vehicle detection frame as the regression starting point of the vehicle detection frame and vehicle key point information.
  • the vehicle key point information and vehicle detection The boxes are tied directly together.
  • the vehicle key point information may be the key point information of the vehicle chassis, or further, the key point information corresponding to multiple wheels on the vehicle chassis.
  • the training sample allocation stage the vehicle key point information and the vehicle detection frame are bound. Therefore, the training sample is used to train the multi-task detection model.
  • the trained multi-task detection model can output the vehicle simultaneously in one forward inference. Detection frame, vehicle key point information and vehicle identification.
  • the server 11 is used to train a multi-task detection model.
  • the trained multi-task detection model can be deployed in the roadside device 12, that is, the computing tasks are decentralized to the edge device. Specifically, in this embodiment:
  • the server 11 is used to train the multi-task detection model using the training set.
  • the roadside device 12 is connected to the server 11 and is used to obtain the trained multi-task detection model from the server 11; collect images of vehicles parked on the roadside; and use the multi-task detection model to perform processing on the images. Detect and output the vehicle identification and key point information by association; determine whether the vehicle meets the parking requirements based on the key point information; associate the determination result with the vehicle identification as the roadside parking data of the vehicle.
  • the roadside parking data can be sent to the server 11 in real time, or can be stored locally on the roadside device for calculating the vehicle's parking bill or waiting for the server to pull it.
  • the image detected by the roadside device 12 using the multi-task detection model mentioned above may be a frame in the video collected by the roadside device 12 .
  • the roadside device 12 can also use the multi-task detection model to simultaneously detect the vehicle's behavior information, vehicle identification and key point information, so as to send the associated output information to the server, and the server can calculate the parking bill of the vehicle or Itself calculates the parking bill based on the information from the associated output.
  • the roadside equipment 12 described in this embodiment can also be used for:
  • the state is a parking state
  • the state is a parking state
  • the leaving time is determined, and the leaving time is associated with the vehicle identification.
  • the roadside equipment 12 can also be used to: send the parking start time, the determination result of whether the vehicle meets the parking requirements and the departure time to the server 11, and the server 11 based on the received data , determine the parking bill for that vehicle.
  • the roadside device 12 is also used to: calculate the parking bill of the vehicle based on the parking start time, the determination result of whether the vehicle meets the parking requirements and the departure time; send the parking bill to the server, The server sends the parking bill to the corresponding user client.
  • the server 11 in the system provided by this embodiment is also used to send a parking bill to the user client corresponding to the license plate identification, so that the user can pay the corresponding parking fee according to the parking bill.
  • the parking fee may include: parking fee corresponding to the parking time, and additional fees to be paid when the parking space requirements are not met.
  • the technical solution provided by the embodiments of this application uses a multi-task detection model to detect the collected images of vehicles parked on the roadside to correlate and output vehicle identification and key point information; that is, each embodiment of this application uses multiple machine learning tasks , such as vehicle identification (such as license plate) detection tasks and vehicle key point detection tasks, etc. are integrated into one In the task detection model; the multi-task detection model simultaneously outputs associated vehicle identification, vehicle key point information and other vehicle-related features, which reduces the cost of calling and executing multiple independent tasks separately; in addition, because the multi-task detection model can be used in one forward During reasoning, results such as vehicle identification and vehicle key point information are associated and output, avoiding the matching process after the execution of multiple independent tasks.
  • vehicle identification such as license plate
  • the technical solution provided by the embodiments of this application has high calculation efficiency and good detection accuracy.
  • automated management of roadside parking can be realized. It can also determine whether the vehicle meets the parking requirements based on the key point information of the vehicle, so as to handle parking pressure, cross-space parking and other vehicles accordingly. .
  • the roadside equipment and the server in the above embodiments may also have other functions.
  • the following will describe the corresponding functions of the roadside equipment and the server in the form of method steps.
  • FIG. 2 shows a schematic flowchart of a roadside parking detection method provided by an embodiment of the present application.
  • the execution subject of the method provided in this embodiment may be a roadside device. Specifically, the method includes:
  • the image may be an image collected after the vehicle is parked and parked, or a frame in a video collected by a roadside device.
  • the multi-task detection model can refer to the structure shown in Figure 3. Of course, this embodiment is not limited to the structure shown in the figure, and models corresponding to other network structures can also be used.
  • the multi-task detection model may include: a feature extraction network 2 (or can be called a backbone network), a feature fusion layer 3 , a first branch network 4 and a second branch network 5 .
  • the first branch network is used to detect the vehicle identification of the vehicle in the image.
  • the second branch network 5 can be used to detect key point information of the vehicle in the image.
  • the multi-task detection model may also include a third branch network 6 .
  • the third branch network 6 is used to detect vehicles in the image and use detection frames to circle the vehicles.
  • the multi-task detection model in this embodiment can be based on a target detection neural network, such as the Yolo (You Only Look Once, an object recognition and positioning algorithm based on deep neural network) series, CenterNet series, etc., its overall architecture is shown in Figure 3.
  • the detection head part of the multi-task detection model i.e., the branch part after feature fusion layer 3 adds multiple new detection frame prediction bits and vehicle identification recognition prediction bits. Prediction bits are used to detect vehicle key point information. If the vehicle key point information includes key points corresponding to the four wheels of the vehicle chassis, 8 additional prediction bits can be added to detect the key points corresponding to the four wheels of the vehicle chassis.
  • the key point information may include: vehicle chassis key point information. More specifically, the key point information includes: key point information corresponding to multiple wheels on the vehicle chassis. For example, the contact point between the wheel and the ground is used as a key point.
  • the key point information here may be: the pixel position information of the key point in the image, or the coordinate value in the coordinate system corresponding to the image acquisition device of the roadside equipment, etc. This embodiment is not limited to this.
  • the key point information may also include: feature points reflecting the outer contour of the vehicle, etc.
  • whether the vehicle meets the parking space requirements can be determined by analyzing the key point information and the parking space contour line at the vehicle parking position.
  • key point information includes: key point information corresponding to multiple wheels on the vehicle chassis.
  • the determination result is associated with the vehicle identification as the roadside parking data of the vehicle.
  • the roadside parking data can be uploaded to the server in real time; or the locally stored data can be stored in local batches and uploaded to the server.
  • Roadside parking data can be used to calculate the vehicle's roadside parking bill, or used as a basis for corresponding processing of the vehicle's corresponding user when the vehicle does not meet the parking requirements. Further, when the vehicle does not meet the parking requirements, the image, the determination result and the vehicle identification are associated as the roadside parking data of the vehicle.
  • the technical solution provided by this embodiment uses a multi-task detection model to detect the collected images of vehicles parked on the roadside to correlate and output vehicle identification and key point information; that is, each embodiment of this application uses multiple machine learning tasks, For example, vehicle identification (such as license plate) detection tasks and vehicle key point detection tasks are integrated into a multi-task detection model; the multi-task detection model simultaneously outputs associated vehicle identification, vehicle key point information and other vehicle-related features, reducing the need for multiple independent The overhead of calling and executing tasks separately; in addition, because the multi-task detection model can be used to associate and output vehicle identification, vehicle key point information and other results in one forward reasoning, it avoids the matching process after the execution of multiple independent tasks; it can be seen that this
  • the technical solution provided by the application embodiment has high calculation efficiency and good detection accuracy. With more accurate detection results, automated management of roadside parking can be realized. It can also determine whether the vehicle meets the parking requirements based on the key point information of the vehicle, so as to handle parking pressure, cross-space parking and other vehicles accordingly. .
  • the multi-task detection model in this embodiment may include: feature extraction network 2 (or can be called a backbone network), feature fusion layer 3, first branch network 4 and second branch network 5 . in,
  • Feature extraction network 2 is used to extract features from the image 1 to obtain first feature information
  • Feature fusion layer 3 is used to fuse the first feature information to obtain the second feature information
  • the first branch network 4 is used to process the second feature information and output the vehicle identification
  • the second branch network 5 is used to process the second feature information and output key point information.
  • the key point information includes: anchor points of the detection frames corresponding to the vehicle in the image and key points of the vehicle chassis.
  • the anchor point can be understood as: the center point of the predicted target (ie, the vehicle in the image).
  • the detection frame and anchor point corresponding to the vehicle can be implemented by the third branch network.
  • the third branch network first predicts the anchor point of the prediction target in the image (ie, the vehicle in the image), and then predicts the length and width of the detection frame corresponding to the vehicle in the image based on the anchor point.
  • the multi-task detection model in this embodiment also includes a third branch network 6, as shown in Figure 4.
  • the third branch network 6 is used to process the second feature information and output a detection frame 7 characterizing the vehicle position.
  • the key point information of the vehicle includes: the anchor point 0 of the corresponding detection frame of the vehicle and the key points a, b, c and d corresponding to the four wheels on the vehicle chassis.
  • the image in the above step 101 is a frame in the video.
  • the method provided in this embodiment may also include:
  • the behavior information includes: the anchor point of the detection frame corresponding to the vehicle detected from each frame image.
  • the above step 103 is triggered to determine whether the vehicle meets the parking space requirements. That is, the method provided by the embodiments of this application may also include the following steps:
  • the state is a parking state, determine the parking starting time and associate the parking starting time with the vehicle identification;
  • step 103 After the state is in the parking state, trigger the step of determining whether the vehicle meets the parking requirements based on the key point information (i.e. step 103);
  • the above-mentioned parking start time, the determination result of whether the vehicle meets the parking requirements, and the departure time can be uploaded to the server or processed locally.
  • the method provided by the embodiment of this application may also include the following steps:
  • the key point information includes: key points corresponding to multiple wheels on the vehicle chassis.
  • step 104 in the embodiment of this application "determine whether the vehicle meets the parking space requirements based on the key point information" can be implemented by the following steps:
  • the violation mode of the vehicle is determined based on the parking space outline and the key points corresponding to the multiple wheels of the vehicle chassis;
  • the violation method includes at least one of the following: line pressing, crossing position.
  • step 1042 it can be determined whether the vehicle meets the parking space requirements by analyzing the relative positional relationship between the parking space contour and the key points respectively corresponding to the multiple wheels of the vehicle chassis. For example, when the key point coordinates of at least one wheel of the vehicle chassis are located on the outer edge of the parking space outline extending along the road traveling direction, the vehicle pressure line is determined. If there is a horizontal edge line in the parking space contour line between the key point coordinates of the front wheel and the rear wheel key point coordinate of the vehicle chassis, which is used to separate two different parking spaces, the vehicle is determined to be in a straddle position. Of course, it is also possible that the vehicle is on the line and has a straddle position. These situations can be obtained by analyzing the relative positional relationship between the parking space contour and the key points corresponding to the multiple wheels of the vehicle chassis. This embodiment does not limit the specific analysis logic.
  • the determined violation mode can be added to the vehicle's roadside parking data to facilitate subsequent bill generation.
  • Figure 5 shows a schematic flowchart of a roadside parking detection method provided by another embodiment of the present application.
  • the execution subject of the method provided in this embodiment may be a server.
  • the methods include:
  • training samples in the training set where the training samples include a sample image, a first label and a second label; the first label is the vehicle identification of the vehicle in the sample image, and the second label is the vehicle identification number of the vehicle in the sample image. Describe the key point information of the vehicle in the sample diagram.
  • the training sample further includes a third label;
  • the third label is the detection frame corresponding to the vehicle in the sample image;
  • the key point information corresponding to the second label includes: the detection frame anchor. points and the chassis key points of the vehicle in the sample diagram;
  • the result of executing the correlation output of the multi-task detection model also includes a third result related to the detection frame.
  • the above step 203 is specifically as follows:
  • the multi-task detection model includes: feature extraction network 2, feature fusion layer 3, first branch network 4, second branch network 5 and third branch network 6;
  • the input end of the first branch network 4 , the input end of the second branch network 5 and the input end of the third branch network 6 are all connected to the output end of the feature fusion layer 2 .
  • steps 202 and 203 "use the sample map as an input parameter of the multi-task detection model, execute the multi-task detection model to associate and output the first result, the second result and the third result; according to the first result and the first label, the second result and the second label, and the third result and the third label, optimizing the parameters in the multi-task detection model," may include the following steps:
  • the first result and the first label, the second result and the second label, and the third result and the third label respectively extract the feature extraction network, the feature Optimize at least some parameters in the fusion layer, the first branch network, the second branch network and the third branch network.
  • Figure 6 shows a schematic flowchart of a roadside parking detection method provided by yet another embodiment of the present application.
  • the execution subject of the method provided in this embodiment may be a roadside device.
  • the method includes:
  • the behavior information is the entire process of the vehicle from parking and warehousing behavior, parking to driving away. As above, it is necessary to first determine the state of the vehicle based on the behavior information. When the vehicle is in the parking state, the parking start time is determined; when the vehicle's behavior is the leaving state, the leaving time is determined. Calculate the length of time the vehicle will park on the roadside based on the departure time and parking start time.
  • the technical solution provided by each embodiment of the present application uses the anchor point of the vehicle corresponding detection frame as the regression starting point of the vehicle corresponding detection frame and vehicle key point information (such as key points corresponding to multiple wheels on the vehicle chassis), so that during training
  • vehicle key point information such as key points corresponding to multiple wheels on the vehicle chassis
  • the multi-task detection model adopts a multi-task learning method.
  • vehicle key point information is added to the simple detection frame. The increase in features during the training process makes the multi-task detection model have good detection robustness.
  • the embodiment of the present application uses a multi-task detection model to simultaneously output vehicle identification, vehicle key point information, etc., reducing the overhead of multiple loop calls.
  • the multi-task detection model binds vehicle key point information and vehicle corresponding detection frames in the positive sample allocation stage, eliminating subsequent pairing operations and improving the recall rate of vehicle key point information.
  • Multi-task detection models can train multiple interrelated tasks simultaneously.
  • the multi-task detection model can use all data sets from different tasks during model training, which is equivalent to increasing the training samples of each task to a certain extent. It can not only improve the prediction performance, but also be used to solve the imbalance of data set samples. Or problems such as insufficient data samples.
  • the increase in the amount of sample data can also promote the development of the model in a more general direction, greatly improving the generalization of the model.
  • using the same model to handle multiple different tasks simultaneously can reduce the overall time required to process these tasks.
  • the loss function of a multi-task model is the summation or other combination of multiple tasks, and based on assumptions about the model structure, several different regular terms are often added.
  • each node of the output layer corresponds to the actual output of each task, and the error back propagation (Back Propagation, BP) algorithm can be used to train the network.
  • BP Back Propagation
  • Figure 7 shows a schematic structural diagram of a roadside parking detection device provided by an embodiment of the present application.
  • the device includes: a first acquisition module 21, a first detection module 22, a first determination module 23 and a data association module 24.
  • the first collection module 21 is used to collect images of vehicles parked on the roadside.
  • the first detection module 22 is used to detect the image using a multi-task detection model to correlate and output vehicle identification and key point information.
  • the first determination module 23 is used to determine whether the vehicle meets the parking space requirements based on the key point information.
  • the data association module 24 is used to associate the determination result with the vehicle identification as the road of the vehicle. Side parking data.
  • the multi-task detection model includes: a feature extraction network, a feature fusion layer, a first branch network, a second branch network and a third branch network.
  • the feature extraction network is used to extract features from the image to obtain first feature information.
  • the feature fusion layer is used to fuse the first feature information to obtain the second feature information.
  • the first branch network is used to process the second feature information and output a vehicle identification.
  • the second branch network is used to process the second feature information and output key point information.
  • the third branch network is used to process the second feature information and output a detection frame characterizing the vehicle position.
  • the key point information may include: anchor points of the detection frames corresponding to the vehicle in the image and key points of the vehicle chassis.
  • the image is a frame in a video.
  • the first detection module 22 is configured to use the multi-task detection model to detect multiple frames of images in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior.
  • the behavior information includes: the anchor point of the detection frame corresponding to the vehicle detected from each frame image.
  • the roadside parking detection device may also include a first determination module.
  • the first determination module is used to determine the state of the vehicle according to the behavior information; when the state is a parking state, determine the parking starting time, and combine the parking starting time with the vehicle identification Association; after the state is in the parking state, the first determination module is triggered to determine whether the vehicle meets the parking requirements according to the key point information; when the state is in the leaving state, the departure time is determined, and the The departure time is associated with the vehicle identification.
  • the first determination module is also used to calculate the parking fee for the vehicle corresponding to the vehicle logo based on the parking start time, the determination result of whether the vehicle meets the parking space requirements, and the departure time.
  • the key point information includes: key points corresponding to multiple wheels on the vehicle chassis.
  • the first determination module 23 is specifically used to:
  • the violation mode of the vehicle is determined based on the parking space contour and the key points respectively corresponding to the multiple wheels of the vehicle chassis; wherein the violation mode includes at least one of the following One type: line pressing and crossing position.
  • the roadside parking detection device provided in this embodiment, in addition to the functions provided by each of the above modules, can also realize the functions corresponding to other part or all steps in the above corresponding method embodiments.
  • Figure 8 shows a schematic structural diagram of a roadside parking detection device provided by another embodiment of the present application.
  • the device includes: an acquisition module 31 , a training module 32 and a sending module 33 .
  • the acquisition module 31 is used to acquire training samples in the training set, where the training samples include a sample image, a first label and a second label; the first label is the vehicle identification of the vehicle in the sample image, and the The second label is the key point information of the vehicle in the sample image.
  • the training module 32 is configured to use the sample graph as an input parameter of a multi-task detection model, and execute the multi-task detection model to associate and output a first result related to the vehicle identification and a second result related to the vehicle key point information.
  • the sending module 33 is configured to send the trained multi-task detection model to the roadside device after the multi-task detection model completes training, so that the roadside device uses the multi-task detection model to collect the images for inspection.
  • the training sample also includes a third label;
  • the third label is the detection frame corresponding to the vehicle in the sample image;
  • the key point information corresponding to the second label includes: the anchor point of the detection frame and the The chassis key points of the vehicle in the sample diagram are shown;
  • the result of executing the correlation output of the multi-task detection model also includes a third result related to the detection frame.
  • the training module 32 is specifically used to:
  • the multi-task detection model includes: a feature extraction network, a feature fusion layer, a first branch network, a second branch network and a third branch network; wherein, the input end of the first branch network, the second branch network The input terminal of and the input terminal of the third branch network are both connected to the output terminal of the feature fusion layer.
  • the training module 32 is specifically used to:
  • the feature extraction network and the feature fusion layer are respectively , optimizing at least some parameters in the first branch network, the second branch network and the third branch network.
  • the roadside parking detection device provided in this embodiment, in addition to the functions provided by each module mentioned above, can also realize the functions corresponding to other part or all steps in the corresponding method embodiments mentioned above. For details, see The corresponding contents of the above method embodiments will not be described again here.
  • Figure 9 shows a schematic structural diagram of a roadside parking detection device provided by yet another embodiment of the present application.
  • the roadside parking detection device includes: a second collection module 41, a second detection module 42, a second determination module 43 and a second determination module 44.
  • the second collection module 41 is used to collect videos of roadside vehicles.
  • the second detection module 42 is used to detect the image frames in the video using a multi-task detection model to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior.
  • the second determination module 43 is configured to determine the roadside parking duration of the vehicle based on the behavior information.
  • the second determination module 44 is used to determine whether the vehicle meets the parking requirements based on the key point information, and obtain a determination result.
  • the second determination module is used to determine a parking bill based on the vehicle identification, the parking duration and the determination result.
  • the roadside parking detection device provided in this embodiment, in addition to the functions provided by each module mentioned above, can also realize the functions corresponding to other part or all steps in the corresponding method embodiments mentioned above. For details, see The corresponding contents of the above method embodiments will not be described again here.
  • FIG. 10 shows a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the electronic device includes: a memory 51 and a processor 52 .
  • Memory 51 may be configured to store various other data to support operations on the sensor. Examples of this data include instructions for any application or method operating on the sensor.
  • Memory 51 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • the memory 51 is used to store one or more computer instructions
  • the processor 52 is coupled to the memory 51 and is used to execute one or more computer instructions stored in the memory 51 to implement the steps in the roadside parking detection method provided by the above embodiments.
  • the electronic device also includes: a communication component 53 , a power supply component 55 , a display 56 and other components. Only some components are schematically shown in FIG. 10 , which does not mean that the electronic device only includes the components shown in FIG. 10 .
  • embodiments of the present application also provide a computer-readable storage medium storing a computer program.
  • the computer program is executed by a computer, the steps or functions of the roadside parking detection method provided by the above embodiments can be implemented.
  • An embodiment of the present application also provides a computer program product, including a computer program.
  • the processor can implement the steps or functions of the roadside parking detection method provided by the above embodiments.
  • the device embodiments described above are only illustrative.
  • the units described as separate components may or may not be physically separated.
  • the components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
  • each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware.
  • the computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Evolutionary Computation (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Artificial Intelligence (AREA)
  • Traffic Control Systems (AREA)

Abstract

Provided in the embodiments of the present application are a roadside parking detection method, a roadside parking system, and an electronic device. In the technical solution provided in the embodiments of the present application, a plurality of machine learning tasks are fused into one multi-task detection model, and the multi-task detection model simultaneously outputs vehicle-related features such as a vehicle identifier and vehicle key point information which are associated with each other, thereby reducing the overhead of separately calling and executing a plurality of independent tasks; in addition, results such as the vehicle identifier and the vehicle key point information can be output in an associated manner by using the multi-task detection model during one instance of forward inference, thereby preventing a matching process after the execution of the plurality of independent tasks is completed. Therefore, the technical solution provided in the embodiments of the present application has high calculation efficiency and a relatively good level of detection accuracy; and the accurate detection of the key point information of the vehicle can allow the determination as to whether the vehicle meets the requirement for parking in a parking space, so as to perform corresponding handling on line pressing parking and cross-space parking of the vehicle, such that the level of intelligence of roadside parking management is further improved.

Description

路侧停车检测方法、系统及电子设备Roadside parking detection method, system and electronic equipment
本申请要求于2022年06月20日提交中国专利局、申请号为202210701367.0、申请名称为“路侧停车检测方法、系统及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to the Chinese patent application filed with the China Patent Office on June 20, 2022, with application number 202210701367.0 and the application name "Roadside Parking Detection Method, System and Electronic Equipment", the entire content of which is incorporated by reference in in this application.
技术领域Technical field
本申请涉及图像处理技术领域,尤其涉及一种路侧停车检测方法、系统及电子设备。The present application relates to the field of image processing technology, and in particular to a roadside parking detection method, system and electronic equipment.
背景技术Background technique
近年来,我国人均汽车保有量不断上升,公共场所停车难问题日益凸显,充分利用现有的路边开放式泊位是缓解该问题的有效手段之一。有效的路侧停车管理可以减少违规停车、长时间占位的现象。In recent years, the per capita car ownership in our country has continued to rise, and the problem of parking difficulties in public places has become increasingly prominent. Making full use of existing roadside open parking spaces is one of the effective means to alleviate this problem. Effective roadside parking management can reduce illegal parking and long-term parking.
过往大多依赖人工进行开放式路边泊位的停车管理,但存在收费管理混乱、运营管理效率低、人力成本高等问题。随着视觉感知技术的发展,基于视觉感知的无人值守路侧管理方案有望解决这一问题。但目前,视觉感知技术应用在路侧停车管理场景中,还存在车辆检测效率低、检测准确性不高等问题。In the past, parking management of open roadside parking spaces was mostly relied on manual labor, but there were problems such as chaotic charging management, low operational management efficiency, and high labor costs. With the development of visual perception technology, unattended roadside management solutions based on visual perception are expected to solve this problem. However, at present, when visual perception technology is applied in roadside parking management scenarios, there are still problems such as low vehicle detection efficiency and low detection accuracy.
发明内容Contents of the invention
本申请提供一种解决上述问题或至少部分地解决上述问题的路侧停车检测方法、系统及电子设备。The present application provides a roadside parking detection method, system and electronic device that solve the above problems or at least partially solve the above problems.
在本申请的一个实施例中,提供了一种路侧停车检测方法。该方法适用于路侧设备,具体的所述方法包括:In one embodiment of the present application, a roadside parking detection method is provided. This method is suitable for roadside equipment. The specific methods include:
采集路侧停靠车辆的图像;Collect images of vehicles parked on the roadside;
利用多任务检测模型对所述图像进行检测,以关联输出车辆标识及关键点信息;Use a multi-task detection model to detect the image to correlate and output vehicle identification and key point information;
根据所述关键点信息,判定所述车辆是否符合停车入位要求;Based on the key point information, determine whether the vehicle meets the parking requirements;
将判定结果与所述车辆标识关联,作为所述车辆的路侧停车数据。The determination result is associated with the vehicle identification as roadside parking data of the vehicle.
在本申请的另一个实施例中,提供了一种路侧停车检测方法。该方法适用于服务 端,该方法包括:In another embodiment of the present application, a roadside parking detection method is provided. This method works for services terminal, the method includes:
获取训练集中的训练样本,其中,所述训练样本包括样本图、第一标签及第二标签;所述第一标签为所述样本图中车辆的车辆标识,所述第二标签为所述样本图中车辆的关键点信息;Obtain training samples in the training set, where the training samples include a sample image, a first label and a second label; the first label is the vehicle identification of the vehicle in the sample image, and the second label is the sample Key point information of the vehicle in the picture;
将所述样本图作为多任务检测模型的入参,执行所述多任务检测模型以关联输出与车辆标识相关的第一结果以及与车辆关键点信息相关的第二结果;Use the sample map as an input parameter of the multi-task detection model, and execute the multi-task detection model to associate and output a first result related to the vehicle identification and a second result related to the vehicle key point information;
根据所述第一结果与所述第一标签,以及所述第二结果与所述第二标签,对所述多任务检测模型中参数进行优化;Optimize parameters in the multi-task detection model according to the first result and the first label, and the second result and the second label;
待所述多任务检测模型完成训练后,将完成训练的所述多任务检测模型发送至路侧设备,以便所述路侧设备利用所述多任务检测模型对采集到图像进行检测。After the multi-task detection model completes training, the trained multi-task detection model is sent to the roadside device, so that the roadside device uses the multi-task detection model to detect the collected images.
本申请还提供了一个实施例,一种路侧停车系统包括:This application also provides an embodiment, a roadside parking system including:
服务端,用于利用训练集对多任务检测模型进行训练;The server is used to train the multi-task detection model using the training set;
路侧设备,与所述服务端连接,用于从所述服务端获取完成训练的所述多任务检测模型;采集路侧停靠车辆的图像;利用多任务检测模型对所述图像进行检测,以关联输出车辆标识及关键点信息;根据所述关键点信息,判定所述车辆是否符合停车入位要求;Roadside equipment, connected to the server, is used to obtain the multi-task detection model that has completed training from the server; collect images of vehicles parked on the roadside; use the multi-task detection model to detect the images to Correlate and output vehicle identification and key point information; determine whether the vehicle meets the parking requirements based on the key point information;
将判定结果与所述车辆标识关联,作为所述车辆的路侧停车数据。The determination result is associated with the vehicle identification as roadside parking data of the vehicle.
在本申请的又一个实施例中,提供了一种路侧停车检测方法。该方法可适用于路侧设备。所述方法包括:In yet another embodiment of the present application, a roadside parking detection method is provided. This method can be applied to roadside equipment. The methods include:
采集路侧车辆的视频;Collect videos of roadside vehicles;
利用多任务检测模型对所述视频中的图像帧进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息;Use a multi-task detection model to detect image frames in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior;
根据所述行为信息,确定所述车辆路侧停车时长;Determine the length of time the vehicle is parked on the roadside based on the behavioral information;
基于所述关键点信息,判定所述车辆是否符合停车入位要求,得到判定结果;Based on the key point information, determine whether the vehicle meets the parking requirements and obtain a determination result;
根据所述车辆标识、所述停车时长及所述判定结果,确定停车账单。A parking bill is determined based on the vehicle identification, the parking duration and the determination result.
在本申请的一个实施例中,还提供了一种电子设备。该电子设备包括存储器和处理器;所述存储器用于存储一条或多条计算机指令,所述一条或多条计算机指令被所述处理器执行时能够实现上述各实施例提供的所述路车停车检测方法中的步骤。In an embodiment of the present application, an electronic device is also provided. The electronic device includes a memory and a processor; the memory is used to store one or more computer instructions. When the one or more computer instructions are executed by the processor, the road vehicle parking provided by the above embodiments can be realized. Steps in the detection method.
本申请各实施例提供的技术方案,利用多任务检测模型对采集到的路侧停靠车辆的图像进行检测,以关联输出车辆标识及关键点信息;即本申请各实施例采用将多个机器学习任务,如车辆标识(如车牌)检测任务、车辆关键点检测任务等融合到一个 多任务检测模型中;多任务检测模型同时输出关联的车辆标识、车辆关键点信息等车辆相关特征,降低了多个独立任务分别调用执行的开销;此外,因利用多任务检测模型可在一次前向推理中关联输出车辆标识、车辆关键点信息等结果,避免了多个独立任务执行完成后的匹配过程;可见,本申请实施例提供的技术方案,计算效率高,且具有较好的检测准确性。有了较为准确的检测结果,便能实现路侧停车的自动化管理,还能基于车辆的关键点信息判定车辆是否符合停车入位要求,以对停车压线、跨位停车等车辆进行相应的处理。The technical solution provided by each embodiment of this application uses a multi-task detection model to detect the collected images of vehicles parked on the roadside to correlate and output vehicle identification and key point information; that is, each embodiment of this application uses multiple machine learning Tasks such as vehicle identification (such as license plate) detection tasks and vehicle key point detection tasks are integrated into one In the multi-task detection model; the multi-task detection model simultaneously outputs associated vehicle identification, vehicle key point information and other vehicle-related features, which reduces the overhead of calling and executing multiple independent tasks separately; in addition, the multi-task detection model can be used once The results such as vehicle identification and vehicle key point information are associated and output to the inference, which avoids the matching process after the execution of multiple independent tasks. It can be seen that the technical solution provided by the embodiment of the present application has high calculation efficiency and good detection accuracy. sex. With more accurate detection results, automated management of roadside parking can be realized. It can also determine whether the vehicle meets the parking requirements based on the key point information of the vehicle, so as to handle parking pressure, cross-space parking and other vehicles accordingly. .
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要利用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without exerting creative efforts.
图1为本申请一实施例提供路侧停车系统的示意图;Figure 1 is a schematic diagram of a roadside parking system provided by an embodiment of the present application;
图2为本申请一实施例提供的路侧停车检测方法的流程示意图;Figure 2 is a schematic flow chart of a roadside parking detection method provided by an embodiment of the present application;
图3为本申请一实施例中提供的多任务检测模型的原理性结构示意图;Figure 3 is a schematic structural diagram of the principle of the multi-task detection model provided in an embodiment of the present application;
图4为本申请一实施例中提供多任务检测模型对图像进行检测过程的原理性示意图;Figure 4 is a schematic diagram illustrating the image detection process provided by a multi-task detection model in an embodiment of the present application;
图5为本申请另一实施例提供的路侧停车检测方法的流程示意图;Figure 5 is a schematic flow chart of a roadside parking detection method provided by another embodiment of the present application;
图6为本申请又一实施例提供的路侧停车检测方法的流程示意图;Figure 6 is a schematic flow chart of a roadside parking detection method provided by another embodiment of the present application;
图7为本申请一实施例提供的路侧停车检测装置的结构示意图;Figure 7 is a schematic structural diagram of a roadside parking detection device provided by an embodiment of the present application;
图8为本申请另一实施例提供的路侧停车检测装置的结构示意图;Figure 8 is a schematic structural diagram of a roadside parking detection device provided by another embodiment of the present application;
图9为本申请又一实施例提供的路侧停车检测装置的结构示意图;Figure 9 is a schematic structural diagram of a roadside parking detection device provided by another embodiment of the present application;
图10为本申请一实施例提供的电子设备的结构示意图。FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those in the technical field to better understand the solution of the present application, the technical solution in the embodiment of the present application will be clearly and completely described below in conjunction with the drawings in the embodiment of the present application.
在本申请的说明书、权利要求书及上述附图中描述的一些流程中,包含了按照特定顺序出现的多个操作,这些操作可以不按照其在本文中出现的顺序来执行或并行执行。操作的序号如101、102等,仅仅是用于区分各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区 分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。此外,下述的各实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。Some of the processes described in the specification, claims, and above-mentioned drawings of this application include multiple operations that appear in a specific order. These operations may not be performed in the order in which they appear in this document or may be performed in parallel. The sequence numbers of operations, such as 101, 102, etc., are only used to distinguish different operations. The sequence numbers themselves do not represent any execution order. Additionally, these processes may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that descriptions such as “first” and “second” in this article are used to distinguish Different messages, devices, modules, etc. do not represent the order, nor does it limit "first" and "second" to be different types. In addition, the following embodiments are only some of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative efforts shall fall within the scope of protection of this application.
图1示出了一种路侧停车系统的示意图。如图1所示,本实施例所述的路侧停车系统可包括但不限于:服务端11及路侧设备12。其中,路侧设备12可包括但不限于:图像采集装置、存储装置、联网装置、供电装置等等。其中,图像采集设备可借用路灯灯杆或其他支架架设在路侧,以采集沿道路边设置的停车位区域内的图像、视频等。图像采集设备可具有计算能力,如图像识别能力等。或者,所述路侧设备12还包括:与所述图像采集装置连接的计算装置,用于图像识别、数据处理等。服务端11可以是部署在管理中心处的服务器、服务器集群、部署在物理机上的虚拟服务器或云服务器等等,本实施例对此不作限定。除所述服务端及路侧设备外,路侧停车系统还可包括:一个或多个客户端13、显示屏14、网络视频录像机15(Network Video Recorder,NVR等)等等。其中,客户端13可以与服务端11连接,可为用户(如工作人员)提供查询服务,如从服务端调取路侧停车图像、路侧缴费记录等等。显示屏14可用于显示路侧设备采集到的相应路侧停车区的图像或视频。NVR用于与路侧设备协同工作,完成图像、视频的录像、存储及转发功能。Figure 1 shows a schematic diagram of a roadside parking system. As shown in FIG. 1 , the roadside parking system in this embodiment may include but is not limited to: a server 11 and a roadside device 12 . Among them, the roadside equipment 12 may include but is not limited to: image acquisition device, storage device, networking device, power supply device, etc. Among them, the image collection equipment can be erected on the roadside using street lamp poles or other brackets to collect images, videos, etc. in the parking space area set along the roadside. The image acquisition device may have computing capabilities, such as image recognition capabilities, etc. Alternatively, the roadside equipment 12 further includes: a computing device connected to the image acquisition device for image recognition, data processing, etc. The server 11 may be a server deployed at the management center, a server cluster, a virtual server or a cloud server deployed on a physical machine, etc., which is not limited in this embodiment. In addition to the server and roadside equipment, the roadside parking system may also include: one or more clients 13, display screens 14, network video recorders 15 (Network Video Recorder, NVR, etc.), etc. Among them, the client 13 can be connected to the server 11 and can provide query services for users (such as staff), such as retrieving roadside parking images, roadside payment records, etc. from the server. The display screen 14 may be used to display images or videos of corresponding roadside parking areas collected by the roadside equipment. NVR is used to work with roadside equipment to complete the recording, storage and forwarding functions of images and videos.
路侧设备12用于采集监测区域的图像或视频,并具有图像或视频分析技术,实现图像或视频监测、目标对象(即车辆)跟踪识别功能。路侧设备12还可具有网络连接功能,将图像采集装置采集到图像或视频、处理得到的数据通过网络传输至服务端11。服务端11接收各路段监测点处路侧设备上传的图像、数据等,并具有数据库功能,将各路段监测点处路侧设备上传的图像、数据等存储起来,提供给如计时收费、工作人员可视化操作(如通过客户端13调取查看)等管理功能。The roadside device 12 is used to collect images or videos of the monitoring area, and has image or video analysis technology to implement image or video monitoring and target object (i.e., vehicle) tracking and identification functions. The roadside equipment 12 may also have a network connection function to transmit the images or videos collected by the image collection device and the processed data to the server 11 through the network. The server 11 receives the images, data, etc. uploaded by the roadside equipment at the monitoring points of each road section, and has a database function to store the images, data, etc. uploaded by the roadside equipment at the monitoring points of each road section, and provide them to, for example, time charging, staff Visual operations (such as calling and viewing through the client 13) and other management functions.
具体实施时,路侧设备中的图像采集设备可安装在路边,其图像采集视角针对路侧停车位,可采集视野范围内的停靠在其管控停车位处的车辆图像或视频。路侧设备可具体车辆身份识别功能、车辆行为识别等等。其中,车辆身份识别,需要识别在车辆停入或驶离时,提取的关键帧或拍照取证图像中触发取证的车辆车牌号码,得到车辆标识,作为后台对停车车辆生成停车金额的依据,以此实现停车计时收费功能。车辆行为识别,需要识别车辆停车过程中的四种行为:开始停入、车辆停入、开始驶出、车辆驶离。其中,判断开始停车、开始驶出行为的目的是:在车辆停进停车位(或泊位)或驶离监测区域之前,预判停车、驶离行为,用于提取关键帧或触发图像采集装 置采集取证识别车辆身份,以此避免车辆停进泊位造成遮挡或驶离监测区域而无法识别车辆身份的问题;判断停入、驶离行为是为了确定车辆停入或驶离的时间,用于计算停车时长。During specific implementation, the image collection equipment in the roadside equipment can be installed on the roadside, and its image collection perspective is aimed at the roadside parking space, and can capture images or videos of vehicles parked in its controlled parking spaces within the field of view. Roadside equipment can implement vehicle identity recognition functions, vehicle behavior recognition, etc. Among them, vehicle identity recognition requires identifying the vehicle license plate number that triggers evidence collection in the extracted key frames or photographed evidence collection images when the vehicle is parked or driven away, and the vehicle identification is obtained, which is used as the basis for generating parking amounts for parked vehicles in the background. Implement parking meter charging function. Vehicle behavior recognition requires identifying four behaviors during vehicle parking: starting to park, vehicle parking in, starting to drive out, and vehicle driving away. Among them, the purpose of judging the starting of parking and starting of driving out is to predict the parking and driving out behaviors before the vehicle parks into the parking space (or berth) or leaves the monitoring area, and is used to extract key frames or trigger the image acquisition device. Collect evidence to identify the vehicle's identity, so as to avoid the problem of the vehicle parking in the parking space, causing obstruction or driving out of the monitoring area, making it impossible to identify the vehicle's identity; judging the parking and driving behavior is to determine the time when the vehicle parked or left, which is used Calculate parking duration.
实际上还存在一些停车入位不符合要求的情况,比如,路侧车辆未停入停车位划线区域内,可能会影响到道路上行驶的车辆;又或者路侧车辆停入跨了两个车位,这将导致其中一个车位不能停车的情况。因此需要增加车辆停车入位情况的检测。车辆停靠是否符合停车入位要求(不压线、不跨位等),本实施例方案提出了基于车辆的关键点信息(如表征车辆占位的一些像素点,比如部分车轮与地面接触的像素点)进行判断的方式。In fact, there are still some situations where parking spaces do not meet the requirements. For example, roadside vehicles do not park within the parking space marking area, which may affect the vehicles driving on the road; or roadside vehicles park across two parking spaces. parking spaces, which will result in a situation where one of the parking spaces cannot be parked. Therefore, it is necessary to increase the detection of vehicle parking conditions. Whether the vehicle parking meets the parking requirements (no line pressing, no crossing, etc.), this embodiment proposes key point information based on the vehicle (such as some pixels that represent the vehicle's occupancy, such as pixels where some wheels are in contact with the ground point) to make judgments.
即本实施例中所述路侧设备12用于采集路侧停靠车辆的图像;利用多任务检测模型对所述图像进行检测,以关联输出车辆标识及关键点信息;根据所述关键点信息,判定所述车辆是否符合停车入位要求;将判定结果与所述车辆标识关联,作为所述车辆的路侧停车数据。That is, the roadside equipment 12 in this embodiment is used to collect images of vehicles parked on the roadside; use a multi-task detection model to detect the images to correlate and output vehicle identification and key point information; according to the key point information, Determine whether the vehicle meets the parking space requirements; associate the determination result with the vehicle identification as the roadside parking data of the vehicle.
其中,路侧设备12利用的多任务检测模型可部署于本地。服务端11负责利用训练集对多任务检测模型进行训练,以不断提高多任务检测模型的能力。路侧设备12可定期或在接收到服务端发送的模型更新指令后,从服务端获取完成训练的多任务检测模型。Among them, the multi-task detection model utilized by the roadside device 12 can be deployed locally. The server 11 is responsible for training the multi-task detection model using the training set to continuously improve the capabilities of the multi-task detection model. The roadside device 12 may obtain the trained multi-task detection model from the server periodically or after receiving a model update instruction sent by the server.
本申请实施例针对路侧停车场景的特点,将车辆关键点信息检测任务、车辆标识检测任务、车辆检测任务等集成到一个多任务检测模型,即形成一种新的多任务学习范式,性能和效果上可取得较好的平衡。In view of the characteristics of roadside parking scenarios, the embodiments of this application integrate vehicle key point information detection tasks, vehicle identification detection tasks, vehicle detection tasks, etc. into a multi-task detection model, thereby forming a new multi-task learning paradigm with performance and A better balance can be achieved in effect.
具体实施时,本申请实施例提供的技术方案,使用车辆检测框的锚点作为车辆检测框及车辆关键点信息的回归起点,这种在正样本分配方案中就将车辆关键点信息和车辆检测框直接绑定在一起。其中,车辆关键点信息可以是车辆底盘关键点信息,更进一步的,可以是车辆底盘上多个车轮对应的关键点信息。在训练样本分配阶段即将车辆关键点信息和车辆检测框进行了绑定,因此在利用该训练样本对多任务检测模型进行训练,完成训练的多任务检测模型便可一次前向推理中同时输出车辆检测框、车辆关键点信息及车辆标识。During specific implementation, the technical solution provided by the embodiment of the present application uses the anchor point of the vehicle detection frame as the regression starting point of the vehicle detection frame and vehicle key point information. In this positive sample allocation scheme, the vehicle key point information and vehicle detection The boxes are tied directly together. The vehicle key point information may be the key point information of the vehicle chassis, or further, the key point information corresponding to multiple wheels on the vehicle chassis. In the training sample allocation stage, the vehicle key point information and the vehicle detection frame are bound. Therefore, the training sample is used to train the multi-task detection model. The trained multi-task detection model can output the vehicle simultaneously in one forward inference. Detection frame, vehicle key point information and vehicle identification.
本实施例提供的方案中,服务端11用于训练多任务检测模型。训练好的多任务检测模型可被部署在路侧设备12中,即将计算任务下放至边缘设备。具体的,本实施例中:In the solution provided by this embodiment, the server 11 is used to train a multi-task detection model. The trained multi-task detection model can be deployed in the roadside device 12, that is, the computing tasks are decentralized to the edge device. Specifically, in this embodiment:
服务端11,用于利用训练集对多任务检测模型进行训练。 The server 11 is used to train the multi-task detection model using the training set.
路侧设备12,与所述服务端11连接,用于从所述服务端11获取完成训练的所述多任务检测模型;采集路侧停靠车辆的图像;利用多任务检测模型对所述图像进行检测,以关联输出车辆标识及关键点信息;根据所述关键点信息,判定所述车辆是否符合停车入位要求;将判定结果与所述车辆标识关联,作为所述车辆的路侧停车数据。The roadside device 12 is connected to the server 11 and is used to obtain the trained multi-task detection model from the server 11; collect images of vehicles parked on the roadside; and use the multi-task detection model to perform processing on the images. Detect and output the vehicle identification and key point information by association; determine whether the vehicle meets the parking requirements based on the key point information; associate the determination result with the vehicle identification as the roadside parking data of the vehicle.
其中,路侧停车数据可实时地发送至服务端11,也可存储于路侧设备本地用于计算该车辆的停车账单或等待服务端拉取。The roadside parking data can be sent to the server 11 in real time, or can be stored locally on the roadside device for calculating the vehicle's parking bill or waiting for the server to pull it.
这里需要补充的是:有关多任务检测模型的训练过程,将在下文中进行详细说明。What needs to be added here is: the training process of the multi-task detection model will be explained in detail below.
进一步的,上文中路侧设备12利用多任务检测模型检测的图像可以是路侧设备12采集到的视频中的一帧。即本实施例中路侧设备12还可利用多任务检测模型同时检测出车辆的行为信息、车辆标识及关键点信息,以便将关联输出的信息发送至服务端由服务端计算该车辆的停车账单或者自身基于关联输出的信息计算停车账单。即本实施例中所述路侧设备12还可用于:Furthermore, the image detected by the roadside device 12 using the multi-task detection model mentioned above may be a frame in the video collected by the roadside device 12 . That is to say, in this embodiment, the roadside device 12 can also use the multi-task detection model to simultaneously detect the vehicle's behavior information, vehicle identification and key point information, so as to send the associated output information to the server, and the server can calculate the parking bill of the vehicle or Itself calculates the parking bill based on the information from the associated output. That is, the roadside equipment 12 described in this embodiment can also be used for:
利用所述多任务检测模型对所述视频中的多帧图像进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息;Utilize the multi-task detection model to detect multiple frames of images in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior;
根据所述行为信息,确定所述车辆的状态;Determine the status of the vehicle based on the behavioral information;
所述状态为停车状态时,确定停车起始时间,并将所述停车起始时间与所述车辆标识关联;When the state is a parking state, determine the parking starting time and associate the parking starting time with the vehicle identification;
所述状态为停车状态后,触发所述根据所述关键点信息判定所述车辆是否符合停车入位要求的步骤;After the state is a parking state, trigger the step of determining whether the vehicle meets the parking requirements based on the key point information;
所述状态为驶离状态时,确定驶离时间,并将所述驶离时间与所述车辆标识关联。When the state is the leaving state, the leaving time is determined, and the leaving time is associated with the vehicle identification.
再进一步的,所述路侧设备12还可用于:将所述停车起始时间,车辆是否符合停车入位要求的判定结果及驶离时间发送至服务端11,由服务端基于接收到的数据,确定该车辆的停车账单。或者路侧设备12还用于:根据所述停车起始时间,车辆是否符合停车入位要求的判定结果及驶离时间,计算所述车辆的停车账单;将所述停车账单发送至服务端,以由服务端将停车账单发送至对应的用户客户端。Furthermore, the roadside equipment 12 can also be used to: send the parking start time, the determination result of whether the vehicle meets the parking requirements and the departure time to the server 11, and the server 11 based on the received data , determine the parking bill for that vehicle. Or the roadside device 12 is also used to: calculate the parking bill of the vehicle based on the parking start time, the determination result of whether the vehicle meets the parking requirements and the departure time; send the parking bill to the server, The server sends the parking bill to the corresponding user client.
即本实施例提供的所述系统中所述服务端11还用于向车牌标识对应用户客户端发送停车账单,以便用户按照停车账单支付相应的停车费用。该停车费用可包括:停车时长对应的停车费用,以及在不符合停车入位要求时需支付的附加费用。That is, the server 11 in the system provided by this embodiment is also used to send a parking bill to the user client corresponding to the license plate identification, so that the user can pay the corresponding parking fee according to the parking bill. The parking fee may include: parking fee corresponding to the parking time, and additional fees to be paid when the parking space requirements are not met.
本申请实施例提供的技术方案,利用多任务检测模型对采集到的路侧停靠车辆的图像进行检测,以关联输出车辆标识及关键点信息;即本申请各实施例采用将多个机器学习任务,如车辆标识(如车牌)检测任务、车辆关键点检测任务等融合到一个多 任务检测模型中;多任务检测模型同时输出关联的车辆标识、车辆关键点信息等车辆相关特征,降低了多个独立任务分别调用执行的开销;此外,因利用多任务检测模型可在一次前向推理中关联输出车辆标识、车辆关键点信息等结果,避免了多个独立任务执行完成后的匹配过程;可见,本申请实施例提供的技术方案,计算效率高,且具有较好的检测准确性。有了较为准确的检测结果,便能实现路侧停车的自动化管理,还能基于车辆的关键点信息判定车辆是否符合停车入位要求,以对停车压线、跨位停车等车辆进行相应的处理。The technical solution provided by the embodiments of this application uses a multi-task detection model to detect the collected images of vehicles parked on the roadside to correlate and output vehicle identification and key point information; that is, each embodiment of this application uses multiple machine learning tasks , such as vehicle identification (such as license plate) detection tasks and vehicle key point detection tasks, etc. are integrated into one In the task detection model; the multi-task detection model simultaneously outputs associated vehicle identification, vehicle key point information and other vehicle-related features, which reduces the cost of calling and executing multiple independent tasks separately; in addition, because the multi-task detection model can be used in one forward During reasoning, results such as vehicle identification and vehicle key point information are associated and output, avoiding the matching process after the execution of multiple independent tasks. It can be seen that the technical solution provided by the embodiments of this application has high calculation efficiency and good detection accuracy. . With more accurate detection results, automated management of roadside parking can be realized. It can also determine whether the vehicle meets the parking requirements based on the key point information of the vehicle, so as to handle parking pressure, cross-space parking and other vehicles accordingly. .
上述实施例中的路侧设备及服务端除具有上文中对应描述的功能外,还可具体其他功能。下文将以方法步骤的方式对路侧设备和服务端对应的功能进行说明。In addition to the functions described above, the roadside equipment and the server in the above embodiments may also have other functions. The following will describe the corresponding functions of the roadside equipment and the server in the form of method steps.
图2示出了本申请一实施例提供的一种路侧停车检测方法的流程示意图。本实施例提供的所述方法的执行主体可以是路侧设备。具体的,所述方法包括:FIG. 2 shows a schematic flowchart of a roadside parking detection method provided by an embodiment of the present application. The execution subject of the method provided in this embodiment may be a roadside device. Specifically, the method includes:
101、采集路侧停靠车辆的图像。101. Collect images of vehicles parked on the roadside.
102、利用多任务检测模型对所述图像进行检测,以关联输出车辆标识及关键点信息。102. Use a multi-task detection model to detect the image to correlate and output vehicle identification and key point information.
103、根据所述关键点信息,判定所述车辆是否符合停车入位要求。103. Based on the key point information, determine whether the vehicle meets the parking requirements.
104、将判定结果与所述车辆标识关联,作为所述车辆的路侧停车数据。104. Associate the determination result with the vehicle identification as the roadside parking data of the vehicle.
上述101中,所述图像可以是车辆停车入位后采集到的图像,或是路侧设备采集到的视频中的一帧。In the above 101, the image may be an image collected after the vehicle is parked and parked, or a frame in a video collected by a roadside device.
上述102中,所述多任务检测模型可参见图3所示的结构,当然本实施例不限于图所示的结构,也可选用其他网络结构对应的模型。如图3所示,所述多任务检测模型可包括:特征提取网络2(或可称为主干网络)、特征融合层3、第一分支网络4和第二分支网络5。其中,所述第一分支网络用于检测图像中车辆的车辆标识。第二分支网络5可用于检测图像中车辆的关键点信息。进一步的,如图3所示,所述多任务检测模型还可包括第三分支网络6。该第三分支网络6用于检测图像中的车辆,并采用检测框将车辆圈出。In the above 102, the multi-task detection model can refer to the structure shown in Figure 3. Of course, this embodiment is not limited to the structure shown in the figure, and models corresponding to other network structures can also be used. As shown in FIG. 3 , the multi-task detection model may include: a feature extraction network 2 (or can be called a backbone network), a feature fusion layer 3 , a first branch network 4 and a second branch network 5 . Wherein, the first branch network is used to detect the vehicle identification of the vehicle in the image. The second branch network 5 can be used to detect key point information of the vehicle in the image. Further, as shown in FIG. 3 , the multi-task detection model may also include a third branch network 6 . The third branch network 6 is used to detect vehicles in the image and use detection frames to circle the vehicles.
一种可实现的技术方案是,本实施例中的多任务检测模型可基于目标检测神经网络,如Yolo(You Only Look Once,是一种基于深度神经网络的对象识别和定位算法)系列,CenterNet系列等,其整体架构如图3所示,多任务检测模型的检测头部分(即特征融合层3之后的分支部分),在检测框预测位和车辆标识识别预测位的基础上新增多个预测位,用于检测车辆关键点信息。若车辆关键点信息包括车辆底盘4个车轮对应的关键点,则可新增8个预测位,用于检测车辆底盘4个车轮分别对应的关键点。 An achievable technical solution is that the multi-task detection model in this embodiment can be based on a target detection neural network, such as the Yolo (You Only Look Once, an object recognition and positioning algorithm based on deep neural network) series, CenterNet series, etc., its overall architecture is shown in Figure 3. The detection head part of the multi-task detection model (i.e., the branch part after feature fusion layer 3) adds multiple new detection frame prediction bits and vehicle identification recognition prediction bits. Prediction bits are used to detect vehicle key point information. If the vehicle key point information includes key points corresponding to the four wheels of the vehicle chassis, 8 additional prediction bits can be added to detect the key points corresponding to the four wheels of the vehicle chassis.
上述103中,关键点信息可包括:车辆底盘关键点信息。更具体的,所述关键点信息包括:车辆底盘上多个车轮分别对应的关键点信息。比如,车轮与地面接触点作为关键点。这里关键点信息可以是:该关键点在图像中像素点位置信息,或是所述路侧设备的图像采集装置对应坐标系下的坐标值等等,本实施例对此不作限定。除底盘关键点信息外,所述关键点信息还可包括:反映车辆外轮廓的特征点等等。In the above 103, the key point information may include: vehicle chassis key point information. More specifically, the key point information includes: key point information corresponding to multiple wheels on the vehicle chassis. For example, the contact point between the wheel and the ground is used as a key point. The key point information here may be: the pixel position information of the key point in the image, or the coordinate value in the coordinate system corresponding to the image acquisition device of the roadside equipment, etc. This embodiment is not limited to this. In addition to chassis key point information, the key point information may also include: feature points reflecting the outer contour of the vehicle, etc.
在一种可实现的技术方案中,可通过分析关键点信息与车辆停车位置处的停车位轮廓线来确定车辆是否符合停车入位要求。比如,关键点信息包括:车辆底盘上多个车轮分别对应的关键点信息。通过分析关键点信息与车辆停车位置处的停车位轮廓线在图像中的相对位置关系,来确定车辆停泊是否符合停车入位要求。In an achievable technical solution, whether the vehicle meets the parking space requirements can be determined by analyzing the key point information and the parking space contour line at the vehicle parking position. For example, key point information includes: key point information corresponding to multiple wheels on the vehicle chassis. By analyzing the relative position relationship between the key point information and the parking space contour line at the vehicle parking position in the image, it is determined whether the vehicle parking meets the parking space requirements.
上述104中,判定结果与车辆标识关联作为车辆的路侧停车数据,该路侧停车数据可实时地上传至服务端;或是存储于本地批量的将本地存储的数据上传至服务端。路侧停车数据可以用于计算车辆的路侧停车账单,或用于在车辆存在不符合停车入位要求时作为对车辆对应用户进行相应处理的依据。进一步的,车辆存在不符合停车入位要求时,将所述图像、所述判定结果及车辆标识关联,作为所述车辆的路侧停车数据。In the above 104, the determination result is associated with the vehicle identification as the roadside parking data of the vehicle. The roadside parking data can be uploaded to the server in real time; or the locally stored data can be stored in local batches and uploaded to the server. Roadside parking data can be used to calculate the vehicle's roadside parking bill, or used as a basis for corresponding processing of the vehicle's corresponding user when the vehicle does not meet the parking requirements. Further, when the vehicle does not meet the parking requirements, the image, the determination result and the vehicle identification are associated as the roadside parking data of the vehicle.
本实施例提供的技术方案,利用多任务检测模型对采集到的路侧停靠车辆的图像进行检测,以关联输出车辆标识及关键点信息;即本申请各实施例采用将多个机器学习任务,如车辆标识(如车牌)检测任务、车辆关键点检测任务等融合到一个多任务检测模型中;多任务检测模型同时输出关联的车辆标识、车辆关键点信息等车辆相关特征,降低了多个独立任务分别调用执行的开销;此外,因利用多任务检测模型可在一次前向推理中关联输出车辆标识、车辆关键点信息等结果,避免了多个独立任务执行完成后的匹配过程;可见,本申请实施例提供的技术方案,计算效率高,且具有较好的检测准确性。有了较为准确的检测结果,便能实现路侧停车的自动化管理,还能基于车辆的关键点信息判定车辆是否符合停车入位要求,以对停车压线、跨位停车等车辆进行相应的处理。The technical solution provided by this embodiment uses a multi-task detection model to detect the collected images of vehicles parked on the roadside to correlate and output vehicle identification and key point information; that is, each embodiment of this application uses multiple machine learning tasks, For example, vehicle identification (such as license plate) detection tasks and vehicle key point detection tasks are integrated into a multi-task detection model; the multi-task detection model simultaneously outputs associated vehicle identification, vehicle key point information and other vehicle-related features, reducing the need for multiple independent The overhead of calling and executing tasks separately; in addition, because the multi-task detection model can be used to associate and output vehicle identification, vehicle key point information and other results in one forward reasoning, it avoids the matching process after the execution of multiple independent tasks; it can be seen that this The technical solution provided by the application embodiment has high calculation efficiency and good detection accuracy. With more accurate detection results, automated management of roadside parking can be realized. It can also determine whether the vehicle meets the parking requirements based on the key point information of the vehicle, so as to handle parking pressure, cross-space parking and other vehicles accordingly. .
进一步的,如图4所示,本实施例中的多任务检测模型可包括:特征提取网络2(或可称为主干网络)、特征融合层3、第一分支网络4和第二分支网络5。其中,Further, as shown in Figure 4, the multi-task detection model in this embodiment may include: feature extraction network 2 (or can be called a backbone network), feature fusion layer 3, first branch network 4 and second branch network 5 . in,
特征提取网络2,用于对所述图像1进行特征提取,得到第一特征信息;Feature extraction network 2 is used to extract features from the image 1 to obtain first feature information;
特征融合层3,用于对所述第一特征信息进行融合,得到第二特征信息;Feature fusion layer 3 is used to fuse the first feature information to obtain the second feature information;
第一分支网络4,用于对所述第二特征信息进行处理,输出车辆标识;The first branch network 4 is used to process the second feature information and output the vehicle identification;
第二分支网络5,用于对所述第二特征信息进行处理,输出关键点信息。 The second branch network 5 is used to process the second feature information and output key point information.
具体的,所述关键点信息包括:所述图像中车辆对应检测框的锚点以及车辆底盘关键点。其中,锚点可以理解为:预测目标(即图像中车辆)的中心点。车辆对应的检测框及锚点可由第三分支网络来实现。例如,第三分支网络先预测图像中预测目标(即图像中车辆)的锚点,再基于锚点预测图像中车辆对应检测框的长度和宽度。即本实施例中的多任务检测模型还包括第三分支网络6,如图4所示。所述第三分支网络6用于对所述第二特征信息进行处理,输出表征所述车辆位置的检测框7。Specifically, the key point information includes: anchor points of the detection frames corresponding to the vehicle in the image and key points of the vehicle chassis. Among them, the anchor point can be understood as: the center point of the predicted target (ie, the vehicle in the image). The detection frame and anchor point corresponding to the vehicle can be implemented by the third branch network. For example, the third branch network first predicts the anchor point of the prediction target in the image (ie, the vehicle in the image), and then predicts the length and width of the detection frame corresponding to the vehicle in the image based on the anchor point. That is, the multi-task detection model in this embodiment also includes a third branch network 6, as shown in Figure 4. The third branch network 6 is used to process the second feature information and output a detection frame 7 characterizing the vehicle position.
参见图4所示的例子,车辆的关键点信息包括:车辆对应检测框的锚点0以及车辆底盘上4个车轮分别对应的关键点a,b,c和d。Referring to the example shown in Figure 4, the key point information of the vehicle includes: the anchor point 0 of the corresponding detection frame of the vehicle and the key points a, b, c and d corresponding to the four wheels on the vehicle chassis.
进一步的,上述步骤101中的所述图像为视频中的一帧。相应的,本实施例提供的所述方法还可包括:Further, the image in the above step 101 is a frame in the video. Correspondingly, the method provided in this embodiment may also include:
105、利用所述多任务检测模型对所述视频中的多帧图像进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息;105. Use the multi-task detection model to detect multiple frames of images in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior;
其中,所述行为信息包括:从各帧图像中检测出的所述车辆对应检测框的锚点。Wherein, the behavior information includes: the anchor point of the detection frame corresponding to the vehicle detected from each frame image.
基于所述行为信息确定车辆处于停车状态时,在触发上述步骤103以对车辆是否符合停车入位要求。即本申请实施例提供的所述方法,还可包括如下步骤:When it is determined that the vehicle is in a parking state based on the behavior information, the above step 103 is triggered to determine whether the vehicle meets the parking space requirements. That is, the method provided by the embodiments of this application may also include the following steps:
106、根据所述行为信息,确定所述车辆的状态;106. Determine the status of the vehicle based on the behavior information;
107、所述状态为停车状态时,确定停车起始时间,并将所述停车起始时间与所述车辆标识关联;107. When the state is a parking state, determine the parking starting time and associate the parking starting time with the vehicle identification;
108、所述状态为停车状态后,触发所述根据所述关键点信息判定所述车辆是否符合停车入位要求的步骤(即步骤103);108. After the state is in the parking state, trigger the step of determining whether the vehicle meets the parking requirements based on the key point information (i.e. step 103);
109、所述状态为驶离状态时,确定驶离时间,并将所述驶离时间与所述车辆标识关联。109. When the state is the leaving state, determine the leaving time and associate the leaving time with the vehicle identification.
上述停车起始时间、判定所述车辆是否符合停车入位要求的判定结果及驶离时间可上传至服务端,也可在本地处理。具体的,若在本地处理,则本申请实施例提供的所述方法还可包括如下步骤:The above-mentioned parking start time, the determination result of whether the vehicle meets the parking requirements, and the departure time can be uploaded to the server or processed locally. Specifically, if processed locally, the method provided by the embodiment of this application may also include the following steps:
110、根据所述停车起始时间、判定所述车辆是否符合停车入位要求的判定结果及驶离时间,计算所述车辆标识对应车辆的停车费用。110. Calculate the parking fee for the vehicle corresponding to the vehicle logo based on the parking start time, the determination result of whether the vehicle meets the parking space requirements, and the departure time.
进一步的,所述关键点信息包括:车辆底盘上多个车轮分别对应的关键点。相应的,本申请实施例中的步骤104“根据所述关键点信息,判定所述车辆是否符合停车入位要求”可采用如下步骤实现:Further, the key point information includes: key points corresponding to multiple wheels on the vehicle chassis. Correspondingly, step 104 in the embodiment of this application "determine whether the vehicle meets the parking space requirements based on the key point information" can be implemented by the following steps:
1041、获取所述图像中所述车辆停车位置处的停车位轮廓线。 1041. Obtain the parking space outline at the vehicle parking position in the image.
1042、根据所述停车位轮廓线及所述车辆底盘多个车轮分别对应的关键点,判定所述车辆是否符合停车入位要求。1042. Determine whether the vehicle meets the parking space requirements based on the parking space contour and key points corresponding to the multiple wheels of the vehicle chassis.
1043、判定结果为不符合停车入位要求时,基于所述停车位轮廓线及所述车辆底盘多个车轮分别对应的关键点,确定所述车辆的违规方式;1043. When the determination result is that the parking space requirements are not met, the violation mode of the vehicle is determined based on the parking space outline and the key points corresponding to the multiple wheels of the vehicle chassis;
其中,所述违规方式包括如下中的至少一种:压线、跨位。Wherein, the violation method includes at least one of the following: line pressing, crossing position.
上述1042中,可通过分析停车位轮廓线及所述车辆底盘多个车轮分别对应的关键点的相对位置关系,来判定所述车辆是否符合停车入位要求。比如,所述车辆底盘的至少一个车轮的关键点坐标位于所述停车位轮廓线中沿道路行驶方向延伸的外边线时,判定所述车辆压线。若所述车辆底盘的前轮的关键点坐标和后轮关键点坐标之间具有停车位轮廓线中用于区隔两不同停车位的横边线时,判定所述车辆跨位。当然,还有可能车辆又压线又存在跨位的情况。这些情况,均可通过分析停车位轮廓线及所述车辆底盘多个车轮分别对应的关键点的相对位置关系便可得到,本实施例对具体分析逻辑不作限定。In the above step 1042, it can be determined whether the vehicle meets the parking space requirements by analyzing the relative positional relationship between the parking space contour and the key points respectively corresponding to the multiple wheels of the vehicle chassis. For example, when the key point coordinates of at least one wheel of the vehicle chassis are located on the outer edge of the parking space outline extending along the road traveling direction, the vehicle pressure line is determined. If there is a horizontal edge line in the parking space contour line between the key point coordinates of the front wheel and the rear wheel key point coordinate of the vehicle chassis, which is used to separate two different parking spaces, the vehicle is determined to be in a straddle position. Of course, it is also possible that the vehicle is on the line and has a straddle position. These situations can be obtained by analyzing the relative positional relationship between the parking space contour and the key points corresponding to the multiple wheels of the vehicle chassis. This embodiment does not limit the specific analysis logic.
上述1043中,确定出的违规方式可添加在车辆的路侧停车数据中,便于后续账单的生成。In the above step 1043, the determined violation mode can be added to the vehicle's roadside parking data to facilitate subsequent bill generation.
图5示出了本申请另一实施例提供的路侧停车检测方法的流程示意图。如图所示,本实施例提供的所述方法的执行主体可以是服务端。所述方法包括:Figure 5 shows a schematic flowchart of a roadside parking detection method provided by another embodiment of the present application. As shown in the figure, the execution subject of the method provided in this embodiment may be a server. The methods include:
201、获取训练集中的训练样本,其中,所述训练样本包括样本图、第一标签及第二标签;所述第一标签为所述样本图中车辆的车辆标识,所述第二标签为所述样本图中车辆的关键点信息。201. Obtain training samples in the training set, where the training samples include a sample image, a first label and a second label; the first label is the vehicle identification of the vehicle in the sample image, and the second label is the vehicle identification number of the vehicle in the sample image. Describe the key point information of the vehicle in the sample diagram.
202、将所述样本图作为多任务检测模型的入参,执行所述多任务检测模型以关联输出与车辆标识相关的第一结果以及与车辆关键点信息相关的第二结果。202. Use the sample map as an input parameter of a multi-task detection model, and execute the multi-task detection model to associate and output a first result related to the vehicle identification and a second result related to the vehicle key point information.
203、根据所述第一结果与所述第一标签,以及所述第二结果与所述第二标签,对所述多任务检测模型中参数进行优化。203. Optimize the parameters in the multi-task detection model according to the first result and the first label, and the second result and the second label.
204、待所述多任务检测模型完成训练后,将完成训练的所述多任务检测模型发送至路侧设备,以便所述路侧设备利用所述多任务检测模型对采集到图像进行检测。204. After the multi-task detection model completes training, send the trained multi-task detection model to the roadside device, so that the roadside device uses the multi-task detection model to detect the collected images.
上述201中,进一步的所述训练样本还包括第三标签;所述第三标签为所述样本图中车辆对应的检测框;所述第二标签对应的关键点信息包括:所述检测框锚点及所述样本图中车辆的底盘关键点;执行所述多任务检测模型关联输出的结果还包括与检测框相关的第三结果。相应的,上述步骤203具体为: In the above step 201, the training sample further includes a third label; the third label is the detection frame corresponding to the vehicle in the sample image; the key point information corresponding to the second label includes: the detection frame anchor. points and the chassis key points of the vehicle in the sample diagram; the result of executing the correlation output of the multi-task detection model also includes a third result related to the detection frame. Correspondingly, the above step 203 is specifically as follows:
根据所述第一结果与所述第一标签,所述第二结果与所述第二标签以及所述第三结果与所述第三标签,对所述多任务检测模型中参数进行优化。According to the first result and the first label, the second result and the second label, and the third result and the third label, parameters in the multi-task detection model are optimized.
在一具体的实施方案中,如图4所示,所述多任务检测模型包括:特征提取网络2、特征融合层3、第一分支网络4、第二分支网络5及第三分支网络6;其中,第一分支网络4的输入端、所述第二分支网络5的输入端及所述第三分支网络6的输入端,均与所述特征融合层2的输出端连接。相应的,步骤202和203“将所述样本图作为多任务检测模型的入参,执行所述多任务检测模型以关联输出第一结果、第二结果和第三结果;根据所述第一结果与所述第一标签,所述第二结果与所述第二标签以及所述第三结果与所述第三标签,对所述多任务检测模型中参数进行优化”,可包括如下步骤:In a specific implementation, as shown in Figure 4, the multi-task detection model includes: feature extraction network 2, feature fusion layer 3, first branch network 4, second branch network 5 and third branch network 6; The input end of the first branch network 4 , the input end of the second branch network 5 and the input end of the third branch network 6 are all connected to the output end of the feature fusion layer 2 . Correspondingly, steps 202 and 203 "use the sample map as an input parameter of the multi-task detection model, execute the multi-task detection model to associate and output the first result, the second result and the third result; according to the first result and the first label, the second result and the second label, and the third result and the third label, optimizing the parameters in the multi-task detection model," may include the following steps:
S1、将所述样本图输入所述特征提取网络,输出第一特征信息;S1. Input the sample image into the feature extraction network and output the first feature information;
S2、将所述第一特征信息输入所述特征融合层,输出第二特征信息;S2. Input the first feature information into the feature fusion layer and output the second feature information;
S3、将所述第二特征信息输入所述第一分支网络,输出所述第一结果;S3. Input the second feature information into the first branch network and output the first result;
S4、将所述第二特征信息输入所述第二分支网络,输出所述第二结果;S4. Input the second feature information into the second branch network and output the second result;
S5、将所述第二特征信息输入所述第三分支网络,输出所述第三结果;S5. Input the second feature information into the third branch network and output the third result;
S6、根据所述第一结果与所述第一标签,所述第二结果与所述第二标签以及所述第三结果与所述第三标签,分别对所述特征提取网络、所述特征融合层、所述第一分支网络、第二分支网络及第三分支网络中的至少部分参数进行优化。S6. According to the first result and the first label, the second result and the second label, and the third result and the third label, respectively extract the feature extraction network, the feature Optimize at least some parameters in the fusion layer, the first branch network, the second branch network and the third branch network.
其中,本实施例在训练多任务检测模型时,需要对训练集中的各样本图的标签进行预处理。Among them, when training the multi-task detection model in this embodiment, it is necessary to preprocess the labels of each sample image in the training set.
这里需要说明的是:本申请实施例对多任务检测模型中优化过程使用的损失函数,以及参数优化算法均不作具体限定。It should be noted here that the embodiments of this application do not specifically limit the loss function used in the optimization process of the multi-task detection model, nor the parameter optimization algorithm.
图6示出了本申请又一实施例提供的路侧停车检测方法的流程示意图。本实施例提供的方法的执行主体可以是路侧设备。具体的,如图6所示,所述方法包括:Figure 6 shows a schematic flowchart of a roadside parking detection method provided by yet another embodiment of the present application. The execution subject of the method provided in this embodiment may be a roadside device. Specifically, as shown in Figure 6, the method includes:
301、采集路侧车辆的视频。301. Collect videos of roadside vehicles.
302、利用多任务检测模型对所述视频中的图像帧进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息。302. Use a multi-task detection model to detect image frames in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior.
303、根据所述行为信息,确定所述车辆路侧停车时长。303. Determine the roadside parking duration of the vehicle based on the behavior information.
304、基于所述关键点信息,判定所述车辆是否符合停车入位要求,得到判定结果。304. Based on the key point information, determine whether the vehicle meets the parking requirements and obtain a determination result.
305、根据所述车辆标识、所述停车时长及所述判定结果,确定停车账单。 305. Determine a parking bill based on the vehicle identification, the parking duration and the determination result.
有关上述302中的多任务检测模型,304中如何判定车辆是否符合停车入位要求等内容,可参见上文中的相应内容,此处不作赘述。Regarding the multi-task detection model in 302, how to determine whether the vehicle meets the parking space requirements in 304, etc., please refer to the corresponding content above, and will not be described in detail here.
上述303中,行为信息为车辆从停车入库行为、停车到驶离的全过程。同上文,需先基于所述行为信息确定车辆的状态,车辆处于停车状态时,确定停车起始时间;待车辆的行为为驶离状态时,确定驶离时间。根据驶离时间和停车起始时间,计算车辆路侧停车时长。In the above 303, the behavior information is the entire process of the vehicle from parking and warehousing behavior, parking to driving away. As above, it is necessary to first determine the state of the vehicle based on the behavior information. When the vehicle is in the parking state, the parking start time is determined; when the vehicle's behavior is the leaving state, the leaving time is determined. Calculate the length of time the vehicle will park on the roadside based on the departure time and parking start time.
综上,本申请各实施例提供的技术方案,使用车辆对应检测框的锚点作为车辆对应检测框以及车辆关键点信息(如车辆底盘上多个车轮对应关键点)的回归起点,这样在训练多任务检测模型时,对训练集中正样本的分配方案中将车辆关键点信息和车辆对应的检测框直接绑定在一起。多任务检测模型采用多任务学习方式,训练过程中在单纯的检测框基础上增添了车辆关键点信息,训练过程中特征增多使得多任务检测模型的检测鲁棒性好。In summary, the technical solution provided by each embodiment of the present application uses the anchor point of the vehicle corresponding detection frame as the regression starting point of the vehicle corresponding detection frame and vehicle key point information (such as key points corresponding to multiple wheels on the vehicle chassis), so that during training In the multi-task detection model, the vehicle key point information and the corresponding detection frame of the vehicle are directly bound together in the allocation plan for the positive samples in the training set. The multi-task detection model adopts a multi-task learning method. During the training process, vehicle key point information is added to the simple detection frame. The increase in features during the training process makes the multi-task detection model have good detection robustness.
另外,本申请实施例利用多任务检测模型同时输出车辆标识、车辆关键点信息等,减少了多次循环调用的开销。多任务检测模型在正样本分配阶段将车辆关键点信息和车辆对应检测框进行绑定,省去了后续配对的操作并提升了车辆关键点信息的召回率。In addition, the embodiment of the present application uses a multi-task detection model to simultaneously output vehicle identification, vehicle key point information, etc., reducing the overhead of multiple loop calls. The multi-task detection model binds vehicle key point information and vehicle corresponding detection frames in the positive sample allocation stage, eliminating subsequent pairing operations and improving the recall rate of vehicle key point information.
多任务检测模型可以同时训练相互关联的多个任务。多任务检测模型在模型训练时可用到来自不同任务的所有数据集,这样就相当于一定程度上增加了每个任务的训练样本,不仅可以提高预测性能,还可以用于解决数据集样本不均衡或数据样本不足等问题。其次,样本数据量的增加还可以促使模型向更加泛用的方向发展,大大提高模型的泛化性。此外,使用同一个模型同时处理多个不同的任务,可以达到缩短处理这些任务所需要的总时间的目的。Multi-task detection models can train multiple interrelated tasks simultaneously. The multi-task detection model can use all data sets from different tasks during model training, which is equivalent to increasing the training samples of each task to a certain extent. It can not only improve the prediction performance, but also be used to solve the imbalance of data set samples. Or problems such as insufficient data samples. Secondly, the increase in the amount of sample data can also promote the development of the model in a more general direction, greatly improving the generalization of the model. In addition, using the same model to handle multiple different tasks simultaneously can reduce the overall time required to process these tasks.
多任务模型的损失函数是多个任务的加和或其他形式的组合,并且基于对模型结构的假设,往往会增加若干不同的正则项。在各个任务的特征空间同构的前提下,输出层的每个节点对应每个任务的实际输出,可利用误差反向传播(Back Propagation,BP)算法对该网络进行训练。The loss function of a multi-task model is the summation or other combination of multiple tasks, and based on assumptions about the model structure, several different regular terms are often added. Under the premise that the feature space of each task is isomorphic, each node of the output layer corresponds to the actual output of each task, and the error back propagation (Back Propagation, BP) algorithm can be used to train the network.
图7示出了本申请一实施例提供的路侧停车检测装置的结构示意图。如图所示,所述装置包括:第一采集模块21、第一检测模块22、第一判定模块23及数据关联模块24。其中,所述第一采集模块21用于采集路侧停靠车辆的图像。所述第一检测模块22用于利用多任务检测模型对所述图像进行检测,以关联输出车辆标识及关键点信息。所述第一判定模块23用于根据所述关键点信息,判定所述车辆是否符合停车入位要求。所述数据关联模块24用于将判定结果与所述车辆标识关联,作为所述车辆的路 侧停车数据。Figure 7 shows a schematic structural diagram of a roadside parking detection device provided by an embodiment of the present application. As shown in the figure, the device includes: a first acquisition module 21, a first detection module 22, a first determination module 23 and a data association module 24. Wherein, the first collection module 21 is used to collect images of vehicles parked on the roadside. The first detection module 22 is used to detect the image using a multi-task detection model to correlate and output vehicle identification and key point information. The first determination module 23 is used to determine whether the vehicle meets the parking space requirements based on the key point information. The data association module 24 is used to associate the determination result with the vehicle identification as the road of the vehicle. Side parking data.
其中,所述多任务检测模型包括:特征提取网络、特征融合层、第一分支网络、第二分支网络及第三分支网络。其中,特征提取网络用于对所述图像进行特征提取,得到第一特征信息。特征融合层用于对所述第一特征信息进行融合,得到第二特征信息。第一分支网络用于对所述第二特征信息进行处理,输出车辆标识。第二分支网络用于对所述第二特征信息进行处理,输出关键点信息。第三分支网络用于对所述第二特征信息进行处理,输出表征所述车辆位置的检测框。Wherein, the multi-task detection model includes: a feature extraction network, a feature fusion layer, a first branch network, a second branch network and a third branch network. Wherein, the feature extraction network is used to extract features from the image to obtain first feature information. The feature fusion layer is used to fuse the first feature information to obtain the second feature information. The first branch network is used to process the second feature information and output a vehicle identification. The second branch network is used to process the second feature information and output key point information. The third branch network is used to process the second feature information and output a detection frame characterizing the vehicle position.
进一步的,所述关键点信息可包括:所述图像中车辆对应检测框的锚点以及车辆底盘关键点。Further, the key point information may include: anchor points of the detection frames corresponding to the vehicle in the image and key points of the vehicle chassis.
进一步的,所述图像为视频中的一帧。相应的,所述第一检测模块22用于利用所述多任务检测模型对所述视频中的多帧图像进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息。其中,所述行为信息包括:从各帧图像中检测出的所述车辆对应检测框的锚点。Further, the image is a frame in a video. Correspondingly, the first detection module 22 is configured to use the multi-task detection model to detect multiple frames of images in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior. Wherein, the behavior information includes: the anchor point of the detection frame corresponding to the vehicle detected from each frame image.
进一步的,本实施例提供的路侧停车检测装置还可包括第一确定模块。其中,所述第一确定模块用于根据所述行为信息,确定所述车辆的状态;所述状态为停车状态时,确定停车起始时间,并将所述停车起始时间与所述车辆标识关联;所述状态为停车状态后触发所述第一判定模块根据所述关键点信息判定所述车辆是否符合停车入位要求;所述状态为驶离状态时,确定驶离时间,并将所述驶离时间与所述车辆标识关联。Furthermore, the roadside parking detection device provided in this embodiment may also include a first determination module. Wherein, the first determination module is used to determine the state of the vehicle according to the behavior information; when the state is a parking state, determine the parking starting time, and combine the parking starting time with the vehicle identification Association; after the state is in the parking state, the first determination module is triggered to determine whether the vehicle meets the parking requirements according to the key point information; when the state is in the leaving state, the departure time is determined, and the The departure time is associated with the vehicle identification.
再进一步的,所述第一确定模块还用于根据所述停车起始时间、判定所述车辆是否符合停车入位要求的判定结果及驶离时间,计算所述车辆标识对应车辆的停车费用。Furthermore, the first determination module is also used to calculate the parking fee for the vehicle corresponding to the vehicle logo based on the parking start time, the determination result of whether the vehicle meets the parking space requirements, and the departure time.
进一步的,所述关键点信息包括:车辆底盘上多个车轮分别对应的关键点。相应的,所述第一判定模块23在根据所述关键点信息,判定所述车辆是否符合停车入位要求时,具体用于:Further, the key point information includes: key points corresponding to multiple wheels on the vehicle chassis. Correspondingly, when determining whether the vehicle meets the parking requirements based on the key point information, the first determination module 23 is specifically used to:
获取所述图像中所述车辆停车位置处的停车位轮廓线;根据所述停车位轮廓线及所述车辆底盘多个车轮分别对应的关键点,判定所述车辆是否符合停车入位要求;判定结果为不符合停车入位要求时,基于所述停车位轮廓线及所述车辆底盘多个车轮分别对应的关键点,确定所述车辆的违规方式;其中,所述违规方式包括如下中的至少一种:压线、跨位。Obtain the parking space contour line at the parking position of the vehicle in the image; determine whether the vehicle meets the parking space requirements based on the parking space contour line and key points corresponding to multiple wheels of the vehicle chassis; determine whether the vehicle meets the parking space requirements; When the result is that the parking space requirements are not met, the violation mode of the vehicle is determined based on the parking space contour and the key points respectively corresponding to the multiple wheels of the vehicle chassis; wherein the violation mode includes at least one of the following One type: line pressing and crossing position.
这里需要说明的是:本实施例提供的所述路侧停车检测装置除具有上述各模块对应提供的功能外,还可实现上述相应方法实施例中其他部分或全部步骤对应的功能,具体可参 见上述方法实施例相应内容,在此不再赘述。It should be noted here that the roadside parking detection device provided in this embodiment, in addition to the functions provided by each of the above modules, can also realize the functions corresponding to other part or all steps in the above corresponding method embodiments. For details, please refer to Please refer to the corresponding content of the above method embodiments, which will not be described again here.
图8示出了本申请另一实施例提供的路侧停车检测装置的结构示意图。如图所示,所述装置包括:获取模块31、训练模块32及发送模块33。其中,获取模块31用于获取训练集中的训练样本,其中,所述训练样本包括样本图、第一标签及第二标签;所述第一标签为所述样本图中车辆的车辆标识,所述第二标签为所述样本图中车辆的关键点信息。所述训练模块32用于将所述样本图作为多任务检测模型的入参,执行所述多任务检测模型以关联输出与车辆标识相关的第一结果以及与车辆关键点信息相关的第二结果;根据所述第一结果与所述第一标签,以及所述第二结果与所述第二标签,对所述多任务检测模型中参数进行优化。所述发送模块33用于在所述多任务检测模型完成训练后,将完成训练的所述多任务检测模型发送至路侧设备,以便所述路侧设备利用所述多任务检测模型对采集到图像进行检测。Figure 8 shows a schematic structural diagram of a roadside parking detection device provided by another embodiment of the present application. As shown in the figure, the device includes: an acquisition module 31 , a training module 32 and a sending module 33 . Wherein, the acquisition module 31 is used to acquire training samples in the training set, where the training samples include a sample image, a first label and a second label; the first label is the vehicle identification of the vehicle in the sample image, and the The second label is the key point information of the vehicle in the sample image. The training module 32 is configured to use the sample graph as an input parameter of a multi-task detection model, and execute the multi-task detection model to associate and output a first result related to the vehicle identification and a second result related to the vehicle key point information. ; Optimize parameters in the multi-task detection model according to the first result and the first label, and the second result and the second label. The sending module 33 is configured to send the trained multi-task detection model to the roadside device after the multi-task detection model completes training, so that the roadside device uses the multi-task detection model to collect the images for inspection.
进一步的,所述训练样本还包括第三标签;所述第三标签为所述样本图中车辆对应的检测框;所述第二标签对应的关键点信息包括:所述检测框锚点及所述样本图中车辆的底盘关键点;执行所述多任务检测模型关联输出的结果还包括与检测框相关的第三结果。相应的,训练模块32在根据所述第一结果与所述第一标签,以及所述第二结果与所述第二标签,对所述多任务检测模型中参数进行优化时,具体用于:Further, the training sample also includes a third label; the third label is the detection frame corresponding to the vehicle in the sample image; the key point information corresponding to the second label includes: the anchor point of the detection frame and the The chassis key points of the vehicle in the sample diagram are shown; the result of executing the correlation output of the multi-task detection model also includes a third result related to the detection frame. Correspondingly, when optimizing the parameters in the multi-task detection model based on the first result and the first label, and the second result and the second label, the training module 32 is specifically used to:
根据所述第一结果与所述第一标签,所述第二结果与所述第二标签以及所述第三结果与所述第三标签,对所述多任务检测模型中参数进行优化。According to the first result and the first label, the second result and the second label, and the third result and the third label, parameters in the multi-task detection model are optimized.
进一步的,所述多任务检测模型包括:特征提取网络、特征融合层、第一分支网络、第二分支网络及第三分支网络;其中,第一分支网络的输入端、所述第二分支网络的输入端及所述第三分支网络的输入端,均与所述特征融合层的输出端连接。相应的,所述训练模块32具体用于:Further, the multi-task detection model includes: a feature extraction network, a feature fusion layer, a first branch network, a second branch network and a third branch network; wherein, the input end of the first branch network, the second branch network The input terminal of and the input terminal of the third branch network are both connected to the output terminal of the feature fusion layer. Correspondingly, the training module 32 is specifically used to:
将所述样本图输入所述特征提取网络,输出第一特征信息;Input the sample image into the feature extraction network and output the first feature information;
将所述第一特征信息输入所述特征融合层,输出第二特征信息;Input the first feature information into the feature fusion layer and output the second feature information;
将所述第二特征信息输入所述第一分支网络,输出所述第一结果;Input the second feature information into the first branch network and output the first result;
将所述第二特征信息输入所述第二分支网络,输出所述第二结果;Input the second feature information into the second branch network and output the second result;
将所述第二特征信息输入所述第三分支网络,输出所述第三结果;Input the second feature information into the third branch network and output the third result;
根据所述第一结果与所述第一标签,所述第二结果与所述第二标签以及所述第三结果与所述第三标签,分别对所述特征提取网络、所述特征融合层、所述第一分支网络、第二分支网络及第三分支网络中的至少部分参数进行优化。 According to the first result and the first label, the second result and the second label, and the third result and the third label, the feature extraction network and the feature fusion layer are respectively , optimizing at least some parameters in the first branch network, the second branch network and the third branch network.
这里需要说明的是:本实施例提供的所述路侧停车检测装置除具有上述各模块对应提供的功能外,还可实现上述相应方法实施例中其他部分或全部步骤对应的功能,具体可参见上述方法实施例相应内容,在此不再赘述。It should be noted here that the roadside parking detection device provided in this embodiment, in addition to the functions provided by each module mentioned above, can also realize the functions corresponding to other part or all steps in the corresponding method embodiments mentioned above. For details, see The corresponding contents of the above method embodiments will not be described again here.
图9示出了本申请又一实施例提供的路侧停车检测装置的结构示意图。如图所示,所述路侧停车检测装置包括:第二采集模块41、第二检测模块42、第二确定模块43及第二判定模块44。其中,所述第二采集模块41用于采集路侧车辆的视频。所述第二检测模块42用于利用多任务检测模型对所述视频中的图像帧进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息。所述第二确定模块43用于根据所述行为信息,确定所述车辆路侧停车时长。所述第二判定模块44用于基于所述关键点信息,判定所述车辆是否符合停车入位要求,得到判定结果。所述第二确定模块用于根据所述车辆标识、所述停车时长及所述判定结果,确定停车账单。Figure 9 shows a schematic structural diagram of a roadside parking detection device provided by yet another embodiment of the present application. As shown in the figure, the roadside parking detection device includes: a second collection module 41, a second detection module 42, a second determination module 43 and a second determination module 44. Wherein, the second collection module 41 is used to collect videos of roadside vehicles. The second detection module 42 is used to detect the image frames in the video using a multi-task detection model to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior. The second determination module 43 is configured to determine the roadside parking duration of the vehicle based on the behavior information. The second determination module 44 is used to determine whether the vehicle meets the parking requirements based on the key point information, and obtain a determination result. The second determination module is used to determine a parking bill based on the vehicle identification, the parking duration and the determination result.
这里需要说明的是:本实施例提供的所述路侧停车检测装置除具有上述各模块对应提供的功能外,还可实现上述相应方法实施例中其他部分或全部步骤对应的功能,具体可参见上述方法实施例相应内容,在此不再赘述。It should be noted here that the roadside parking detection device provided in this embodiment, in addition to the functions provided by each module mentioned above, can also realize the functions corresponding to other part or all steps in the corresponding method embodiments mentioned above. For details, see The corresponding contents of the above method embodiments will not be described again here.
图10示出了本申请一实施例提供一个电子设备的结构示意图。如图10所示,所述电子设备包括:存储器51以及处理器52。存储器51可被配置为存储其它各种数据以支持在传感器上的操作。这些数据的示例包括用于在传感器上操作的任何应用程序或方法的指令。存储器51可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Figure 10 shows a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in FIG. 10 , the electronic device includes: a memory 51 and a processor 52 . Memory 51 may be configured to store various other data to support operations on the sensor. Examples of this data include instructions for any application or method operating on the sensor. Memory 51 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
所述存储器51,用于存储一条或多条计算机指令;The memory 51 is used to store one or more computer instructions;
所述处理器52,与所述存储器51耦合,用于执行所述存储器51中存储的一条或多条计算机指令,以实现上述各实施例提供的路侧停车检测方法中的步骤。The processor 52 is coupled to the memory 51 and is used to execute one or more computer instructions stored in the memory 51 to implement the steps in the roadside parking detection method provided by the above embodiments.
进一步,如图10所示,电子设备还包括:通信组件53、电源组件55及显示器56等其它组件。图10中仅示意性给出部分组件,并不意味着电子设备只包括图10所示组件。Further, as shown in FIG. 10 , the electronic device also includes: a communication component 53 , a power supply component 55 , a display 56 and other components. Only some components are schematically shown in FIG. 10 , which does not mean that the electronic device only includes the components shown in FIG. 10 .
相应地,本申请实施例还提供一种存储有计算机程序的计算机可读存储介质,所述计算机程序被计算机执行时能够实现上述各实施例提供的路侧停车检测方法步骤或功能。Correspondingly, embodiments of the present application also provide a computer-readable storage medium storing a computer program. When the computer program is executed by a computer, the steps or functions of the roadside parking detection method provided by the above embodiments can be implemented.
本申请实施例还提供一种计算机程序产品,包括计算机程序,当所述计算机程序被处理器执行时,致使所述处理器能够实现上述各实施例提供的路侧停车检测方法步骤或功能。 An embodiment of the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the processor can implement the steps or functions of the roadside parking detection method provided by the above embodiments.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative. The units described as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they may be located in One location, or it can be distributed across multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Persons of ordinary skill in the art can understand and implement the method without any creative effort.
通过以上实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the part of the above technical solution that essentially contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., including a number of instructions to cause a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in various embodiments or certain parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present application, but not to limit it; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent substitutions are made to some of the technical features; however, these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions in the embodiments of the present application.

Claims (15)

  1. 一种路侧停车检测方法,其特征在于,适用于路侧设备,所述方法包括:A roadside parking detection method, characterized in that it is suitable for roadside equipment, and the method includes:
    采集路侧停靠车辆的图像;Collect images of vehicles parked on the roadside;
    利用多任务检测模型对所述图像进行检测,以关联输出车辆标识及关键点信息;Use a multi-task detection model to detect the image to correlate and output vehicle identification and key point information;
    根据所述关键点信息,判定所述车辆是否符合停车入位要求;Based on the key point information, determine whether the vehicle meets the parking requirements;
    将判定结果与所述车辆标识关联,作为所述车辆的路侧停车数据。The determination result is associated with the vehicle identification as roadside parking data of the vehicle.
  2. 根据权利要求1所述的方法,其特征在于,所述多任务检测模型包括:The method according to claim 1, characterized in that the multi-task detection model includes:
    特征提取网络,用于对所述图像进行特征提取,得到第一特征信息;A feature extraction network, used to extract features from the image to obtain first feature information;
    特征融合层,用于对所述第一特征信息进行融合,得到第二特征信息;A feature fusion layer is used to fuse the first feature information to obtain the second feature information;
    第一分支网络,用于对所述第二特征信息进行处理,输出车辆标识;The first branch network is used to process the second feature information and output the vehicle identification;
    第二分支网络,用于对所述第二特征信息进行处理,输出关键点信息。The second branch network is used to process the second feature information and output key point information.
  3. 根据权利要求2所述的方法,其特征在于,所述多任务检测模型还包括:The method according to claim 2, characterized in that the multi-task detection model further includes:
    第三分支网络,用于对所述第二特征信息进行处理,输出表征所述车辆位置的检测框。The third branch network is used to process the second feature information and output a detection frame characterizing the position of the vehicle.
  4. 根据权利要求3所述方法,其特征在于,所述关键点信息包括:所述图像中车辆对应检测框的锚点以及车辆底盘关键点。The method according to claim 3, characterized in that the key point information includes: anchor points of the detection frames corresponding to the vehicle in the image and key points of the vehicle chassis.
  5. 根据权利要求3所述的方法,其特征在于,所述图像为视频中的一帧;以及所述方法还包括:The method of claim 3, wherein the image is a frame in a video; and the method further includes:
    利用所述多任务检测模型对所述视频中的多帧图像进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息;Utilize the multi-task detection model to detect multiple frames of images in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior;
    其中,所述行为信息包括:从各帧图像中检测出的所述车辆对应检测框的锚点。Wherein, the behavior information includes: the anchor point of the detection frame corresponding to the vehicle detected from each frame image.
  6. 根据权利要求5所述的方法,其特征在于,还包括:The method according to claim 5, further comprising:
    根据所述行为信息,确定所述车辆的状态;Determine the status of the vehicle based on the behavioral information;
    所述状态为停车状态时,确定停车起始时间,并将所述停车起始时间与所述车辆标识关联;When the state is a parking state, determine the parking starting time and associate the parking starting time with the vehicle identification;
    所述状态为停车状态后,触发所述根据所述关键点信息判定所述车辆是否符合停车入位要求的步骤;After the state is a parking state, trigger the step of determining whether the vehicle meets the parking requirements based on the key point information;
    所述状态为驶离状态时,确定驶离时间,并将所述驶离时间与所述车辆标识关联。When the state is the leaving state, the leaving time is determined, and the leaving time is associated with the vehicle identification.
  7. 根据权利要求6所述的方法,其特征在于,还包括:The method according to claim 6, further comprising:
    根据所述停车起始时间、判定所述车辆是否符合停车入位要求的判定结果及驶离 时间,计算所述车辆标识对应车辆的停车费用。According to the parking start time, the determination result of whether the vehicle meets the parking requirements and the departure time to calculate the parking fee for the vehicle corresponding to the vehicle identification.
  8. 根据权利要求1至7中任一项所述的方法,其特征在于,所述关键点信息包括:车辆底盘上多个车轮分别对应的关键点;以及The method according to any one of claims 1 to 7, wherein the key point information includes: key points corresponding to multiple wheels on the vehicle chassis; and
    根据所述关键点信息,判定所述车辆是否符合停车入位要求,包括:Based on the key point information, determine whether the vehicle meets the parking requirements, including:
    获取所述图像中所述车辆停车位置处的停车位轮廓线;Obtain the parking space outline at the parking location of the vehicle in the image;
    根据所述停车位轮廓线及所述车辆底盘多个车轮分别对应的关键点,判定所述车辆是否符合停车入位要求;Determine whether the vehicle meets the parking space requirements according to the key points corresponding to the parking space contour and the multiple wheels of the vehicle chassis;
    判定结果为不符合停车入位要求时,基于所述停车位轮廓线及所述车辆底盘多个车轮分别对应的关键点,确定所述车辆的违规方式;When the determination result is that the parking space requirements are not met, the violation mode of the vehicle is determined based on the parking space outline and the key points corresponding to the multiple wheels of the vehicle chassis;
    其中,所述违规方式包括如下中的至少一种:压线、跨位。Wherein, the violation method includes at least one of the following: line pressing, crossing position.
  9. 一种路侧停车检测方法,其特征在于,适用于服务端,所述方法包括:A roadside parking detection method, characterized in that it is suitable for the server, and the method includes:
    获取训练集中的训练样本,其中,所述训练样本包括样本图、第一标签及第二标签;所述第一标签为所述样本图中车辆的车辆标识,所述第二标签为所述样本图中车辆的关键点信息;Obtain training samples in the training set, where the training samples include a sample image, a first label and a second label; the first label is the vehicle identification of the vehicle in the sample image, and the second label is the sample Key point information of the vehicle in the picture;
    将所述样本图作为多任务检测模型的入参,执行所述多任务检测模型以关联输出与车辆标识相关的第一结果以及与车辆关键点信息相关的第二结果;Use the sample map as an input parameter of the multi-task detection model, and execute the multi-task detection model to associate and output a first result related to the vehicle identification and a second result related to the vehicle key point information;
    根据所述第一结果与所述第一标签,以及所述第二结果与所述第二标签,对所述多任务检测模型中参数进行优化;Optimize parameters in the multi-task detection model according to the first result and the first label, and the second result and the second label;
    待所述多任务检测模型完成训练后,将完成训练的所述多任务检测模型发送至路侧设备,以便所述路侧设备利用所述多任务检测模型对采集到图像进行检测。After the multi-task detection model completes training, the trained multi-task detection model is sent to the roadside device, so that the roadside device uses the multi-task detection model to detect the collected images.
  10. 根据权利要求9所述的方法,其特征在于,所述训练样本还包括第三标签;所述第三标签为所述样本图中车辆对应的检测框;所述第二标签对应的关键点信息包括:所述检测框锚点及所述样本图中车辆的底盘关键点;执行所述多任务检测模型关联输出的结果还包括与检测框相关的第三结果;以及The method of claim 9, wherein the training sample further includes a third label; the third label is a detection frame corresponding to the vehicle in the sample image; and the key point information corresponding to the second label Including: the detection frame anchor point and the chassis key point of the vehicle in the sample map; the result of executing the correlation output of the multi-task detection model also includes a third result related to the detection frame; and
    根据所述第一结果与所述第一标签,以及所述第二结果与所述第二标签,对所述多任务检测模型中参数进行优化,包括:According to the first result and the first label, and the second result and the second label, optimizing the parameters in the multi-task detection model includes:
    根据所述第一结果与所述第一标签,所述第二结果与所述第二标签以及所述第三结果与所述第三标签,对所述多任务检测模型中参数进行优化。According to the first result and the first label, the second result and the second label, and the third result and the third label, parameters in the multi-task detection model are optimized.
  11. 根据权利要求10所述的方法,其特征在于,所述多任务检测模型包括:特征提取网络、特征融合层、第一分支网络、第二分支网络及第三分支网络;其中,第一 分支网络的输入端、所述第二分支网络的输入端及所述第三分支网络的输入端,均与所述特征融合层的输出端连接;以及The method according to claim 10, characterized in that the multi-task detection model includes: a feature extraction network, a feature fusion layer, a first branch network, a second branch network and a third branch network; wherein, the first The input end of the branch network, the input end of the second branch network and the input end of the third branch network are all connected to the output end of the feature fusion layer; and
    将所述样本图作为多任务检测模型的入参,执行所述多任务检测模型以关联输出第一结果、第二结果和第三结果;根据所述第一结果与所述第一标签,所述第二结果与所述第二标签以及所述第三结果与所述第三标签,对所述多任务检测模型中参数进行优化,包括:The sample graph is used as an input parameter of the multi-task detection model, and the multi-task detection model is executed to associate and output the first result, the second result and the third result; according to the first result and the first label, the The second result and the second label and the third result and the third label are used to optimize parameters in the multi-task detection model, including:
    将所述样本图输入所述特征提取网络,输出第一特征信息;Input the sample image into the feature extraction network and output the first feature information;
    将所述第一特征信息输入所述特征融合层,输出第二特征信息;Input the first feature information into the feature fusion layer and output the second feature information;
    将所述第二特征信息输入所述第一分支网络,输出所述第一结果;Input the second feature information into the first branch network and output the first result;
    将所述第二特征信息输入所述第二分支网络,输出所述第二结果;Input the second feature information into the second branch network and output the second result;
    将所述第二特征信息输入所述第三分支网络,输出所述第三结果;Input the second feature information into the third branch network and output the third result;
    根据所述第一结果与所述第一标签,所述第二结果与所述第二标签以及所述第三结果与所述第三标签,分别对所述特征提取网络、所述特征融合层、所述第一分支网络、第二分支网络及第三分支网络中的至少部分参数进行优化。According to the first result and the first label, the second result and the second label, and the third result and the third label, the feature extraction network and the feature fusion layer are respectively , optimizing at least some parameters in the first branch network, the second branch network and the third branch network.
  12. 一种路侧停车系统,其特征在于,包括:A roadside parking system is characterized by including:
    服务端,用于利用训练集对多任务检测模型进行训练;The server is used to train the multi-task detection model using the training set;
    路侧设备,与所述服务端连接,用于从所述服务端获取完成训练的所述多任务检测模型;采集路侧停靠车辆的图像;利用多任务检测模型对所述图像进行检测,以关联输出车辆标识及关键点信息;根据所述关键点信息,判定所述车辆是否符合停车入位要求;Roadside equipment, connected to the server, is used to obtain the multi-task detection model that has completed training from the server; collect images of vehicles parked on the roadside; use the multi-task detection model to detect the images to Correlate and output vehicle identification and key point information; determine whether the vehicle meets the parking requirements based on the key point information;
    将判定结果与所述车辆标识关联,作为所述车辆的路侧停车数据。The determination result is associated with the vehicle identification as roadside parking data of the vehicle.
  13. 根据权利要求12所述的系统,其特征在于,所述图像为视频中的一帧;以及所述路侧设备还用于:The system according to claim 12, wherein the image is a frame in a video; and the roadside device is also used for:
    利用所述多任务检测模型对所述视频中的多帧图像进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息;Utilize the multi-task detection model to detect multiple frames of images in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior;
    根据所述行为信息,确定所述车辆的状态;Determine the status of the vehicle based on the behavioral information;
    所述状态为停车状态时,确定停车起始时间,并将所述停车起始时间与所述车辆标识关联;When the state is a parking state, determine the parking starting time and associate the parking starting time with the vehicle identification;
    所述状态为停车状态后,触发所述根据所述关键点信息判定所述车辆是否符合停车入位要求的步骤; After the state is a parking state, trigger the step of determining whether the vehicle meets the parking requirements based on the key point information;
    所述状态为驶离状态时,确定驶离时间,并将所述驶离时间与所述车辆标识关联。When the state is the leaving state, the leaving time is determined, and the leaving time is associated with the vehicle identification.
  14. 一种路侧停车检测方法,其特征在于,适用于路侧设备,所述方法包括:A roadside parking detection method, characterized in that it is suitable for roadside equipment, and the method includes:
    采集路侧车辆的视频;Collect videos of roadside vehicles;
    利用多任务检测模型对所述视频中的图像帧进行检测,以关联输出反映所述车辆行为的行为信息、车辆标识及关键点信息;Use a multi-task detection model to detect image frames in the video to correlate and output behavioral information, vehicle identification and key point information reflecting the vehicle behavior;
    根据所述行为信息,确定所述车辆路侧停车时长;Determine the length of time the vehicle is parked on the roadside based on the behavioral information;
    基于所述关键点信息,判定所述车辆是否符合停车入位要求,得到判定结果;Based on the key point information, determine whether the vehicle meets the parking requirements and obtain a determination result;
    根据所述车辆标识、所述停车时长及所述判定结果,确定停车账单。A parking bill is determined based on the vehicle identification, the parking duration and the determination result.
  15. 一种电子设备,其特征在于,包括存储器和处理器;所述存储器用于存储一条或多条计算机指令,所述一条或多条计算机指令被所述处理器执行时能够实现上述权利要求1至8中任一项所述路侧停车检测方法中的步骤,或权利要求9至11中任一项所述的路侧停车检测方法中的步骤,或权利要求14中所述的路侧停车检测方法中的步骤。 An electronic device, characterized in that it includes a memory and a processor; the memory is used to store one or more computer instructions, and when the one or more computer instructions are executed by the processor, the above claims 1 to 1 can be realized. The steps in the roadside parking detection method described in any one of 8, or the steps in the roadside parking detection method described in any one of claims 9 to 11, or the roadside parking detection described in claim 14 steps in the method.
PCT/CN2023/101179 2022-06-20 2023-06-19 Roadside parking detection method, roadside parking system, and electronic device WO2023246720A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210701367.0 2022-06-20
CN202210701367.0A CN115171053A (en) 2022-06-20 2022-06-20 Roadside parking detection method and system and electronic equipment

Publications (1)

Publication Number Publication Date
WO2023246720A1 true WO2023246720A1 (en) 2023-12-28

Family

ID=83487611

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/101179 WO2023246720A1 (en) 2022-06-20 2023-06-19 Roadside parking detection method, roadside parking system, and electronic device

Country Status (2)

Country Link
CN (1) CN115171053A (en)
WO (1) WO2023246720A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115171053A (en) * 2022-06-20 2022-10-11 阿里云计算有限公司 Roadside parking detection method and system and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274495A (en) * 2017-05-16 2017-10-20 南京信息工程大学 A kind of unattended curb parking fee collecting system
CN107393335A (en) * 2017-08-07 2017-11-24 中智华清(北京)科技有限公司 A kind of full-automatic shutdown system based on car plate sensing, parking management method
CN110334709A (en) * 2019-07-09 2019-10-15 西北工业大学 Detection method of license plate based on end-to-end multitask deep learning
CN114241373A (en) * 2021-12-14 2022-03-25 北京理工大学重庆创新中心 End-to-end vehicle behavior detection method, system, equipment and storage medium
CN115171053A (en) * 2022-06-20 2022-10-11 阿里云计算有限公司 Roadside parking detection method and system and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107274495A (en) * 2017-05-16 2017-10-20 南京信息工程大学 A kind of unattended curb parking fee collecting system
CN107393335A (en) * 2017-08-07 2017-11-24 中智华清(北京)科技有限公司 A kind of full-automatic shutdown system based on car plate sensing, parking management method
CN110334709A (en) * 2019-07-09 2019-10-15 西北工业大学 Detection method of license plate based on end-to-end multitask deep learning
CN114241373A (en) * 2021-12-14 2022-03-25 北京理工大学重庆创新中心 End-to-end vehicle behavior detection method, system, equipment and storage medium
CN115171053A (en) * 2022-06-20 2022-10-11 阿里云计算有限公司 Roadside parking detection method and system and electronic equipment

Also Published As

Publication number Publication date
CN115171053A (en) 2022-10-11

Similar Documents

Publication Publication Date Title
CN104867191B (en) Parking charge system and method based on electronic charging equipment
WO2020248386A1 (en) Video analysis method and apparatus, computer device and storage medium
CN110047319B (en) Parking lot parking space navigation method, electronic device and storage medium
US11398092B2 (en) Parking detection method and device based on visual difference
CN107945566A (en) Curb parking management system and method based on multiple target tracking and deep learning
CN107967817A (en) Intelligent managing system for parking lot and method based on multi-path camera deep learning
US20160086488A1 (en) Prediction of free parking spaces in a parking area
CN105261234A (en) Unattended intelligent parking management system and method in open area
CN112820137B (en) Parking lot management method and device
WO2023246720A1 (en) Roadside parking detection method, roadside parking system, and electronic device
CN108154707A (en) A kind of parking data processing terminal equipment and managing system of car parking
CN106504351A (en) A kind of Parking charging method and server
CN112053567B (en) Roadside parking management method and electronic equipment
CN111311766A (en) Roadside parking intelligent charging system and method based on license plate recognition and tracking technology
CN108765975A (en) The vertical managing system of car parking of trackside and method
TW201729165A (en) Method for billing of a parking fee particularly to a method for billing of a parking fee for parking at a parking space
CN115063746A (en) Vehicle warehousing management method and device, computer equipment and storage medium
CN113380021A (en) Vehicle state detection method, device, server and computer-readable storage medium
WO2023241595A1 (en) Parking space range processing method and computing device
CN205158653U (en) Free region unmanned on duty's intelligent system for parking management
CN106251622A (en) Vehicle road monitor evidence collecting method and system thereof
WO2021086884A1 (en) System, apparatus and method of provisioning allotments utilizing machine visioning
CN111260953A (en) In-road parking management method, device and system
CN115131986A (en) Intelligent management method and system for closed parking lot
CN114648881A (en) Machine learning-based intelligent garage control method and system

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23826368

Country of ref document: EP

Kind code of ref document: A1