WO2020087743A1 - Non-motor vehicle traffic violation supervision method and apparatus and electronic device - Google Patents

Non-motor vehicle traffic violation supervision method and apparatus and electronic device Download PDF

Info

Publication number
WO2020087743A1
WO2020087743A1 PCT/CN2018/124833 CN2018124833W WO2020087743A1 WO 2020087743 A1 WO2020087743 A1 WO 2020087743A1 CN 2018124833 W CN2018124833 W CN 2018124833W WO 2020087743 A1 WO2020087743 A1 WO 2020087743A1
Authority
WO
WIPO (PCT)
Prior art keywords
motor vehicle
motion information
information
features
illegal
Prior art date
Application number
PCT/CN2018/124833
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 WO2020087743A1 publication Critical patent/WO2020087743A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/20Analysis of motion
    • G06T7/246Analysis of motion using feature-based methods, e.g. the tracking of corners or segments
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/10Image acquisition modality
    • G06T2207/10016Video; Image sequence
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20021Dividing image into blocks, subimages or windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30236Traffic on road, railway or crossing
    • 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 invention relates to the technical field of image recognition, and in particular to a method, device and electronic equipment for non-motor vehicle traffic violation supervision.
  • Image recognition is one of the current technologies commonly used in traffic management, for example: detection of traffic violation events based on license plate image recognition or detection of other traffic events based on image recognition of other vehicle features.
  • image recognition in traffic management mainly focuses on the identification of motor vehicle license plates and vehicle characteristics, and determines illegal drivers from license plate and vehicle information to supervise traffic violations.
  • non-motor vehicles that have not been licensed in accordance with traffic management requirements, it is currently not possible to supervise the traffic violations of non-motor vehicles.
  • Embodiments of the present invention provide a method and device for monitoring non-motor vehicle traffic violations, electronic equipment, and computer-readable storage media, which can more effectively supervise non-motor vehicle traffic violations.
  • an embodiment of the present invention provides a non-motor vehicle traffic violation supervision method, including:
  • the image information includes non-motor vehicle features of non-motor vehicles and human face features;
  • the motion information of the non-motor vehicle determine whether the non-motor vehicle triggers a preset illegal condition
  • the identity information of the driver of the illegal non-motor vehicle is confirmed.
  • the method further includes:
  • the motion information of the non-motor vehicle includes motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes motion information of the facial characteristics;
  • the matching the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel includes:
  • the motion information according to the non-motor vehicle characteristics and the facial feature motion information in the preset range for the non-locomotive matching driver and passengers includes:
  • the motion information of the non-motor vehicle feature includes the speed of the non-motor vehicle feature
  • the motion information of the face feature includes the speed of the face feature
  • the face set is formed.
  • matching the non-locomotive occupants according to the face set includes:
  • the facial features closest to the non-motor vehicle feature pixels are selected from the multiple facial features to determine the facial features of the driver and occupant to obtain the driving characteristics of the non-motor vehicle Passengers.
  • the confirmation of the identity information of the driver of the illegal non-motor vehicle includes:
  • the facial features of the driver of the illegal non-motor vehicle are compared with the background identity image library to determine the identity information of the driver.
  • an embodiment of the present invention provides a non-motor vehicle traffic violation monitoring device, including:
  • the first acquisition module is used to acquire image information, the image information includes non-motor vehicle features of the non-motor vehicle and human face features of the person;
  • a second acquisition module configured to visually track the characteristics of the non-motor vehicle and the facial features, and obtain the motion information of the non-motor vehicle and the motion information of the person;
  • a matching module configured to match the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel;
  • the judging module is used for judging whether the non-motor vehicle triggers a preset illegal condition according to the motion information of the non-motor vehicle;
  • the confirmation module is used to confirm the identity information of the driver of the illegal non-motorized vehicle if the illegal behavior of the non-motorized vehicle exists.
  • an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, when the processor executes the computer program
  • the steps in the non-motor vehicle traffic law supervision method provided by the embodiments of the present invention are implemented.
  • an embodiment of the present invention provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and the computer program is executed by a processor to implement the non-motor vehicle traffic provided by the embodiment of the present invention. Steps in illegal supervision methods.
  • image information is obtained, and the image information includes non-motor vehicle features of a non-motor vehicle and human face features; visually tracking the non-motor vehicle features and the face features to obtain the Non-motor vehicle movement information and the person's movement information; according to the non-motor vehicle movement information and the person's movement information for the non-locomotive matching driver and passenger; based on the non-motor vehicle movement information, It is determined whether the non-motor vehicle triggers a pre-set illegal condition; if the non-motor vehicle has illegal behavior, the identity information of the driver of the illegal non-motor vehicle is confirmed. Due to the matching of face features and non-motor vehicle features, so as to match the drivers of non-motor vehicles, it is possible to more effectively supervise the traffic violations of non-motor vehicles.
  • FIG. 1 is a schematic flowchart of a method for monitoring non-motor vehicle traffic violations provided by an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention.
  • FIG. 8 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention.
  • FIG. 9 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 1 is a schematic flowchart of a method for non-motor vehicle traffic violation supervision provided by an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
  • image information includes non-motor vehicle features of a non-motor vehicle and human face features of a person.
  • the above image information can be collected by traffic cameras installed at intersections or roadsides.
  • the traffic cameras used for collection can be shared with motor vehicle cameras and / or pedestrian cameras, or can be separately provided non-motor vehicles Capture camera.
  • the above-mentioned non-motorized vehicle may be a non-motorized vehicle such as a bicycle, a tricycle, an electric vehicle, a balance bike, etc.
  • the above-mentioned non-motorized vehicle characteristic may be a non-motorized vehicle characteristic such as a head, a handle, a pedal, a tire, and the like.
  • the aforementioned facial features may be facial features such as facial contours, mouth, eyes, nose, etc.
  • the image information extracted in step 101 may include one or more non-motor vehicle features and one or more face features.
  • the above image information may also be referred to as picture information, visual information, or picture frame information.
  • the image information further includes the posture features of the person.
  • the posture features may be posture features such as hand posture, foot posture, upper body posture, etc.
  • By analyzing the posture features of the person it can be determined whether the person has irregularities. In the case of driving a non-motorized vehicle, for example, it is possible to determine whether the person's hand is away from the handle, whether the person's foot is placed at a designated position, etc., through posture characteristics.
  • tracking refers to continuously acquiring images of non-motor vehicle features and human faces.
  • the non-motor vehicle features and human face features can be adjusted by adjusting the shooting angle of the camera.
  • two sets of cameras can be set for shooting, one set of cameras is used for shooting still images, and one set of cameras is used for tracking and shooting dynamic images.
  • the two sets of cameras are only for the convenience of explaining the way of acquiring images, and are not for implementing the present invention
  • it may also be one or more groups of cameras, and the number of each group of cameras is at least one.
  • the camera may also use a wide-angle camera, which has a wide field of view, so that You can track non-motor vehicle features and face features without adjusting the camera's shooting angle.
  • the motion information of the non-motor vehicle features can be calculated through the displacement and time of the non-motor vehicle features on the multi-frame image.
  • the motion information of the non-motor vehicle features is the motion information of the motor vehicle.
  • the first frame image is related to the first
  • the interval between 200 frames of images is 4s
  • the position of the non-motorized vehicle in the first frame of the image is assumed to be 0m
  • the position of the 200th frame of the image is 20m
  • the average speed of the non-motorized vehicle is 5m / s
  • the above unit It can be a meter or a pixel on an image, which is not specifically limited here.
  • the motion information of the non-motor vehicle may be speed information or trajectory information of the non-motor vehicle during driving.
  • the motion information of the person may be speed information or trajectory information of the person.
  • the motion information of the non-motor vehicle can be divided according to the relative motion state of the non-motor vehicle and the camera, and the relative motion state can include: forward driving, forward driving, stop driving, etc.
  • the non-motorized vehicle is driving toward the camera. In this state, the camera can collect the facial features of the non-motorized person, and the facial features obtained in this state are easy to identify.
  • the corresponding motion information can be the coming speed , And other trajectory information. Going forward refers to the driving of the non-motorized vehicle facing away from the camera.
  • the corresponding motion information can be the moving information such as going speed and going track. Stopping refers to the stop of the non-motorized vehicle.
  • the corresponding motion information can be the stopping speed and stopping. Movement information such as trajectory, of course, in the stop state, the stop speed is zero and the stop trajectory is a point.
  • the field of view of the camera may also be referred to as the field of view of the camera.
  • the non-motor vehicle features appearing in the video may be tracked by the Kalman filter algorithm, so as to track the non-motor vehicle and obtain the motion information of the non-motor vehicle.
  • the motion information of the non-motorized vehicle may be speed information or trajectory information of the non-motorized vehicle during driving.
  • the motion information of the person may be the speed information or trajectory information of the person.
  • the similarity of the motion information between the non-motor vehicle and the driver can be used to match the corresponding driver to the non-motor vehicle.
  • the non-motor vehicle with the same speed can be matched with the personnel to obtain the driver, or can Match the person with the speed closest to the speed of the non-motor vehicle to the driver, or you can match the non-motor vehicle with the same movement trajectory to the person to get the driver, or you can match the movement trajectory to the movement trajectory of the non-motor vehicle Personnel matching is driving personnel.
  • non-motorized vehicle B For example, suppose that the motion information of non-motorized vehicle B is C, and that the motion information of two persons A1 and A2 are D1 and D2 respectively. When D1 and C are close to or the same, then person A1 can be regarded as a non-machine The driver of motor vehicle B, when A2 is closer to C than A1, then person A2 can be regarded as the driver of non-motor vehicle B.
  • driver can also be called a driver or a driver.
  • the non-motorized vehicle can also be matched with the occupants through the posture characteristics of the person.
  • the posture characteristics can be posture characteristics such as hand posture, foot posture, upper body posture, etc. For example, by determining the Which person ’s posture features the hand belongs to to match the non-motor vehicle driver and passenger can be matched to the non-motor vehicle driver ’s passenger by judging which person ’s posture feature the foot on the pedal belongs to, etc.
  • the gesture feature can be associated with the face feature to match the gesture feature to the corresponding person.
  • the motion information of the non-motorized vehicle may be speed information or trajectory information of the non-motorized vehicle during driving.
  • the illegal conditions include: red light running conditions, motor vehicle lane occupying conditions, retrograde conditions, and speeding conditions.
  • the preset red light running condition can be a virtual coil, which is controlled by the road traffic signal control system, and the road traffic signal control system sends a snapshot signal to the camera.
  • the road traffic signal control system can be used when the traffic light is at the red light phase Send a snapshot signal to the camera, stop sending the snapshot signal to the camera when it is in the green light phase, or send the snapshot signal to the camera throughout the process.
  • the snapshot set a virtual coil to determine whether the non-motor vehicle triggers the red light condition.
  • the virtual coil is a common way of judging the red light, so I wo n’t go into details here.
  • the preset conditions for occupying a motor vehicle lane may be to divide a motor vehicle lane and a non-motor vehicle lane, and to identify the existence state of a non-motor vehicle. .
  • the preset retrograde condition may be the value of the angle between the non-motor vehicle driving direction and the road direction. For example, if the angle between the non-motor vehicle driving direction and the road direction is more than 90 degrees, the non-motor vehicle may be judged to reverse and trigger the retrograde condition. In some possible implementation manners, a driving trajectory of a non-motor vehicle may be obtained, and when an angle between the driving trajectory and a road driving direction satisfies a retrograde judgment condition, a retrograde condition is triggered.
  • the preset overspeed condition can be the speed limit value of the non-motor vehicle lane of the current road section.
  • the speed information of the non-motor vehicle can be obtained from the motion information of the non-motor vehicle.
  • Judge that the non-motor vehicle is speeding and trigger the speeding condition For example, if the speed of the obtained non-motor vehicle is 40 yards, and the speed limit of the non-motor vehicle lane of the road section is 35 yards, it can be judged that the non-motor vehicle is speeding.
  • microwave radar can be used.
  • the speed sensor measures the speed of the non-motorized vehicle. When the speed of the non-motorized vehicle is measured, the speed of the non-motorized vehicle can be determined to trigger the overspeed condition.
  • the above-mentioned camera may be called a video camera or a camera
  • the above-mentioned illegal conditions may also be called illegal conditions or illegal conditions.
  • the illegal conditions include: red light running conditions, occupied motorway conditions, retrograde conditions, speeding conditions, etc.
  • step 104 the above illegal conditions have been described accordingly, and will not be described here.
  • step 103 the driver and occupant of the non-motor vehicle has been matched, and the identity information can be confirmed through the facial features of the driver and occupant. For example, the face information of the driver and passenger is compared with a static database of ID cards.
  • the static database of ID cards can be a remote database set in the public security system or a local database directly associated with the camera.
  • the images of the illegal non-motor vehicle and its driver may also be retained as evidence of the violation.
  • non-motor vehicle traffic violation supervision method provided by the embodiments of the present invention can be applied to non-motor vehicle traffic violation detection equipment, such as: traffic cameras, computers, servers, and other devices that can perform non-motor vehicle traffic violation detection.
  • image information is obtained, and the image information includes non-motor vehicle features of a non-motor vehicle and human face features; visually tracking the non-motor vehicle features and the face features to obtain the Non-motor vehicle movement information and the person's movement information; according to the non-motor vehicle movement information and the person's movement information for the non-locomotive matching driver and passenger; based on the non-motor vehicle movement information, It is determined whether the non-motor vehicle triggers a pre-set illegal condition; if the non-motor vehicle has illegal behavior, the identity information of the driver of the illegal non-motor vehicle is confirmed. Due to the matching of facial features and non-motor vehicle features, the non-motor vehicle drivers and passengers can be matched, and the traffic violations of non-motor vehicles can be more effectively supervised.
  • FIG. 2 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
  • image information includes non-motor vehicle features of a non-motor vehicle and facial features of a person.
  • the aforementioned illegal information may be illegal types, wherein the illegal types may be red light running, occupation of vehicle lanes, retrograde, speeding and other illegal types.
  • the aforementioned illegal types may be confirmed according to illegal conditions triggered by non-motor vehicles, for example, non-machine
  • non-motor vehicles for example, non-machine
  • a motor vehicle triggers a condition for running a red light
  • a non-motor vehicle triggers a condition for occupying a motor vehicle lane
  • it generates illegal information for occupying a motor vehicle lane it generates illegal information for occupying a motor vehicle lane.
  • the foregoing illegal information may include information such as illegal time and illegal location.
  • a non-motor vehicle triggers a red light condition
  • the illegal information of the non-motor vehicle running a red light at time A and B is generated.
  • the above illegal information may also include the identity information of the driver and occupant. For example, if the driver C drives a red light condition when driving a non-motor vehicle at the time B at time A, then the driver C at the time B will drive the non-motor vehicle to drive a red light Illegal information. It should be noted that the above illegal information can be recorded or displayed through the captured face image.
  • the above prompt information may be a prompt information generated according to the illegal type. For example, when driver C is driving at a time B at a time B and driving a non-motor vehicle to run a red light, a warning light may be generated: C, you drive at a time B at time A Non-motor vehicles running through red lights, please pay attention to pedestrians and driving safety. Or when the occupant C drives the non-motorized vehicle to occupy the motorized lane on the road B section at time A, a reminder message for the occupied motorized lane can be generated: C, you drive the non-motorized vehicle at the location A to occupy the motorized lane at time A, please pay attention to driving Safe, back to the non-motorized lane.
  • the above-mentioned prompting device may be a mobile device of a driver of a non-motor vehicle, wherein the mobile device may be a mobile device such as a mobile phone or a tablet provided with a prompt information receiving application, an electronic display sign installed at an intersection, or a setting Voice announcer on the roadside.
  • the mobile device may be a mobile device such as a mobile phone or a tablet provided with a prompt information receiving application, an electronic display sign installed at an intersection, or a setting Voice announcer on the roadside.
  • the voice announcer of the voice announcer is used to make the driver and passengers get a reminder.
  • non-motor vehicle traffic violation supervision method can be applied to non-motor vehicle traffic violation detection equipment, such as: traffic cameras, computers, servers, and other devices that can perform non-motor vehicle traffic violation detection.
  • FIG. 3 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
  • Image information including non-motor vehicle features of a non-motor vehicle and human face features.
  • the motion information of the non-motor vehicle includes the motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes the motion information of the facial characteristics;
  • the motion information of the non-motor vehicle feature may be the speed or trajectory of the non-motor vehicle feature
  • the motion information of the face feature may be the speed or trajectory of the face feature.
  • the features to be recognized will be made into a feature box, for example, non-motor vehicle features and face features will be made into non-motor vehicle feature boxes and face feature boxes, respectively, the movement of non-motor vehicle features
  • the information can be embodied as the motion information of the non-motor vehicle feature frame
  • the facial feature motion information can be embodied as the facial feature frame motion information, which can be obtained by acquiring the facial feature frame within the preset range of the non-motor vehicle feature frame. Face features within the preset range of non-motor vehicle features.
  • This preset range can be the pixel radius of the non-motor vehicle feature frame on the image, or the size radius. For example, you can obtain the face within 100 pixel radius of the non-motor vehicle feature Features, for example, can obtain a face feature frame whose distance from the center of the face feature frame to the center of the non-motor vehicle feature frame is less than 200 pixels. You can use the motion information of the non-motor vehicle features and the facial feature motion information within the preset range of the non-motor vehicle features to extract the facial features whose motion information is closest to or the same as the non-motor vehicle feature motion information. The facial features possessed by the driver and passenger can match the driver and passenger.
  • the non-motor vehicle feature is B
  • the motion information of B is C
  • face features A1, A2, and A3 within the preset range of B
  • the motion information of A1, A2, and A3 are D1, D2, and D3, respectively.
  • D1, D2, D3 can be speed, trajectory, or distance.
  • step 203 is optional. For example, in some scenarios, it is only necessary to match the driver and passenger of the non-locomotive based on the motion information of the non-motor vehicle and the motion information of the personnel.
  • the motion information according to the non-motor vehicle characteristics and the facial feature motion information in the preset range for the non-locomotive matching driver and passengers includes:
  • the motion information of the non-motor vehicle features may be the speed or trajectory of the non-motor vehicle features, and the motion information of the above face features may be the speed or trajectory of the face features.
  • the non-motor vehicle features and the facial features are visually tracked, and multiple frames of images can be acquired.
  • multi-frame images it is possible to calculate the motion information of the non-motor vehicle features and the facial feature motion information, and within the preset range of the non-motor vehicle features, extract the face whose motion information is similar to the motion information of the non-motor vehicle features Features to form a face set.
  • the preset range may be the pixel radius or the size radius on the image.
  • the motion information of the face feature is similar to the motion information of the non-motor vehicle feature. It may be the threshold of the motion information of the non-motor vehicle feature, such as the speed of the non-motor vehicle feature.
  • Threshold interval when the speed of the face feature falls within the speed threshold interval of the non-motor vehicle feature, the motion information of the face feature and the non-motor vehicle feature can be regarded as similar. For example, if the speed threshold of non-motor vehicle features is 30 yards to 35 yards, when the speed of face features is 33 yards, the speed of face features and the speed of non-motor vehicle features can be regarded as similar, so that people
  • the motion information of facial features is similar to that of non-motorized vehicles.
  • the non-motor vehicle characteristic speed threshold interval can be set by the non-motor vehicle characteristic speed.
  • the motion information of the facial features is similar to the motion information of the non-motor vehicle features, and may also be the threshold of the trajectory similarity of the non-motor vehicle features and the facial features.
  • the degree threshold can be regarded as similar to the motion information of the face feature and the non-motor vehicle feature.
  • the threshold of the trajectory similarity of non-motor vehicle features and face features can be set to 80%.
  • 'S motion information is similar to that of non-motorized vehicles.
  • a face set in each frame image, can be formed, and multiple frame images can obtain multiple face sets, and the intersection of multiple face sets is obtained to obtain the final face set.
  • This embodiment does not It is not limited that each frame of images forms a face set, or a partial frame of images may form a face set, such as a 200-frame image, and two frames may be extracted to form 2 face sets.
  • the facial features in the final face set obtained by finding the intersection are the facial features that have always existed within the preset range of the non-motor vehicle features during visual tracking, and can also be said to be in the non-motor vehicle driving process and the non-motor vehicle process Keep facial features close to a certain distance.
  • the motion information of the non-motor vehicle feature includes the speed of the non-motor vehicle feature
  • the motion information of the face feature includes the speed of the face feature
  • the face set is formed.
  • the non-motor vehicle features and the facial features are visually tracked, and multiple frames of images can be acquired.
  • the speed of non-motor vehicle features and the speed of face features can be calculated.
  • face features with speeds similar to those of non-motor vehicle features are extracted to form a person Face set.
  • the speed of non-motor vehicle features and the speed of face features can be calculated by the position change and time of the center point of the middle feature box in the image recognition technology.
  • the preset range can be the pixel radius on the image or the radius of the size.
  • the speed of the face feature is similar to the speed of the non-motor vehicle feature. It can be the speed threshold of the non-motor vehicle feature.
  • the speed threshold interval of the non-motor vehicle feature can be the speed threshold interval of the non-motor vehicle feature. Compare the speed of the face feature with the speed threshold interval of the non-motor vehicle feature , When the speed of the face feature falls within the speed threshold interval of the non-motor vehicle feature, the speed of the face feature and the speed of the non-motor vehicle feature can be regarded as similar, for example: the speed threshold interval of the non-motor vehicle feature is 30 yards To 35 yards, assuming that the speed of face feature A1 is 33 yards, the speed of face feature A2 is 34 yards, and the speed of face feature A3 is 29 yards, you can compare the speeds of face features A1 and A2 with non-motor vehicle features The speed is considered to be similar, so that the facial features A1 and A2 are recorded into the face set, so that some people who are not clearly the driver of the motor vehicle can be removed For example, a person with a face feature A3 has only face features A1 and A2 in the face set, so that the face feature elements in the face set are reduced.
  • the face features A1 and A1 in the face set need to be calculated. A2, reduce the computational cost of matching driver and passengers through face sets.
  • the formed face set is an empty set, the face can be integrated into a non-empty face set by increasing the preset range of non-motor vehicle features and / or expanding the speed threshold interval of the non-motor vehicle features.
  • the motion information of the non-motor vehicle feature includes a trajectory of the non-motor vehicle feature
  • the motion information of the face feature includes a trajectory of the face feature
  • the face set is formed.
  • the trajectory comparison result can be the degree of coincidence between the trajectory of the face feature and the trajectory of the non-motor vehicle feature.
  • the center of the feature box of the face feature in the continuous image and the center of the feature box of the non-motor vehicle feature are The trajectories in the continuous image are compared starting from the same end point, and the ratio of the length of the trajectory of the facial feature and the trajectory of the non-motor vehicle feature to the total length of the trajectory of the facial feature and the trajectory of the non-motor vehicle feature is calculated to obtain the coincidence degree
  • the trajectory length of the face feature is 49
  • the trajectory length of the non-motor vehicle feature is 51
  • the length of the overlapped part is 45
  • the trajectory comparison result can also be the comparison result of the trajectory equation of the trajectory of the face feature and the trajectory of the non-motor vehicle feature.
  • the ratio or difference of the constants in the two trajectory equations the closer the ratio is to 1, it means that The more similar the two trajectory equations, the closer the difference is to 0, indicating that the two trajectory equations are more similar.
  • matching the non-locomotive occupants according to the face set includes:
  • the facial features closest to the non-motor vehicle feature pixels are selected from the multiple facial features to determine the facial features of the driver and occupant to obtain the driving characteristics of the non-motor vehicle Passengers.
  • the most recent pixel is the smallest pixel interval between the center of the feature frame of the face feature and the center of the feature box of the non-motor vehicle feature in the image, or the center of the feature box border of the face feature and the center of the feature box of the non-motor vehicle feature
  • the pixel spacing between is the smallest.
  • the face features in the face set are unique, it can be directly considered that the unique face features in the face set belong to the driver and occupant, thereby determining the driving Passengers.
  • the facial features closest to the feature size of the non-motor vehicle can be selected from the multiple facial features to determine the facial features of the driver and passenger, and the non-machine Passengers in motor vehicles.
  • the confirmation of the identity information of the driver of the illegal non-motor vehicle includes:
  • the facial features of the driver of the illegal non-motor vehicle are compared with the background identity image library to determine the identity information of the driver. As shown in Figure 4.
  • Image quality assessment in the above is one of the basic technologies in image processing. It mainly analyzes and studies the characteristics of the image, and then evaluates the quality of the image (the degree of image distortion).
  • the image quality score can be obtained through image quality evaluation. It can be set that the higher the image quality, the higher the image quality score, so that the image with the highest image quality score is selected. Compare the facial features extracted from the image with the highest image quality score with the ID photo in the background identity image library, select the ID photo with the highest similarity to the facial features, and extract the identity of the corresponding ID photo Information, so as to obtain the information of the drivers of illegal non-motor vehicles.
  • the facial features of all the people in the image with the highest quality score can also be extracted and compared with the ID card in the background identity image library to obtain the information of all the people in the image, and then Identify the driver.
  • the above background identity image library may be an image library set on a local server, or an image library set on a server on the cloud.
  • FIG. 5 is a schematic structural diagram of a non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention. As shown in FIG. 5, it includes:
  • the first acquisition module 401 is used to acquire image information, the image information includes non-motor vehicle features of the non-motor vehicle and human face features of the person;
  • the second obtaining module 402 is configured to perform visual tracking on the non-motor vehicle features and the face features, and obtain motion information of the non-motor vehicle and motion information of the person;
  • the matching module 403 is configured to match the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel;
  • the judging module 404 is used for judging whether the non-motor vehicle triggers a preset illegal condition according to the motion information of the non-motor vehicle;
  • the confirmation module 405 is configured to confirm the identity information of the driver of the illegal non-motor vehicle if the non-motor vehicle triggers the preset illegal condition.
  • the device further includes:
  • the first generating module 406 is configured to generate illegal information according to the illegal conditions triggered by the non-motor vehicle;
  • the second generation module 407 is configured to generate prompt information according to the illegal information, and send the prompt information to a prompt device, where the prompt device is used to remind the driver of the illegal non-motor vehicle.
  • the motion information of the non-motor vehicle includes motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes motion information of the face characteristics;
  • the matching module 403 is used to obtain facial features within the preset range of the non-motor vehicle features, and is used to obtain motion information of the non-motor vehicle features and facial feature movement information within the preset range Match the driver to the non-locomotive.
  • the matching module 403 includes:
  • the processing unit 4031 is configured to form a face set according to the motion information of the non-motor vehicle characteristics and the motion information of the facial features within the preset range;
  • the matching unit 4032 matches drivers and occupants for the non-locomotive according to the face set.
  • the motion information of the non-motor vehicle feature includes the speed of the non-motor vehicle feature
  • the motion information of the face feature includes the speed of the face feature
  • the processing unit 4031 includes:
  • the first processing subunit 40311 compares the speed of the non-motor vehicle feature with the speed of the face feature to obtain a speed comparison result
  • the second processing subunit 40312 forms the face set according to the speed comparison result.
  • the matching unit 4032 includes:
  • the detection subunit 40321 detects the number of face features in the face set, and determines whether there are multiple face features in the face set;
  • the determining sub-unit 40322 if there are multiple facial features, then select the facial features closest to the non-motor vehicle feature pixels among the multiple facial features to determine the facial features of the driver and passenger, to obtain the Drivers of non-motor vehicles.
  • the confirmation module 405 includes:
  • the image evaluation unit 4051 is configured to select images with facial features of the driver of the illegal non-motor vehicle from the acquired image information for quality evaluation, and obtain an image quality score;
  • the image selection unit 4052 is used to select the image with the highest image quality score according to the image quality score
  • An extraction unit 4053 is used to extract the facial features of the driver of the illegal non-motor vehicle from the image with the highest image quality score
  • the comparison unit 4054 is used to compare the facial features of the driver of the illegal non-motor vehicle with the background identity image library to determine the identity information of the driver.
  • non-motor vehicle traffic violation supervision device provided by the embodiment of the present invention can be applied to non-motor vehicle traffic violation detection equipment, such as traffic cameras, computers, servers, and other devices that can perform non-motor vehicle traffic violation detection.
  • the non-motor vehicle traffic violation supervision device provided by the embodiment of the present invention can implement various implementation methods in the method embodiments of FIG. 1, FIG. 2, and FIG. 3, and corresponding beneficial effects. To avoid repetition, details are not described herein.
  • FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 11, it includes: a memory 902, a processor 901, and stored on the memory and can be on the processor A computer program that runs:
  • the processor 901 is used to call the computer program stored in the memory 902 and perform the following steps:
  • the image information includes non-motor vehicle features of non-motor vehicles and human face features;
  • the motion information of the non-motor vehicle determine whether the non-motor vehicle triggers a preset illegal condition
  • the identity information of the driver of the illegal non-motor vehicle is confirmed.
  • the processor 901 further executes steps:
  • Prompt information is generated according to the illegal information, and the prompt information is sent to a prompting device, and the prompting device is used to remind the driver of the illegal non-motor vehicle.
  • the motion information of the non-motor vehicle includes motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes motion information of the facial characteristics;
  • the execution of the processor 901 according to the motion information of the non-motor vehicle and the motion information of the person to match the driver and passenger of the non-locomotive includes:
  • the motion information according to the characteristics of the non-motor vehicle and the motion information of the face features within the preset range executed by the processor 901 for the non-locomotive matching driver and passenger include:
  • the motion information of the non-motor vehicle feature includes the speed of the non-motor vehicle feature
  • the motion information of the face feature includes the speed of the face feature
  • the execution of the processor 901 according to the motion information of the non-motor vehicle features and the motion information of the face features within the preset range to form a face set includes:
  • the face set is formed.
  • the matching of the non-locomotive driver and passengers based on the face set by the processor 901 includes:
  • the facial features closest to the non-motor vehicle feature pixels are selected from the multiple facial features to determine the facial features of the driver and occupant to obtain the driving characteristics of the non-motor vehicle Passengers.
  • the verification performed by the processor 901 to confirm the identity information of the driver of the illegal non-motor vehicle includes:
  • the facial features of the driver of the illegal non-motor vehicle are compared with the background identity image library to determine the identity information of the driver.
  • the electronic device provided by the embodiment of the present invention can be applied to non-motor vehicle traffic violation supervision equipment, such as: traffic cameras, computers, servers, and other devices that can detect non-motor vehicle traffic violation laws.
  • non-motor vehicle traffic violation supervision equipment such as: traffic cameras, computers, servers, and other devices that can detect non-motor vehicle traffic violation laws.
  • the electronic device provided by the embodiment of the present invention can implement various implementation methods in the method embodiments of FIG. 1, FIG. 2, and FIG. 3, and corresponding beneficial effects. To avoid repetition, details are not described herein again.
  • Embodiments of the present invention also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to implement the non-motor vehicle traffic violation supervision method embodiment provided by the embodiment of the present invention.
  • a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to implement the non-motor vehicle traffic violation supervision method embodiment provided by the embodiment of the present invention.
  • Each process can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short), etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Image Analysis (AREA)
  • Traffic Control Systems (AREA)

Abstract

A non-motor vehicle traffic violation supervision method and apparatus and an electronic device. The method comprises: obtaining image information (101); performing visual tracking on the non-motor vehicle features and the face features to obtain motion information of the non-motor vehicle and motion information of the personnel (102); matching a driver and a passenger for the non-motor vehicle according to the motion information of the non-motor vehicle and the motion information of the personnel (103); determining whether the non-motor vehicle triggers a preset illegal condition or not according to the motion information of the non-motor vehicle (104); and if the non-motor vehicle has the illegal behavior, confirming identity information of the driver and the passenger of the illegal non-motor vehicle (105). Due to the fact that the face features are matched with the non-motor vehicle features, drivers and passengers of the non-motor vehicles are matched, and traffic violation behaviors of the non-motor vehicles can be supervised more effectively.

Description

非机动车交通违法监管方法、装置及电子设备Non-motor vehicle traffic illegal supervision method, device and electronic equipment
本申请要求于2018年11月1日提交中国专利局,申请号为201811296616.2、发明名称为“非机动车交通违法监管方法、装置及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires priority to be submitted to the Chinese Patent Office on November 1, 2018, with the application number 201811296616.2 and the invention titled "Methods, Devices and Electronic Equipment for Non-Motor Vehicle Traffic Illegal Supervision", the entire content of which is cited by reference Incorporated in this application.
技术领域Technical field
本发明涉及图像识别技术领域,尤其涉及一种非机动车交通违法监管方法、装置及电子设备。The invention relates to the technical field of image recognition, and in particular to a method, device and electronic equipment for non-motor vehicle traffic violation supervision.
背景技术Background technique
图像识别是当前交通管理常用的技术之一,例如:使用基于车牌图像识别的交通违法事件检测或基于其他车辆特征图像识别的其他交通事件检测。目前交通管理中的图像识别主要针对机动车牌照和车辆特征进行识别,从车牌和车辆的信息确定违法的驾驶人员,以对交通违法事件进行监管。然而对于没有按交通管理要求办理上牌的非机动车,目前还无法对非机动车辆的交通违法行为进行监管。Image recognition is one of the current technologies commonly used in traffic management, for example: detection of traffic violation events based on license plate image recognition or detection of other traffic events based on image recognition of other vehicle features. At present, image recognition in traffic management mainly focuses on the identification of motor vehicle license plates and vehicle characteristics, and determines illegal drivers from license plate and vehicle information to supervise traffic violations. However, for non-motor vehicles that have not been licensed in accordance with traffic management requirements, it is currently not possible to supervise the traffic violations of non-motor vehicles.
发明内容Summary of the invention
本发明实施例提供一种图非机动车交通违法监管方法及装置、电子设备和计算机可读存储介质,能够更有效地对非机动车辆的交通违法行为进行监管。Embodiments of the present invention provide a method and device for monitoring non-motor vehicle traffic violations, electronic equipment, and computer-readable storage media, which can more effectively supervise non-motor vehicle traffic violations.
第一方面,本发明实施例提供一种非机动车交通违法监管方法,包括:In a first aspect, an embodiment of the present invention provides a non-motor vehicle traffic violation supervision method, including:
获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征;Obtain image information, the image information includes non-motor vehicle features of non-motor vehicles and human face features;
对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息;Visually tracking the characteristics of the non-motor vehicle and the facial features to obtain the movement information of the non-motor vehicle and the movement information of the person;
根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员;Matching driver and passengers for the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel;
根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件;According to the motion information of the non-motor vehicle, determine whether the non-motor vehicle triggers a preset illegal condition;
若所述非机动车触发所述预先设置的违法条件,则对违法非机动车的驾乘人员的身份信息进行确认。If the non-motor vehicle triggers the preset illegal condition, the identity information of the driver of the illegal non-motor vehicle is confirmed.
可选的,在所述对违法非机动车的驾乘人员的身份信息进行确认之后,所述方法还包 括:Optionally, after confirming the identity information of the driver of the illegal non-motor vehicle, the method further includes:
根据所述非机动车触发的违法条件,生成违法信息;Generate illegal information according to the illegal conditions triggered by the non-motor vehicle;
将所述违法信息发送到提示设备,所述提示设备用于对所述违法非机动车的驾乘人员进行违法提醒。Sending the illegal information to a prompting device, where the prompting device is used to remind the driver of the illegal non-motor vehicle.
可选的,所述非机动车的运动信息包括所述非机动车特征的运动信息,所述人员的运动信息包括所述人脸特征的运动信息;Optionally, the motion information of the non-motor vehicle includes motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes motion information of the facial characteristics;
所述根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员,包括:The matching the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel includes:
获取在所述非机动车特征预设范围内的人脸特征,根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员。Acquiring facial features within the preset range of the non-motor vehicle features, and matching the non-locomotive driver with the non-locomotive based on the motion information of the non-motor vehicle features and the facial feature motion information .
可选的,所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员,包括:Optionally, the motion information according to the non-motor vehicle characteristics and the facial feature motion information in the preset range for the non-locomotive matching driver and passengers includes:
根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集;Forming a face set according to the motion information of the non-motor vehicle features and the motion information of the face features within the preset range;
根据所述人脸集为所述非机车匹配驾乘人员。Match the driver and passenger to the non-locomotive according to the face set.
可选的,所述非机动车特征的运动信息包括非机动车特征的速度,所述人脸特征的运动信息包括人脸特征的速度;Optionally, the motion information of the non-motor vehicle feature includes the speed of the non-motor vehicle feature, and the motion information of the face feature includes the speed of the face feature;
所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集,包括:The forming of a face set according to the movement information of the non-motor vehicle characteristics and the movement information of the face characteristics within the preset range includes:
对比所述非机动车特征的速度与所述人脸特征的速度,得到速度对比结果;Comparing the speed of the non-motor vehicle feature with the speed of the face feature to obtain a speed comparison result;
根据所述速度对比结果,形成所述人脸集。According to the speed comparison result, the face set is formed.
可选的,所述根据所述人脸集为所述非机车匹配驾乘人员包括:Optionally, matching the non-locomotive occupants according to the face set includes:
检测所述人脸集人脸特征的数量,判断所述人脸集中是否存在多个人脸特征;Detecting the number of face features in the face set to determine whether there are multiple face features in the face set;
若存在多个人脸特征,则在所述多个人脸特征中选取与所述非机动车特征像素最近的人脸特征确定为所述驾乘人员的人脸特征,得到所述非机动车的驾乘人员。If there are multiple facial features, the facial features closest to the non-motor vehicle feature pixels are selected from the multiple facial features to determine the facial features of the driver and occupant to obtain the driving characteristics of the non-motor vehicle Passengers.
可选的,所述对违法非机动车的驾乘人员的身份信息进行确认,包括:Optionally, the confirmation of the identity information of the driver of the illegal non-motor vehicle includes:
从获取到的图像信息中,选取具有所述违法非机动车的驾乘人员的人脸特征的图像进行质量评价,得到图像质量评分;From the acquired image information, select an image with the facial features of the driver of the illegal non-motor vehicle for quality evaluation, and obtain an image quality score;
根据所述图像质量评分,选取图像质量评分最高的图像;According to the image quality score, select the image with the highest image quality score;
在所述图像质量评分最高的图像中提取所述违法非机动车的驾乘人员的人脸特征;Extract the facial features of the driver of the illegal non-motor vehicle from the image with the highest image quality score;
将所述违法非机动车的驾乘人员的人脸特征与后台身份图像库进行对比,确定驾乘人员的身份信息。The facial features of the driver of the illegal non-motor vehicle are compared with the background identity image library to determine the identity information of the driver.
第二方面,本发明实施例提供一种非机动车交通违监管测装置,包括:In a second aspect, an embodiment of the present invention provides a non-motor vehicle traffic violation monitoring device, including:
第一获取模块,用于获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征;The first acquisition module is used to acquire image information, the image information includes non-motor vehicle features of the non-motor vehicle and human face features of the person;
第二获取模块,用于对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息;A second acquisition module, configured to visually track the characteristics of the non-motor vehicle and the facial features, and obtain the motion information of the non-motor vehicle and the motion information of the person;
匹配模块,用于根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员;A matching module, configured to match the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel;
判断模块,用于根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件;The judging module is used for judging whether the non-motor vehicle triggers a preset illegal condition according to the motion information of the non-motor vehicle;
确认模块,用于若所述非机动车存在违法行为,则对违法非机动车的驾乘人员的身份信息进行确认。The confirmation module is used to confirm the identity information of the driver of the illegal non-motorized vehicle if the illegal behavior of the non-motorized vehicle exists.
第三方面,本发明实施例提供一种电子设备,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现本发明实施例提供的非机动车交通违法监管方法中的步骤。In a third aspect, an embodiment of the present invention provides an electronic device, including: a memory, a processor, and a computer program stored on the memory and executable on the processor, when the processor executes the computer program The steps in the non-motor vehicle traffic law supervision method provided by the embodiments of the present invention are implemented.
第四方面,本发明实施例提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现本发明实施例提供的非机动车交通违法监管方法中的步骤。According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium that stores a computer program on the computer-readable storage medium, and the computer program is executed by a processor to implement the non-motor vehicle traffic provided by the embodiment of the present invention. Steps in illegal supervision methods.
本发明实施例中,获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征;对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息;根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员;根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件;若所述非机动车存在违法行为,则对违法非机动车的驾乘人员的身份信息进行确认。由于通过人脸特征和非机动车特征进行匹配,从而对非机动车的驾乘人员进行匹配,能够更有效地对非机动车辆的交通违法行为进行监管。In the embodiment of the present invention, image information is obtained, and the image information includes non-motor vehicle features of a non-motor vehicle and human face features; visually tracking the non-motor vehicle features and the face features to obtain the Non-motor vehicle movement information and the person's movement information; according to the non-motor vehicle movement information and the person's movement information for the non-locomotive matching driver and passenger; based on the non-motor vehicle movement information, It is determined whether the non-motor vehicle triggers a pre-set illegal condition; if the non-motor vehicle has illegal behavior, the identity information of the driver of the illegal non-motor vehicle is confirmed. Due to the matching of face features and non-motor vehicle features, so as to match the drivers of non-motor vehicles, it is possible to more effectively supervise the traffic violations of non-motor vehicles.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明 的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present invention. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1是本发明实施例提供的一种非机动车交通违法监管方法的流程示意图;FIG. 1 is a schematic flowchart of a method for monitoring non-motor vehicle traffic violations provided by an embodiment of the present invention;
图2是本发明实施例提供的另一种非机动车交通违法监管方法的流程示意图;2 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention;
图3是本发明实施例提供的另一种非机动车交通违法监管方法的流程示意图;3 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention;
图4是本发明实施例提供的另一种非机动车交通违法监管方法的流程示意图;4 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention;
图5是本发明实施例提供的一种非机动车交通违法监管装置的结构示意图;5 is a schematic structural diagram of a non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention;
图6是本发明实施例提供的另一种非机动车交通违法监管装置的结构示意图;6 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention;
图7是本发明实施例提供的另一种非机动车交通违法监管装置的结构示意图;7 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention;
图8是本发明实施例提供的另一种非机动车交通违法监管装置的结构示意图;8 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention;
图9是本发明实施例提供的另一种非机动车交通违法监管装置的结构示意图;9 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention;
图10是本发明实施例提供的另一种非机动车交通违法监管装置的结构示意图;10 is a schematic structural diagram of another non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention;
图11是本发明实施例提供的一种电子设备的结构示意图。11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without making creative efforts fall within the protection scope of the present invention.
请参见图1,图1是本发明实施例提供的一种非机动车交通违法监管方法的流程示意图,如图1所示,包括以下步骤:Please refer to FIG. 1. FIG. 1 is a schematic flowchart of a method for non-motor vehicle traffic violation supervision provided by an embodiment of the present invention. As shown in FIG. 1, the method includes the following steps:
101、获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征。101. Acquire image information, where the image information includes non-motor vehicle features of a non-motor vehicle and human face features of a person.
其中,上述的图像信息可以由设置在路口或是路边的交通摄像头进行采集,用于采集的交通摄像头可以是与机动车摄像头和/或行人摄像头共用的,也可以是单独设置的非机动车采集摄像头。上述的非机动车可以是自行车、三轮车、电动车、平衡车等非机动车,上述非机动车特征可以是车头、把手、踏板、轮胎等非机动车特征。上述的人脸特征可以是面部轮廓、口、眼、鼻部等人脸特征。Wherein, the above image information can be collected by traffic cameras installed at intersections or roadsides. The traffic cameras used for collection can be shared with motor vehicle cameras and / or pedestrian cameras, or can be separately provided non-motor vehicles Capture camera. The above-mentioned non-motorized vehicle may be a non-motorized vehicle such as a bicycle, a tricycle, an electric vehicle, a balance bike, etc. The above-mentioned non-motorized vehicle characteristic may be a non-motorized vehicle characteristic such as a head, a handle, a pedal, a tire, and the like. The aforementioned facial features may be facial features such as facial contours, mouth, eyes, nose, etc.
需要说明的是,步骤101提取的图像信息中可以包括一个或者多个非机动车特征,以及一个或者多个人脸特征。另外,上述图像信息也可以称作图片信息或是视觉信息或是图片帧信息。It should be noted that the image information extracted in step 101 may include one or more non-motor vehicle features and one or more face features. In addition, the above image information may also be referred to as picture information, visual information, or picture frame information.
在一些可能的实施例中,图像信息还包括人员的姿态特征,姿态特征可以是手部姿态、脚部姿态、上身姿态等姿态特征,通过分析人员的姿态特征,可以判断人员是否存在不按规驾驶非机动车的情形,比如,可以通过姿态特征判断人员的手是否离开把手,判断人员的脚是否放在指定的位置等。In some possible embodiments, the image information further includes the posture features of the person. The posture features may be posture features such as hand posture, foot posture, upper body posture, etc. By analyzing the posture features of the person, it can be determined whether the person has irregularities. In the case of driving a non-motorized vehicle, for example, it is possible to determine whether the person's hand is away from the handle, whether the person's foot is placed at a designated position, etc., through posture characteristics.
102、对所述非机动车特征及所述人脸特征进行跟踪,获取所述非机动车的运动信息以及所述人员的运动信息。102. Track the characteristics of the non-motor vehicle and the facial features to obtain the motion information of the non-motor vehicle and the motion information of the person.
该步骤中,跟踪指的是连续获取非机动车特征及人脸的图像,在获取到非机动车特征及人脸特征后,可以通过调整摄像头的拍摄角度对非机动车特征及人脸特征进行跟踪,比如,可以设置两组摄像头进行拍摄,一组摄像头用于拍摄静态图像,一组摄像头用于跟踪拍摄动态图像,当然,两组摄像头只是为了便于说明图像的获取方式,并不是对本发明实施例的限制,也可以是一组或多组摄像头,每组摄像头的数量至少一个,当然,在一些可能的实施例中,摄像头也可以采用广角摄像头,广角摄像头拥有广阔的视场范围,从而可以不用通过调整摄像头的拍摄角度就可以对非机动车特征及人脸特征进行跟踪。可以通过多帧图像上的非机动车特征的位移情况及时间,计算得到非机动车特征的运动信息,非机动车特征的运动信息就是机动车的运动信息,比如,第1帧图像是与第200帧图像间隔时间为4s,非机动车在第1帧图像的位置假设为0m处,在第200帧图像的位置为20m处,则可以得到非机动车的平均速度为5m/s,上述单位可以是米,也可以是图像上的像素,在此不做具体的限定。上述非机动车的运动信息可以是非机动车在行驶过程中的速度信息或是轨迹信息,同样的,上述人员的运动信息可以是人员的速度信息或是轨迹信息。在摄像头的视场范围内,非机动车的运动信息可以根据非机动车与摄像头的相对运动状态进行划分,相对运动状态可以包括:来向行驶、去向行驶、停驶等,来向行驶指的是非机动车朝向摄像头进行行驶,此状态下,摄像头可以采集到非机动车的特征人员的人脸特征,且在此状态下获取到的人脸特征便于识别,对应的运动信息可以是来向速度、来向轨迹等运动信息。去向行驶指的是非机动车背向摄像头进行行驶,对应的运动信息可以是去向速度、去向轨迹等运动信息,停驶指的是非机动车停下,对应的运动信息可以是停驶速度、停驶轨迹等运动信息,当然,在停驶状态下,其停驶速度为零,停驶轨迹为点。In this step, tracking refers to continuously acquiring images of non-motor vehicle features and human faces. After acquiring non-motor vehicle features and human face features, the non-motor vehicle features and human face features can be adjusted by adjusting the shooting angle of the camera. For tracking, for example, two sets of cameras can be set for shooting, one set of cameras is used for shooting still images, and one set of cameras is used for tracking and shooting dynamic images. Of course, the two sets of cameras are only for the convenience of explaining the way of acquiring images, and are not for implementing the present invention For example, it may also be one or more groups of cameras, and the number of each group of cameras is at least one. Of course, in some possible embodiments, the camera may also use a wide-angle camera, which has a wide field of view, so that You can track non-motor vehicle features and face features without adjusting the camera's shooting angle. The motion information of the non-motor vehicle features can be calculated through the displacement and time of the non-motor vehicle features on the multi-frame image. The motion information of the non-motor vehicle features is the motion information of the motor vehicle. For example, the first frame image is related to the first The interval between 200 frames of images is 4s, the position of the non-motorized vehicle in the first frame of the image is assumed to be 0m, and the position of the 200th frame of the image is 20m, then the average speed of the non-motorized vehicle is 5m / s, the above unit It can be a meter or a pixel on an image, which is not specifically limited here. The motion information of the non-motor vehicle may be speed information or trajectory information of the non-motor vehicle during driving. Similarly, the motion information of the person may be speed information or trajectory information of the person. Within the field of view of the camera, the motion information of the non-motor vehicle can be divided according to the relative motion state of the non-motor vehicle and the camera, and the relative motion state can include: forward driving, forward driving, stop driving, etc. The non-motorized vehicle is driving toward the camera. In this state, the camera can collect the facial features of the non-motorized person, and the facial features obtained in this state are easy to identify. The corresponding motion information can be the coming speed , And other trajectory information. Going forward refers to the driving of the non-motorized vehicle facing away from the camera. The corresponding motion information can be the moving information such as going speed and going track. Stopping refers to the stop of the non-motorized vehicle. The corresponding motion information can be the stopping speed and stopping. Movement information such as trajectory, of course, in the stop state, the stop speed is zero and the stop trajectory is a point.
需要说明的,摄像头的视场也可以称作摄像头的视野。It should be noted that the field of view of the camera may also be referred to as the field of view of the camera.
在一些可能的实施例中,可以通过卡尔曼滤波算法跟踪视频中出现的非机动车特征,从而跟踪非机动车,获取非机动车的运动信息。In some possible embodiments, the non-motor vehicle features appearing in the video may be tracked by the Kalman filter algorithm, so as to track the non-motor vehicle and obtain the motion information of the non-motor vehicle.
103、根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人 员。103. Match the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the person.
该步骤中,非机动车的运动信息可以是非机动车在行驶过程中的速度信息或是轨迹信息,同样的,人员的运动信息可以是人员的速度信息或是轨迹信息。可以通过非机动车与驾乘人员运动信息的相似性,为非机动车匹配相应的的驾乘人员,比如,可以将具有相同速度的非机动车与人员进行匹配,得到驾乘人员,或者可以将速度最接近非机动车速度的人员匹配为驾乘人员,或者可以将拥有相同运动轨迹的非机动车与人员进行匹配,得到驾乘人员,或者可以将运动轨迹最接近非机动车运动轨迹的人员匹配为驾乘人员。举个例子,假设存在非机动车B的运动信息为C,存在A1与A2两个人员的运动信息分别为D1及D2,当D1与C较为接近或相同时,则可以认为人员A1为非机动车B的驾乘人员,当A2较之A1更加接近于C时,则可以认为人员A2为非机动车B的驾乘人员。In this step, the motion information of the non-motorized vehicle may be speed information or trajectory information of the non-motorized vehicle during driving. Similarly, the motion information of the person may be the speed information or trajectory information of the person. The similarity of the motion information between the non-motor vehicle and the driver can be used to match the corresponding driver to the non-motor vehicle. For example, the non-motor vehicle with the same speed can be matched with the personnel to obtain the driver, or can Match the person with the speed closest to the speed of the non-motor vehicle to the driver, or you can match the non-motor vehicle with the same movement trajectory to the person to get the driver, or you can match the movement trajectory to the movement trajectory of the non-motor vehicle Personnel matching is driving personnel. For example, suppose that the motion information of non-motorized vehicle B is C, and that the motion information of two persons A1 and A2 are D1 and D2 respectively. When D1 and C are close to or the same, then person A1 can be regarded as a non-machine The driver of motor vehicle B, when A2 is closer to C than A1, then person A2 can be regarded as the driver of non-motor vehicle B.
需要说明的是,上述驾乘人员还可以称作驾驶人员或是驾驶员。It should be noted that the above-mentioned driver can also be called a driver or a driver.
在一些可能的实施例中,也可以通过人员的姿态特征为非机动车匹配驾乘人员,姿态特征可以是手部姿态、脚部姿态、上身姿态等姿态特征,比如,可以通过判断把手上的手是属于哪个人员的姿态特征来匹配到非机动车的驾乘人员,可以通过判断踏板上的脚是属于哪个人员的姿态特征来匹配到非机动车的驾乘人员等,当然,在通过姿态特征来匹配到非机动车的驾乘人员时,还需要将姿态特征匹配到人员上,从而确定驾乘人员。可以将姿态特征与人脸特征进行关联匹配,从而将姿态特征匹配到对应人员上。In some possible embodiments, the non-motorized vehicle can also be matched with the occupants through the posture characteristics of the person. The posture characteristics can be posture characteristics such as hand posture, foot posture, upper body posture, etc. For example, by determining the Which person ’s posture features the hand belongs to to match the non-motor vehicle driver and passenger can be matched to the non-motor vehicle driver ’s passenger by judging which person ’s posture feature the foot on the pedal belongs to, etc. When the features are matched to the driver of the non-motorized vehicle, it is also necessary to match the posture feature to the person to determine the driver. The gesture feature can be associated with the face feature to match the gesture feature to the corresponding person.
104、根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件。104. According to the motion information of the non-motor vehicle, determine whether the non-motor vehicle triggers a preset illegal condition.
上述非机动车的运动信息可以是非机动车在行驶过程中的速度信息或是轨迹信息,所述违法条件包括:闯红灯条件、占用机动车道条件、逆行条件、超速条件等。The motion information of the non-motorized vehicle may be speed information or trajectory information of the non-motorized vehicle during driving. The illegal conditions include: red light running conditions, motor vehicle lane occupying conditions, retrograde conditions, and speeding conditions.
预先设置的闯红灯条件可以是虚拟线圈,通过与道路交通信号控制系统进行联运控制,由道路交通信号控制系统向摄像头发送抓拍信号,比如,道路交通信号控制系统可以在交通灯处在红灯相位时向摄像头发送抓拍信号,处于绿灯相位时停止向摄像头发送抓拍信号,也可以全程向摄像头发送抓拍信号,在抓拍后,通过设置虚拟线圈判定非机动车是否触发闯红灯条件。虚拟线圈是闯红灯判定的常用方式,在此不做过多的赘述。The preset red light running condition can be a virtual coil, which is controlled by the road traffic signal control system, and the road traffic signal control system sends a snapshot signal to the camera. For example, the road traffic signal control system can be used when the traffic light is at the red light phase Send a snapshot signal to the camera, stop sending the snapshot signal to the camera when it is in the green light phase, or send the snapshot signal to the camera throughout the process. After the snapshot, set a virtual coil to determine whether the non-motor vehicle triggers the red light condition. The virtual coil is a common way of judging the red light, so I wo n’t go into details here.
在一些可能的实施例中,也可以通过埋地实线圈来进行判断非机动车是否触发闯红灯条件。In some possible embodiments, it can also be determined whether a non-motor vehicle triggers a red light running condition by burying a solid coil.
预先设置的占用机动车道条件可以是对机动车道和非机动车道进行划分,识别非机动车的存在状态,当非机动车存在于机动车道,则判断非机动车占用机动车道,触发占用机动车道条件。The preset conditions for occupying a motor vehicle lane may be to divide a motor vehicle lane and a non-motor vehicle lane, and to identify the existence state of a non-motor vehicle. .
预先设置的逆行条件可以是非机动车行驶方向与道路方向角度数值,比如,非机动车行驶方向与道路方向角度为90度以上,则可以判断非机动车逆行,触发逆行条件。在一些可能实施方式中,可以获取非机动车行驶轨迹,当该行驶轨迹与道路行驶方向夹角满足逆行判断条件时,触发逆行条件。The preset retrograde condition may be the value of the angle between the non-motor vehicle driving direction and the road direction. For example, if the angle between the non-motor vehicle driving direction and the road direction is more than 90 degrees, the non-motor vehicle may be judged to reverse and trigger the retrograde condition. In some possible implementation manners, a driving trajectory of a non-motor vehicle may be obtained, and when an angle between the driving trajectory and a road driving direction satisfies a retrograde judgment condition, a retrograde condition is triggered.
预先设置的超速条件可以是当前路段的非机动车道限速值,通过非机动车的运动信息可以获取到非机动车的速度信息,当非机动车的速度超过非机动车道限速值时,可以判断非机动车超速行驶,触发超速条件。例如,获取到的非机动车的速度为40码,而该路段的非机动车道限速为35码,则可以判断该非机动车超速行驶,在一些可能的实施方式中,可采用微波雷达等测速传感器来测定非机动车行驶速度,当测定非机动车超速时,则可以判断非机动车超速行驶,触发超速条件。The preset overspeed condition can be the speed limit value of the non-motor vehicle lane of the current road section. The speed information of the non-motor vehicle can be obtained from the motion information of the non-motor vehicle. When the speed of the non-motor vehicle exceeds the speed limit value of the non-motor vehicle lane, Judge that the non-motor vehicle is speeding and trigger the speeding condition. For example, if the speed of the obtained non-motor vehicle is 40 yards, and the speed limit of the non-motor vehicle lane of the road section is 35 yards, it can be judged that the non-motor vehicle is speeding. In some possible implementations, microwave radar can be used. The speed sensor measures the speed of the non-motorized vehicle. When the speed of the non-motorized vehicle is measured, the speed of the non-motorized vehicle can be determined to trigger the overspeed condition.
需要说明的是,上述的摄像头可以称作摄像机或是相机,上述的违法条件也可以称作违章条件或者违规条件。It should be noted that the above-mentioned camera may be called a video camera or a camera, and the above-mentioned illegal conditions may also be called illegal conditions or illegal conditions.
105、若所述非机动车触发所述预先设置的违法条件,则对违法非机动车的驾乘人员的身份信息进行确认。105. If the non-motor vehicle triggers the preset illegal condition, confirm the identity information of the driver of the illegal non-motor vehicle.
该步骤中,违法条件包括:闯红灯条件、占用机动车道条件、逆行条件、超速条件等,在步骤104中,对上述违法条件已做相应说明,在此不再另行说明。在步骤103中已经对非机动车的驾乘人员进行匹配,可以通过驾乘人员的人脸特征进行身份信息的确认。比如,将驾乘人员的人脸信息与身份证照静态库进行比对,身份证照静态库可以是设置在公安系统的远端数据库,也可以是与摄像头直接关联的本地数据库。In this step, the illegal conditions include: red light running conditions, occupied motorway conditions, retrograde conditions, speeding conditions, etc. In step 104, the above illegal conditions have been described accordingly, and will not be described here. In step 103, the driver and occupant of the non-motor vehicle has been matched, and the identity information can be confirmed through the facial features of the driver and occupant. For example, the face information of the driver and passenger is compared with a static database of ID cards. The static database of ID cards can be a remote database set in the public security system or a local database directly associated with the camera.
在一些可能的实施例中,对违法非机动车的驾乘人员的身份信息进行确认后,还可以对违法非机动车及其驾乘人员的图像进行留存,以做为违法证据。In some possible embodiments, after the identity information of the driver of the illegal non-motor vehicle is confirmed, the images of the illegal non-motor vehicle and its driver may also be retained as evidence of the violation.
需要说明的是,本发明实施例提供的非机动车交通违法监管方法可以应用于非机动车交通违法检测设备,例如:交通摄像头、计算机、服务器等可以进行非机动车交通违法检测的设备。It should be noted that the non-motor vehicle traffic violation supervision method provided by the embodiments of the present invention can be applied to non-motor vehicle traffic violation detection equipment, such as: traffic cameras, computers, servers, and other devices that can perform non-motor vehicle traffic violation detection.
本发明实施例中,获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征;对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息;根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员;根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件;若所述非机动车存在违法行为,则对违法非机动车的驾乘人员的身份信息进行确认。由于通过人脸特征和非机动车特征进行匹配,从而对非机动车的驾乘人员 进行匹配,能够更有效地对非机动车辆的交通违法行为进行监管。In the embodiment of the present invention, image information is obtained, and the image information includes non-motor vehicle features of a non-motor vehicle and human face features; visually tracking the non-motor vehicle features and the face features to obtain the Non-motor vehicle movement information and the person's movement information; according to the non-motor vehicle movement information and the person's movement information for the non-locomotive matching driver and passenger; based on the non-motor vehicle movement information, It is determined whether the non-motor vehicle triggers a pre-set illegal condition; if the non-motor vehicle has illegal behavior, the identity information of the driver of the illegal non-motor vehicle is confirmed. Due to the matching of facial features and non-motor vehicle features, the non-motor vehicle drivers and passengers can be matched, and the traffic violations of non-motor vehicles can be more effectively supervised.
请参见图2,图2是本发明实施例提供的另一种非机动车交通违法监管方法的流程示意图,如图2所示,包括以下步骤:Please refer to FIG. 2. FIG. 2 is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention. As shown in FIG. 2, the method includes the following steps:
201、获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征。201. Acquire image information, where the image information includes non-motor vehicle features of a non-motor vehicle and facial features of a person.
202、对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息。202. Visually track the characteristics of the non-motor vehicle and the facial features to obtain the motion information of the non-motor vehicle and the motion information of the person.
203、根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员。203. Match the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel.
204、根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件。204. According to the motion information of the non-motor vehicle, determine whether the non-motor vehicle triggers a preset illegal condition.
205、若所述非机动车触发所述预先设置的违法条件,则对违法非机动车的驾乘人员的身份信息进行确认。205. If the non-motor vehicle triggers the preset illegal condition, confirm the identity information of the driver of the illegal non-motor vehicle.
206、根据所述非机动车触发的违法条件,生成违法信息。206. Generate illegal information according to the illegal conditions triggered by the non-motor vehicle.
上述的违法信息可以是违法类型,其中,上述违法类型可以是闯红灯、占用机动车道、逆行、超速等违法类型,上述的违法类型可以根据非机动车触发的违法条件来进行确认,比如,非机动车触发闯红灯条件,则生成闯红灯的违法信息,非机动车触发占用机动车道条件,则生成占用机动车道的违法信息。当然,上述的违法信息可以包括违法时间、违法地点等信息,比如,在A时间B地点,非机动车触发闯红灯条件,则生成A时B地该非机动车闯红灯的违法信息。上述的违法信息还可以包括驾乘人员的身份信息,比如,驾乘人员C在A时间B地点,驾驶非机动车触发闯红灯条件,则生成A时B地驾乘人员C驾驶该非机动车闯红灯的违法信息。需要说明的是,上述的违法信息可以通过抓拍到的人脸图像来进行记录或显示,比如,在人脸图像上增加违法类型、时间、地点和身份信息等数据进行记录或显示,也可以通过文字的方式来进行记录或显示,比如,通过文字对违法驾乘人员的违法类型、时间、地点和身份信息等数据进行记录或显示。当然,也还可以是其他的方式对违法信息进行记录或显示,比如为人脸图像增加违法信息标签的方式,或者是对违法视频增加时间信息、地点信息、身份信息的方式等。The aforementioned illegal information may be illegal types, wherein the illegal types may be red light running, occupation of vehicle lanes, retrograde, speeding and other illegal types. The aforementioned illegal types may be confirmed according to illegal conditions triggered by non-motor vehicles, for example, non-machine When a motor vehicle triggers a condition for running a red light, it generates illegal information for running a red light, and when a non-motor vehicle triggers a condition for occupying a motor vehicle lane, it generates illegal information for occupying a motor vehicle lane. Of course, the foregoing illegal information may include information such as illegal time and illegal location. For example, at time A and time B, a non-motor vehicle triggers a red light condition, then the illegal information of the non-motor vehicle running a red light at time A and B is generated. The above illegal information may also include the identity information of the driver and occupant. For example, if the driver C drives a red light condition when driving a non-motor vehicle at the time B at time A, then the driver C at the time B will drive the non-motor vehicle to drive a red light Illegal information. It should be noted that the above illegal information can be recorded or displayed through the captured face image. For example, by adding data such as illegal type, time, location and identity information to the face image to record or display, it can also be passed Use text to record or display, for example, to record or display the illegal type, time, location and identity information of illegal drivers and passengers through text. Of course, there may be other ways to record or display the illegal information, such as adding a illegal information label to a face image, or adding time information, location information, and identity information to the illegal video.
207、根据所述违法信息生成提示信息,并将所述提示信息发送到提示设备,所述提示设备用于对所述违法非机动车的驾乘人员进行违法提醒。207. Generate prompt information according to the illegal information, and send the prompt information to a prompt device, where the prompt device is used to remind the driver of the illegal non-motor vehicle.
上述的提示信息可以是根据违法类型生成的提示信息,比如,当驾乘人员C在A时间B地点,驾驶非机动车闯红灯时,可以生成闯红灯提示信息:C,你于A时间在B地点驾驶非机动车闯红灯,请注意行人和行驶安全。或者当驾乘人员C在A时间B路段,驾驶非 机动车闯占用机动车道时,可以生成占用机动车道提示信息:C,你于A时间在B地点驾驶非机动车占用机动车道,请注意行驶安全,回到非机动车道。The above prompt information may be a prompt information generated according to the illegal type. For example, when driver C is driving at a time B at a time B and driving a non-motor vehicle to run a red light, a warning light may be generated: C, you drive at a time B at time A Non-motor vehicles running through red lights, please pay attention to pedestrians and driving safety. Or when the occupant C drives the non-motorized vehicle to occupy the motorized lane on the road B section at time A, a reminder message for the occupied motorized lane can be generated: C, you drive the non-motorized vehicle at the location A to occupy the motorized lane at time A, please pay attention to driving Safe, back to the non-motorized lane.
上述的提示设备可以是非机动车的驾乘人员的移动设备,其中移动设备可以是设置有提示信息接收应用的手机、平板等移动设备,也可以是设置在路口的电子显示牌,还可以是设置在路边的语音播报器。可以将提示信息发送到驾乘人员的移动设备对驾乘人员进行提示,也可以将提示信息发送到设置在路口的电子显示牌对提示信息进行显示以提示驾乘人员,还可以将提示信息发送到设置在路边的语音播报器,通过语音播报器的语音播报使驾乘人员得到提示。The above-mentioned prompting device may be a mobile device of a driver of a non-motor vehicle, wherein the mobile device may be a mobile device such as a mobile phone or a tablet provided with a prompt information receiving application, an electronic display sign installed at an intersection, or a setting Voice announcer on the roadside. You can send the prompt information to the driver's mobile device to prompt the driver or passenger, or you can send the prompt information to the electronic display board installed at the intersection to display the prompt information to remind the driver and passenger, you can also send the prompt information To the voice announcer installed on the roadside, the voice announcer of the voice announcer is used to make the driver and passengers get a reminder.
上述的步骤中,通过生成违法信息,可以通过违法信息对违法非机动车的驾乘人员进行记录,通过生成提示信息,可以对违法非机动车的驾乘人员进行警示。In the above steps, by generating illegal information, you can use the illegal information to record the driver of the illegal non-motorized vehicle, and by generating reminder information, you can warn the illegal non-motorized vehicle.
需要说明的是,上述实施例提供的非机动车交通违法监管方法可以应用于非机动车交通违法检测设备,例如:交通摄像头、计算机、服务器等可以进行非机动车交通违法检测的设备。It should be noted that the non-motor vehicle traffic violation supervision method provided in the above embodiments can be applied to non-motor vehicle traffic violation detection equipment, such as: traffic cameras, computers, servers, and other devices that can perform non-motor vehicle traffic violation detection.
请参见图3,图3是本发明实施例提供的另一种非机动车交通违法监管方法的流程示意图,如图3所示,包括以下步骤:Please refer to FIG. 3, which is a schematic flowchart of another non-motor vehicle traffic violation supervision method provided by an embodiment of the present invention. As shown in FIG. 3, the method includes the following steps:
301、获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征。301. Acquire image information, the image information including non-motor vehicle features of a non-motor vehicle and human face features.
302、对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息。302. Perform visual tracking on the non-motor vehicle feature and the face feature to obtain the motion information of the non-motor vehicle and the person's motion information.
303、所述非机动车的运动信息包括所述非机动车特征的运动信息,所述人员的运动信息包括所述人脸特征的运动信息;303. The motion information of the non-motor vehicle includes the motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes the motion information of the facial characteristics;
获取在所述非机动车特征预设范围内的人脸特征,根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员。Acquiring facial features within the preset range of the non-motor vehicle features, and matching the non-locomotive driver with the non-locomotive based on the motion information of the non-motor vehicle features and the facial feature motion information within the preset range .
304、根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件。304. According to the motion information of the non-motor vehicle, determine whether the non-motor vehicle triggers a preset illegal condition.
305、若所述非机动车触发所述预先设置的违法条件,则对违法非机动车的驾乘人员的身份信息进行确认。305. If the non-motor vehicle triggers the preset illegal condition, confirm the identity information of the driver of the illegal non-motor vehicle.
其中,上述非机动车特征的运动信息可以是非机动车特征的速度或是轨迹,上述人脸特征的运动信息可以是人脸特征的速度或是轨迹。在图像识别技术中,待识别的特征会被做成一个特征框,比如,非机动车特征及人脸特征会被分别做成非机动车特征框和人脸特征框,非机动车特征的运动信息可以体现为非机动车特征框的运动信息,人脸特征的运动信息可以体现为人脸特征框的运动信息,可以通过获取非机动车特征框预设范围内的人脸 特征框,来获取在非机动车特征预设范围内的人脸特征,这个预设范围在图像上可以是非机动车特征框的像素半径,也可以尺寸半径,比如,可以获取非机动车特征100像素半径内的人脸特征,又比如,可以获取人脸特征框中心到非机动车特征框中心距离小于200像素的人脸特征框。可以通过非机动车特征的运动信息及在非机动车特征预设范围内的人脸特征的运动信息,提取运动信息与非机动车特征的运动信息最接近或是相同的人脸特征,做为驾乘人员所拥有的人脸特征,也就可以匹配出驾乘人员。例如,假设非机动车特征为B,B的运动信息为C,在B的预设范围内存在人脸特征A1、A2、A3,A1、A2、A3的运动信息分别为D1、D2、D3,在D1、D2、D3中选取最接近C的一个,如果是D1最接近C,则D1对应的人脸特征为A1,则匹配拥有人脸特征A1的人员为驾乘人员,例中的C、D1、D2、D3可以是速度,也可以是轨迹,还可以是距离。The motion information of the non-motor vehicle feature may be the speed or trajectory of the non-motor vehicle feature, and the motion information of the face feature may be the speed or trajectory of the face feature. In image recognition technology, the features to be recognized will be made into a feature box, for example, non-motor vehicle features and face features will be made into non-motor vehicle feature boxes and face feature boxes, respectively, the movement of non-motor vehicle features The information can be embodied as the motion information of the non-motor vehicle feature frame, and the facial feature motion information can be embodied as the facial feature frame motion information, which can be obtained by acquiring the facial feature frame within the preset range of the non-motor vehicle feature frame. Face features within the preset range of non-motor vehicle features. This preset range can be the pixel radius of the non-motor vehicle feature frame on the image, or the size radius. For example, you can obtain the face within 100 pixel radius of the non-motor vehicle feature Features, for example, can obtain a face feature frame whose distance from the center of the face feature frame to the center of the non-motor vehicle feature frame is less than 200 pixels. You can use the motion information of the non-motor vehicle features and the facial feature motion information within the preset range of the non-motor vehicle features to extract the facial features whose motion information is closest to or the same as the non-motor vehicle feature motion information. The facial features possessed by the driver and passenger can match the driver and passenger. For example, assuming that the non-motor vehicle feature is B, and the motion information of B is C, there are face features A1, A2, and A3 within the preset range of B, and the motion information of A1, A2, and A3 are D1, D2, and D3, respectively. Choose the one closest to C among D1, D2, and D3. If D1 is closest to C, the facial feature corresponding to D1 is A1, and the person matching facial feature A1 is the driver and occupant. D1, D2, D3 can be speed, trajectory, or distance.
需要说明的是,步骤203为可选的,例如:在一些场景中,只需要根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员即可。It should be noted that step 203 is optional. For example, in some scenarios, it is only necessary to match the driver and passenger of the non-locomotive based on the motion information of the non-motor vehicle and the motion information of the personnel.
可选的,所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员,包括:Optionally, the motion information according to the non-motor vehicle characteristics and the facial feature motion information in the preset range for the non-locomotive matching driver and passengers includes:
根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集;Forming a face set according to the motion information of the non-motor vehicle features and the motion information of the face features within the preset range;
根据所述人脸集为所述非机车匹配驾乘人员。Match the driver and passenger to the non-locomotive according to the face set.
其中,非机动车特征的运动信息可以是非机动车特征的速度或是轨迹,上述人脸特征的运动信息可以是人脸特征的速度或是轨迹,上述人脸集为在非机动车特征预设范围内的人脸特征集合,人脸集可以用特定的数字或字母标号进行标识,比如人脸集E,人脸集1等,也可以用非机动车特征的特征值来进行标识,比如非机动车特征为B,则对人脸集标识为人脸集B,也可以用在图像上特征框的颜色进行标识,比如在图像上一个非机动车特征的特征框为绿色,则对其预设范围内的人脸特征的特征框也做绿色框,而人脸集可以绿色的代表标识G来进行标识。在步骤202中,对非机动车特征及人脸特征进行视觉跟踪,可以获取到多帧图像。通过多帧图像,可以计算得到非机动车特征的运动信息和人脸特征的运动信息,在非机动车特征的预设范围内,提取出运动信息与非机动车特征的运动信息相近的人脸特征,形成人脸集。预设范围可以图像上的像素半径,也可以是尺寸半径,人脸特征的运动信息与非机动车特征的运动信息相近,可以是非机动车特征的运动信息阈值,比如可以是非机动车特征的速度阈值区间,当人脸特征的速度落入非机动车特征的速度阈值区间时,可以将人脸特征的运动信息与非机动车特征的运动信息看成相近。例如:非机 动车特征的速度阈值区间为30码到35码,则当人脸特征的速度为33码时,可以将人脸特征的速度与非机动车特征的速度看成相近,从而将人脸特征的运动信息与非机动车特征的运动信息看成相近。非机动车特征的速度阈值区间可以通过非机动车特征的速度来进行设置。人脸特征的运动信息与非机动车特征的运动信息相近,也可以是非机动车特征及人脸特征的轨迹相似度阈值,当人脸特征的轨迹与非机动车特征的轨迹相似度达到轨迹相似度阈值,可以将人脸特征的运动信息与非机动车特征的运动信息看成相近。例如:非机动车特征及人脸特征的轨迹相似度阈值可以设置为80%,当人脸特征的轨迹与非机动车特征的轨迹相似度达到轨迹相似度超过80%,则可将人脸特征的运动信息与非机动车特征的运动信息看成相近。The motion information of the non-motor vehicle features may be the speed or trajectory of the non-motor vehicle features, and the motion information of the above face features may be the speed or trajectory of the face features. Face feature sets within the scope. Face sets can be identified with specific numbers or letter labels, such as face set E, face set 1, etc., or can be identified by feature values of non-motor vehicle features, such as non- If the feature of the motor vehicle is B, the face set is identified as face set B. It can also be identified by the color of the feature frame on the image. For example, if the feature frame of a non-motor vehicle feature on the image is green, it is preset. The feature boxes of the face features in the range are also green boxes, and the face set can be identified by the green representative mark G. In step 202, the non-motor vehicle features and the facial features are visually tracked, and multiple frames of images can be acquired. Through multi-frame images, it is possible to calculate the motion information of the non-motor vehicle features and the facial feature motion information, and within the preset range of the non-motor vehicle features, extract the face whose motion information is similar to the motion information of the non-motor vehicle features Features to form a face set. The preset range may be the pixel radius or the size radius on the image. The motion information of the face feature is similar to the motion information of the non-motor vehicle feature. It may be the threshold of the motion information of the non-motor vehicle feature, such as the speed of the non-motor vehicle feature. Threshold interval, when the speed of the face feature falls within the speed threshold interval of the non-motor vehicle feature, the motion information of the face feature and the non-motor vehicle feature can be regarded as similar. For example, if the speed threshold of non-motor vehicle features is 30 yards to 35 yards, when the speed of face features is 33 yards, the speed of face features and the speed of non-motor vehicle features can be regarded as similar, so that people The motion information of facial features is similar to that of non-motorized vehicles. The non-motor vehicle characteristic speed threshold interval can be set by the non-motor vehicle characteristic speed. The motion information of the facial features is similar to the motion information of the non-motor vehicle features, and may also be the threshold of the trajectory similarity of the non-motor vehicle features and the facial features. The degree threshold can be regarded as similar to the motion information of the face feature and the non-motor vehicle feature. For example: the threshold of the trajectory similarity of non-motor vehicle features and face features can be set to 80%. 'S motion information is similar to that of non-motorized vehicles.
在一些可能的实施例中,在每帧图像中,都可以形成一个人脸集,多帧图像可以得到多个人脸集,对多个人脸集求交集,得到最终人脸集,本实施例并不限定每帧图像形成一个人脸集,也可以是部分帧图像形成人脸集,比如200帧图像,可以提取其中两帧形成2个人脸集。通过求交集得到的最终人脸集中的人脸特征,为在视觉跟踪过程中一直存在于非机动车特征预设范围内的人脸特征,也可以说是在非机动车行驶过程与非机动车保持近一定距离的人脸特征。例如:假设在视觉跟踪中获取到400帧图像,提取其中第100帧、第200帧、第300帧、第400帧共4帧图像分别形成4个人脸集E1、E2、E3、E4,E1中包括人脸特征A1、A2、A3、A4,E2包括人脸特征A1、A2、A4、A5,E3包括人脸特征A1、A2、A5、A6,E4包括人脸特征A1、A2、A4、A6,则对E1、E2、E3、E4求交集的最终人脸集E中包括人脸特征A1、A2,可以在最终人脸集E中匹配驾乘人员,此时,可以通过将人脸特征A1和A2的运动信息与非机动车特征的运动信息进行比对,将运动信息与非机动车特征的运动信息最接近的人脸特征匹配为驾乘人员所拥有的人脸特征。In some possible embodiments, in each frame image, a face set can be formed, and multiple frame images can obtain multiple face sets, and the intersection of multiple face sets is obtained to obtain the final face set. This embodiment does not It is not limited that each frame of images forms a face set, or a partial frame of images may form a face set, such as a 200-frame image, and two frames may be extracted to form 2 face sets. The facial features in the final face set obtained by finding the intersection are the facial features that have always existed within the preset range of the non-motor vehicle features during visual tracking, and can also be said to be in the non-motor vehicle driving process and the non-motor vehicle process Keep facial features close to a certain distance. For example: suppose that 400 frames of images are acquired in visual tracking, and the 100 frames, 200 frames, 300 frames, and 400 frames of a total of 4 frames are extracted to form 4 human face sets E1, E2, E3, E4, and E1. Including facial features A1, A2, A3, A4, E2 includes facial features A1, A2, A4, A5, E3 includes facial features A1, A2, A5, A6, E4 includes facial features A1, A2, A4, A6 , Then the final face set E for the intersection of E1, E2, E3, E4 includes face features A1, A2, and the driver and passenger can be matched in the final face set E. At this time, you can use the face feature A1 Compare the motion information of A2 with the motion information of the non-motor vehicle features, and match the facial features of the motion information and the motion information of the non-motor vehicle features to the facial features possessed by the driver and passenger.
可选的,所述非机动车特征的运动信息包括非机动车特征的速度,所述人脸特征的运动信息包括人脸特征的速度;Optionally, the motion information of the non-motor vehicle feature includes the speed of the non-motor vehicle feature, and the motion information of the face feature includes the speed of the face feature;
所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集,包括:The forming of a face set according to the movement information of the non-motor vehicle characteristics and the movement information of the face characteristics within the preset range includes:
对比所述非机动车特征的速度与所述人脸特征的速度,得到速度对比结果;Comparing the speed of the non-motor vehicle feature with the speed of the face feature to obtain a speed comparison result;
根据所述速度对比结果,形成所述人脸集。According to the speed comparison result, the face set is formed.
其中,在步骤202中,对非机动车特征及人脸特征进行视觉跟踪,可以获取到多帧图像。通过多帧图像,可以计算得到非机动车特征的速度和人脸特征的速度,在非机动车特征的预设范围内,提取出速度与非机动车特征的速度相近的人脸特征,形成人脸集。非机 动车特征的速度与人脸特征的速度可以通过图像识别技术的中特征框中心点在图像中位置变化和时间计算得到,预设范围可以图像上的像素半径,也可以是尺寸半径,人脸特征的速度与非机动车特征的速度相近,可以是非机动车特征的速度阈值,比如可以是非机动车特征的速度阈值区间,将人脸特征的速度与非机动车特征的速度阈值区间进行对比,当人脸特征的速度落入非机动车特征的速度阈值区间时,可以将人脸特征的速度与非机动车特征的速度看成相近,例如:非机动车特征的速度阈值区间为30码到35码,假设人脸特征A1的速度为33码,人脸特征A2的速度为34码,人脸特征A3的速度为29码,可以将人脸特征A1和A2的速度与非机动车特征的速度看成相近,从而将人脸特征A1和A2记录进入人脸集中,这样,可以除掉一些明显不是该机动车驾乘人员的人员,比如拥有人脸特征A3的人员,人脸集中只有人脸特征A1和A2,使人脸集中的人脸特征元素得到精减,在匹配时只需要计算人脸集中的人脸特征A1和A2,减少通过人脸集匹配驾乘人员的计算量。当形成的人脸集为空集时,可以通过增加非机动车特征的预设范围和/或扩大非机动车特征的速度阈值区间来使人脸集成为非空人脸集。Among them, in step 202, the non-motor vehicle features and the facial features are visually tracked, and multiple frames of images can be acquired. Through multi-frame images, the speed of non-motor vehicle features and the speed of face features can be calculated. Within the preset range of non-motor vehicle features, face features with speeds similar to those of non-motor vehicle features are extracted to form a person Face set. The speed of non-motor vehicle features and the speed of face features can be calculated by the position change and time of the center point of the middle feature box in the image recognition technology. The preset range can be the pixel radius on the image or the radius of the size. The speed of the face feature is similar to the speed of the non-motor vehicle feature. It can be the speed threshold of the non-motor vehicle feature. For example, it can be the speed threshold interval of the non-motor vehicle feature. Compare the speed of the face feature with the speed threshold interval of the non-motor vehicle feature , When the speed of the face feature falls within the speed threshold interval of the non-motor vehicle feature, the speed of the face feature and the speed of the non-motor vehicle feature can be regarded as similar, for example: the speed threshold interval of the non-motor vehicle feature is 30 yards To 35 yards, assuming that the speed of face feature A1 is 33 yards, the speed of face feature A2 is 34 yards, and the speed of face feature A3 is 29 yards, you can compare the speeds of face features A1 and A2 with non-motor vehicle features The speed is considered to be similar, so that the facial features A1 and A2 are recorded into the face set, so that some people who are not clearly the driver of the motor vehicle can be removed For example, a person with a face feature A3 has only face features A1 and A2 in the face set, so that the face feature elements in the face set are reduced. When matching, only the face features A1 and A1 in the face set need to be calculated. A2, reduce the computational cost of matching driver and passengers through face sets. When the formed face set is an empty set, the face can be integrated into a non-empty face set by increasing the preset range of non-motor vehicle features and / or expanding the speed threshold interval of the non-motor vehicle features.
可选的,所述非机动车特征的运动信息包括非机动车特征的轨迹,所述人脸特征的运动信息包括人脸特征的轨迹;Optionally, the motion information of the non-motor vehicle feature includes a trajectory of the non-motor vehicle feature, and the motion information of the face feature includes a trajectory of the face feature;
所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集,包括:The forming of a face set according to the movement information of the non-motor vehicle characteristics and the movement information of the face characteristics within the preset range includes:
对比所述非机动车特征的轨迹与所述人脸特征的轨迹,得到轨迹对比结果;Comparing the trajectory of the non-motor vehicle feature with the trajectory of the face feature to obtain a trajectory comparison result;
根据所述轨迹对比结果,形成所述人脸集。According to the trajectory comparison result, the face set is formed.
其中,轨迹对比结果可以是人脸特征的轨迹与非机动车特征的轨迹的轨迹重合度,比如,将人脸特征的特征框中心在连续图像中的轨迹与非机动车特征的特征框中心在连续图像中的轨迹以同一端点起始进行比对,计算人脸特征的轨迹与非机动车特征的轨迹重合长度与人脸特征的轨迹与非机动车特征的轨迹总长度的比例,得到重合度,例如:假设人脸特征的轨迹长度为49,非机动车特征的轨迹长度为51,重合部分长度为45,重合度则为45*2/(49+51)*100%=90%。如果重合度90%大于人脸特征的轨迹与非机动车特征的轨迹的轨迹重合度阈值,则可以将人脸特征记录进入人脸集中。Among them, the trajectory comparison result can be the degree of coincidence between the trajectory of the face feature and the trajectory of the non-motor vehicle feature. For example, the center of the feature box of the face feature in the continuous image and the center of the feature box of the non-motor vehicle feature are The trajectories in the continuous image are compared starting from the same end point, and the ratio of the length of the trajectory of the facial feature and the trajectory of the non-motor vehicle feature to the total length of the trajectory of the facial feature and the trajectory of the non-motor vehicle feature is calculated to obtain the coincidence degree For example, suppose that the trajectory length of the face feature is 49, the trajectory length of the non-motor vehicle feature is 51, the length of the overlapped part is 45, and the coincidence degree is 45 * 2 / (49 + 51) * 100% = 90%. If the degree of coincidence is greater than 90% of the threshold of the degree of coincidence between the trajectory of the face feature and the trajectory of the non-motor vehicle feature, the face feature can be recorded into the face set.
另外,轨迹对比结果也可以是人脸特征的轨迹与非机动车特征的轨迹的轨迹方程的对比结果,比如,可以两个轨迹方程中常量的比值或是差值等,比值越接近1,说明两个轨迹方程越相似,差值越接近0,说明两个轨迹方程越相似。In addition, the trajectory comparison result can also be the comparison result of the trajectory equation of the trajectory of the face feature and the trajectory of the non-motor vehicle feature. For example, the ratio or difference of the constants in the two trajectory equations, the closer the ratio is to 1, it means that The more similar the two trajectory equations, the closer the difference is to 0, indicating that the two trajectory equations are more similar.
可选的,所述根据所述人脸集为所述非机车匹配驾乘人员包括:Optionally, matching the non-locomotive occupants according to the face set includes:
检测所述人脸集人脸特征的数量,判断所述人脸集中是否存在多个人脸特征;Detecting the number of face features in the face set to determine whether there are multiple face features in the face set;
若存在多个人脸特征,则在所述多个人脸特征中选取与所述非机动车特征像素最近的人脸特征确定为所述驾乘人员的人脸特征,得到所述非机动车的驾乘人员。If there are multiple facial features, the facial features closest to the non-motor vehicle feature pixels are selected from the multiple facial features to determine the facial features of the driver and occupant to obtain the driving characteristics of the non-motor vehicle Passengers.
其中,像素最近可是在图像中人脸特征的特征框中心与非机动车特征的特征框中心之间的像素间隔最小,也可以人脸特征的特征框边框与非机动车特征的特征框中心之间的像素间隔最小。Among them, the most recent pixel is the smallest pixel interval between the center of the feature frame of the face feature and the center of the feature box of the non-motor vehicle feature in the image, or the center of the feature box border of the face feature and the center of the feature box of the non-motor vehicle feature The pixel spacing between is the smallest.
另外,若人脸集中不存在多个人脸特征,也就是说,人脸集中的人脸特征唯一,可以直接认为该唯一存在于人脸集中的人脸特征是属于驾乘人员的,从而确定驾乘人员。In addition, if there are no multiple face features in the face set, that is to say, the face features in the face set are unique, it can be directly considered that the unique face features in the face set belong to the driver and occupant, thereby determining the driving Passengers.
在一些可能的实施例中,若人脸集中存在多个人脸特征,可以在多个人脸特征中选取与非机动车特征尺寸最近的人脸特征确定为驾乘人员的人脸特征,得到非机动车的驾乘人员。In some possible embodiments, if there are multiple facial features in the face set, the facial features closest to the feature size of the non-motor vehicle can be selected from the multiple facial features to determine the facial features of the driver and passenger, and the non-machine Passengers in motor vehicles.
可选的,所述对违法非机动车的驾乘人员的身份信息进行确认,包括:Optionally, the confirmation of the identity information of the driver of the illegal non-motor vehicle includes:
从获取到的图像信息中,选取具有所述违法非机动车的驾乘人员的人脸特征的图像进行质量评价,得到图像质量评分;From the acquired image information, select an image with the facial features of the driver of the illegal non-motor vehicle for quality evaluation, and obtain an image quality score;
根据所述图像质量评分,选取图像质量评分最高的图像;According to the image quality score, select the image with the highest image quality score;
在所述图像质量评分最高的图像中提取所述违法非机动车的驾乘人员的人脸特征;Extract the facial features of the driver of the illegal non-motor vehicle from the image with the highest image quality score;
将所述违法非机动车的驾乘人员的人脸特征与后台身份图像库进行对比,确定驾乘人员的身份信息。如图4所示。The facial features of the driver of the illegal non-motor vehicle are compared with the background identity image library to determine the identity information of the driver. As shown in Figure 4.
上述中的图像质量评价(Image Quality Assessment,IQA)是图像处理中的基本技术之一,主要通过对图像进行特性分析研究,然后评估出图像优劣(图像失真程度)。可以通过图像质量评价,得到图像质量评分,可以设置为图像质量越高,其图像质量评分越高,从而选取图像质量评分最高的图像。将在图像质量评分最高的图像中提取出的人脸特征与后台身份图像库中的身份证照进行比对,选取与人脸特征相似度最高的身份证照,并提取对应身份证照的身份信息,从而获取到违法非机动车的驾乘人员的信息。Image quality assessment (IQA) in the above is one of the basic technologies in image processing. It mainly analyzes and studies the characteristics of the image, and then evaluates the quality of the image (the degree of image distortion). The image quality score can be obtained through image quality evaluation. It can be set that the higher the image quality, the higher the image quality score, so that the image with the highest image quality score is selected. Compare the facial features extracted from the image with the highest image quality score with the ID photo in the background identity image library, select the ID photo with the highest similarity to the facial features, and extract the identity of the corresponding ID photo Information, so as to obtain the information of the drivers of illegal non-motor vehicles.
当然,在一些可能的实施方式中,也可以提取质量评分最高的图像中所有人员的人脸特征与后台身份图像库中的身份证照进行比对,进而获取到图像中所有人员的信息,再对驾乘人员进行确定。Of course, in some possible implementations, the facial features of all the people in the image with the highest quality score can also be extracted and compared with the ID card in the background identity image library to obtain the information of all the people in the image, and then Identify the driver.
上述的后台身份图像库可以是设置在本地服务器上的图像库,也可以是设置在云上服务器的图像库。The above background identity image library may be an image library set on a local server, or an image library set on a server on the cloud.
本实施例中,在图1所示的实施例的基础上增加了多种可选的实施方式,且可以进一 步提高非机动车的交通违法确认率。In this embodiment, a variety of optional implementations are added on the basis of the embodiment shown in FIG. 1, and the traffic violation confirmation rate of non-motor vehicles can be further improved.
请参见图5,图5是本发明实施例提供的一种非机动车交通违法监管装置的结构示意图,如图5所示,包括:Please refer to FIG. 5. FIG. 5 is a schematic structural diagram of a non-motor vehicle traffic violation supervision device provided by an embodiment of the present invention. As shown in FIG. 5, it includes:
第一获取模块401,用于获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征;The first acquisition module 401 is used to acquire image information, the image information includes non-motor vehicle features of the non-motor vehicle and human face features of the person;
第二获取模块402,用于对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息;The second obtaining module 402 is configured to perform visual tracking on the non-motor vehicle features and the face features, and obtain motion information of the non-motor vehicle and motion information of the person;
匹配模块403,用于根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员;The matching module 403 is configured to match the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel;
判断模块404,用于根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件;The judging module 404 is used for judging whether the non-motor vehicle triggers a preset illegal condition according to the motion information of the non-motor vehicle;
确认模块405,用于若所述非机动车触发所述预先设置的违法条件,则对违法非机动车的驾乘人员的身份信息进行确认。The confirmation module 405 is configured to confirm the identity information of the driver of the illegal non-motor vehicle if the non-motor vehicle triggers the preset illegal condition.
可选的,如图6所示,所述装置还包括:Optionally, as shown in FIG. 6, the device further includes:
第一生成模块406,用于根据所述非机动车触发的违法条件,生成违法信息;The first generating module 406 is configured to generate illegal information according to the illegal conditions triggered by the non-motor vehicle;
第二生成模块407,用于根据所述违法信息生成提示信息,并将所述提示信息发送到提示设备,所述提示设备用于对所述违法非机动车的驾乘人员进行违法提醒。The second generation module 407 is configured to generate prompt information according to the illegal information, and send the prompt information to a prompt device, where the prompt device is used to remind the driver of the illegal non-motor vehicle.
可选的,如图5所示,所述非机动车的运动信息包括所述非机动车特征的运动信息,所述人员的运动信息包括所述人脸特征的运动信息;Optionally, as shown in FIG. 5, the motion information of the non-motor vehicle includes motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes motion information of the face characteristics;
所述匹配模块403用于获取在所述非机动车特征预设范围内的人脸特征,用于根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员。The matching module 403 is used to obtain facial features within the preset range of the non-motor vehicle features, and is used to obtain motion information of the non-motor vehicle features and facial feature movement information within the preset range Match the driver to the non-locomotive.
可选的,如图7所示,所述匹配模块403包括:Optionally, as shown in FIG. 7, the matching module 403 includes:
处理单元4031,用于根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集;The processing unit 4031 is configured to form a face set according to the motion information of the non-motor vehicle characteristics and the motion information of the facial features within the preset range;
匹配单元4032,根据所述人脸集为所述非机车匹配驾乘人员。The matching unit 4032 matches drivers and occupants for the non-locomotive according to the face set.
可选的,如图8所示,所述非机动车特征的运动信息包括非机动车特征的速度,所述人脸特征的运动信息包括人脸特征的速度;Optionally, as shown in FIG. 8, the motion information of the non-motor vehicle feature includes the speed of the non-motor vehicle feature, and the motion information of the face feature includes the speed of the face feature;
所述处理单元4031包括:The processing unit 4031 includes:
第一处理子单元40311,对比所述非机动车特征的速度与所述人脸特征的速度,得到 速度对比结果;The first processing subunit 40311 compares the speed of the non-motor vehicle feature with the speed of the face feature to obtain a speed comparison result;
第二处理子单元40312,根据所述速度对比结果,形成所述人脸集。The second processing subunit 40312 forms the face set according to the speed comparison result.
可选的,如图9所示,所述匹配单元4032包括:Optionally, as shown in FIG. 9, the matching unit 4032 includes:
检测子单元40321,检测所述人脸集人脸特征的数量,判断所述人脸集中是否存在多个人脸特征;The detection subunit 40321 detects the number of face features in the face set, and determines whether there are multiple face features in the face set;
确定子单元40322,若存在多个人脸特征,则在所述多个人脸特征中选取与所述非机动车特征像素最近的人脸特征确定为所述驾乘人员的人脸特征,得到所述非机动车的驾乘人员。The determining sub-unit 40322, if there are multiple facial features, then select the facial features closest to the non-motor vehicle feature pixels among the multiple facial features to determine the facial features of the driver and passenger, to obtain the Drivers of non-motor vehicles.
可选的,如图10所示,所述确认模块405包括:Optionally, as shown in FIG. 10, the confirmation module 405 includes:
图像评价单元4051,用于从获取到的图像信息中,选取具有所述违法非机动车的驾乘人员的人脸特征的图像进行质量评价,得到图像质量评分;The image evaluation unit 4051 is configured to select images with facial features of the driver of the illegal non-motor vehicle from the acquired image information for quality evaluation, and obtain an image quality score;
图像选取单元4052,用于根据所述图像质量评分,选取图像质量评分最高的图像;The image selection unit 4052 is used to select the image with the highest image quality score according to the image quality score;
提取单元4053,用于在所述图像质量评分最高的图像中提取所述违法非机动车的驾乘人员的人脸特征;An extraction unit 4053 is used to extract the facial features of the driver of the illegal non-motor vehicle from the image with the highest image quality score;
对比单元4054,用于将所述违法非机动车的驾乘人员的人脸特征与后台身份图像库进行对比,确定驾乘人员的身份信息。The comparison unit 4054 is used to compare the facial features of the driver of the illegal non-motor vehicle with the background identity image library to determine the identity information of the driver.
需要说明的是,本发明实施例提供的非机动车交通违法监管装置可以应用于非机动车交通违法检测设备,例如:交通摄像头、计算机、服务器等可以进行非机动车交通违法检测的设备。It should be noted that the non-motor vehicle traffic violation supervision device provided by the embodiment of the present invention can be applied to non-motor vehicle traffic violation detection equipment, such as traffic cameras, computers, servers, and other devices that can perform non-motor vehicle traffic violation detection.
本发明实施例提供的非机动车交通违法监管装置能够实现图1、图2和图3的方法实施例中的各个实施方式,以及相应有益效果,为避免重复,这里不再赘述。The non-motor vehicle traffic violation supervision device provided by the embodiment of the present invention can implement various implementation methods in the method embodiments of FIG. 1, FIG. 2, and FIG. 3, and corresponding beneficial effects. To avoid repetition, details are not described herein.
参见图11,图11是本发明实施例提供的一种电子设备的结构示意图,如图11所示,包括:存储器902、处理器901及存储在所述存储器上并可在所述处理器上运行的计算机程序,其中:Referring to FIG. 11, FIG. 11 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. As shown in FIG. 11, it includes: a memory 902, a processor 901, and stored on the memory and can be on the processor A computer program that runs:
处理器901用于调用存储器902存储的计算机程序,执行如下步骤:The processor 901 is used to call the computer program stored in the memory 902 and perform the following steps:
获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征;Obtain image information, the image information includes non-motor vehicle features of non-motor vehicles and human face features;
对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息;Visually tracking the characteristics of the non-motor vehicle and the facial features to obtain the movement information of the non-motor vehicle and the movement information of the person;
根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员;Matching driver and passengers for the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel;
根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件;According to the motion information of the non-motor vehicle, determine whether the non-motor vehicle triggers a preset illegal condition;
若所述非机动车触发所述预先设置的违法条件,则对违法非机动车的驾乘人员的身份信息进行确认。If the non-motor vehicle triggers the preset illegal condition, the identity information of the driver of the illegal non-motor vehicle is confirmed.
可选的,在处理器901执行对违法非机动车的驾乘人员的身份信息进行确认之后,处理器901还执行步骤:Optionally, after the processor 901 performs confirmation of the identity information of the driver of the illegal non-motor vehicle, the processor 901 further executes steps:
根据所述非机动车触发的违法条件,生成违法信息;Generate illegal information according to the illegal conditions triggered by the non-motor vehicle;
根据所述违法信息生成提示信息,并将所述提示信息发送到提示设备,所述提示设备用于对所述违法非机动车的驾乘人员进行违法提醒。Prompt information is generated according to the illegal information, and the prompt information is sent to a prompting device, and the prompting device is used to remind the driver of the illegal non-motor vehicle.
可选的,所述非机动车的运动信息包括所述非机动车特征的运动信息,所述人员的运动信息包括所述人脸特征的运动信息;Optionally, the motion information of the non-motor vehicle includes motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes motion information of the facial characteristics;
处理器901执行的所述根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员,包括:The execution of the processor 901 according to the motion information of the non-motor vehicle and the motion information of the person to match the driver and passenger of the non-locomotive includes:
获取在所述非机动车特征预设范围内的人脸特征,根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员。Acquiring facial features within the preset range of the non-motor vehicle features, and matching the non-locomotive driver with the non-locomotive based on the motion information of the non-motor vehicle features and the facial feature motion information within the preset range .
可选的,处理器901执行的所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员,包括:Optionally, the motion information according to the characteristics of the non-motor vehicle and the motion information of the face features within the preset range executed by the processor 901 for the non-locomotive matching driver and passenger include:
根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集;Forming a face set according to the motion information of the non-motor vehicle features and the motion information of the face features within the preset range;
根据所述人脸集为所述非机车匹配驾乘人员。Match the driver and passenger to the non-locomotive according to the face set.
可选的,所述非机动车特征的运动信息包括非机动车特征的速度,所述人脸特征的运动信息包括人脸特征的速度;Optionally, the motion information of the non-motor vehicle feature includes the speed of the non-motor vehicle feature, and the motion information of the face feature includes the speed of the face feature;
处理器901执行的所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集,包括:The execution of the processor 901 according to the motion information of the non-motor vehicle features and the motion information of the face features within the preset range to form a face set includes:
对比所述非机动车特征的速度与所述人脸特征的速度,得到速度对比结果;Comparing the speed of the non-motor vehicle feature with the speed of the face feature to obtain a speed comparison result;
根据所述速度对比结果,形成所述人脸集。According to the speed comparison result, the face set is formed.
可选的,处理器901执行的所述根据所述人脸集为所述非机车匹配驾乘人员,包括:Optionally, the matching of the non-locomotive driver and passengers based on the face set by the processor 901 includes:
检测所述人脸集人脸特征的数量,判断所述人脸集中是否存在多个人脸特征;Detecting the number of face features in the face set to determine whether there are multiple face features in the face set;
若存在多个人脸特征,则在所述多个人脸特征中选取与所述非机动车特征像素最近的人脸特征确定为所述驾乘人员的人脸特征,得到所述非机动车的驾乘人员。If there are multiple facial features, the facial features closest to the non-motor vehicle feature pixels are selected from the multiple facial features to determine the facial features of the driver and occupant to obtain the driving characteristics of the non-motor vehicle Passengers.
可选的,处理器901执行的所述对违法非机动车的驾乘人员的身份信息进行确认,包括:Optionally, the verification performed by the processor 901 to confirm the identity information of the driver of the illegal non-motor vehicle includes:
从获取到的图像信息中,选取具有所述违法非机动车的驾乘人员的人脸特征的图像进行质量评价,得到图像质量评分;From the acquired image information, select an image with the facial features of the driver of the illegal non-motor vehicle for quality evaluation, and obtain an image quality score;
根据所述图像质量评分,选取图像质量评分最高的图像;According to the image quality score, select the image with the highest image quality score;
在所述图像质量评分最高的图像中提取所述违法非机动车的驾乘人员的人脸特征;Extract the facial features of the driver of the illegal non-motor vehicle from the image with the highest image quality score;
将所述违法非机动车的驾乘人员的人脸特征与后台身份图像库进行对比,确定驾乘人员的身份信息。The facial features of the driver of the illegal non-motor vehicle are compared with the background identity image library to determine the identity information of the driver.
需要说明的是,本发明实施例提供的电子设备可以应用于非机动车交通违法监管设备,例如:交通摄像头、计算机、服务器等可以进行非机动车交通违法检测的设备。It should be noted that the electronic device provided by the embodiment of the present invention can be applied to non-motor vehicle traffic violation supervision equipment, such as: traffic cameras, computers, servers, and other devices that can detect non-motor vehicle traffic violation laws.
本发明实施例提供的电子设备能够实现图1、图2和图3的方法实施例中的各个实施方式,以及相应有益效果,为避免重复,这里不再赘述。The electronic device provided by the embodiment of the present invention can implement various implementation methods in the method embodiments of FIG. 1, FIG. 2, and FIG. 3, and corresponding beneficial effects. To avoid repetition, details are not described herein again.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现本发明实施例提供的非机动车交通违法监管方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Embodiments of the present invention also provide a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to implement the non-motor vehicle traffic violation supervision method embodiment provided by the embodiment of the present invention. Each process can achieve the same technical effect. To avoid repetition, it will not be repeated here.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存取存储器(Random Access Memory,简称RAM)等。A person of ordinary skill in the art may understand that all or part of the processes in the method of the foregoing embodiments may be completed by instructing relevant hardware through a computer program, and the program may be stored in a computer-readable storage medium. During execution, the process of the above method embodiments may be included. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM for short), etc.
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosure is only preferred embodiments of the present invention, and of course it cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (10)

  1. 一种非机动车交通违法监管方法,其特征在于,包括:A non-motor vehicle traffic illegal supervision method is characterized by including:
    获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征;Obtain image information, the image information includes non-motor vehicle features of non-motor vehicles and human face features;
    对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息;Visually tracking the characteristics of the non-motor vehicle and the facial features to obtain the movement information of the non-motor vehicle and the movement information of the person;
    根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员;Matching driver and passengers for the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel;
    根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件;According to the motion information of the non-motor vehicle, determine whether the non-motor vehicle triggers a preset illegal condition;
    若所述非机动车触发所述预先设置的违法条件,则对违法非机动车的驾乘人员的身份信息进行确认。If the non-motor vehicle triggers the preset illegal condition, the identity information of the driver of the illegal non-motor vehicle is confirmed.
  2. 如权利要求1所述的方法,其特征在于,在所述对违法非机动车的驾乘人员的身份信息进行确认之后,所述方法还包括:The method according to claim 1, wherein after the identification of the identity information of the driver of the illegal non-motor vehicle is performed, the method further comprises:
    根据所述非机动车触发的违法条件,生成违法信息;Generate illegal information according to the illegal conditions triggered by the non-motor vehicle;
    根据所述违法信息生成提示信息,并将所述提示信息发送到提示设备,所述提示设备用于对所述违法非机动车的驾乘人员进行违法提醒。Prompt information is generated according to the illegal information, and the prompt information is sent to a prompting device, and the prompting device is used to remind the driver of the illegal non-motor vehicle.
  3. 如权利要求2所述的方法,其特征在于,所述非机动车的运动信息包括所述非机动车特征的运动信息,所述人员的运动信息包括所述人脸特征的运动信息;The method according to claim 2, wherein the motion information of the non-motor vehicle includes motion information of the characteristics of the non-motor vehicle, and the motion information of the person includes motion information of the face characteristics;
    所述根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员,包括:The matching the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel includes:
    获取在所述非机动车特征预设范围内的人脸特征,根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员。Acquiring facial features within the preset range of the non-motor vehicle features, and matching the non-locomotive driver with the non-locomotive based on the motion information of the non-motor vehicle features and the facial feature motion information within the preset range .
  4. 如权利要求3所述的方法,其特征在于,所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息为所述非机车匹配驾乘人员,包括:The method according to claim 3, wherein the motion information based on the non-motor vehicle characteristics and the facial feature motion information in the preset range for the non-locomotive matching driver and passengers includes :
    根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集;Forming a face set according to the motion information of the non-motor vehicle features and the motion information of the face features within the preset range;
    根据所述人脸集为所述非机车匹配驾乘人员。Match the driver and passenger to the non-locomotive according to the face set.
  5. 如权利要求3所述的方法,其特征在于,所述非机动车特征的运动信息包括非机动车特征的速度,所述人脸特征的运动信息包括人脸特征的速度;The method according to claim 3, wherein the motion information of the non-motor vehicle feature includes a speed of the non-motor vehicle feature, and the motion information of the face feature includes a speed of the face feature;
    所述根据所述非机动车特征的运动信息及所述预设范围内的人脸特征的运动信息,形成人脸集,包括:The forming of a face set according to the movement information of the non-motor vehicle characteristics and the movement information of the face characteristics within the preset range includes:
    对比所述非机动车特征的速度与所述人脸特征的速度,得到速度对比结果;Comparing the speed of the non-motor vehicle feature with the speed of the face feature to obtain a speed comparison result;
    根据所述速度对比结果,形成所述人脸集。According to the speed comparison result, the face set is formed.
  6. 如权利要求4所述的方法,其特征在于,所述根据所述人脸集为所述非机车匹配驾 乘人员包括:The method according to claim 4, wherein matching the driver and the passenger for the non-locomotive based on the face set includes:
    检测所述人脸集人脸特征的数量,判断所述人脸集中是否存在多个人脸特征;Detecting the number of face features in the face set to determine whether there are multiple face features in the face set;
    若存在多个人脸特征,则在所述多个人脸特征中选取与所述非机动车特征像素最近的人脸特征确定为所述驾乘人员的人脸特征,得到所述非机动车的驾乘人员。If there are multiple facial features, the facial features closest to the non-motor vehicle feature pixels are selected from the multiple facial features to determine the facial features of the driver and occupant to obtain the driving characteristics of the non-motor vehicle Passengers.
  7. 如权利要求1至6中任一所述的方法,其特征在于,所述对违法非机动车的驾乘人员的身份信息进行确认,包括:The method according to any one of claims 1 to 6, wherein the confirmation of the identity information of the driver of the illegal non-motor vehicle includes:
    从获取到的图像信息中,选取具有所述违法非机动车的驾乘人员的人脸特征的图像进行质量评价,得到图像质量评分;From the acquired image information, select an image with the facial features of the driver of the illegal non-motor vehicle for quality evaluation, and obtain an image quality score;
    根据所述图像质量评分,选取图像质量评分最高的图像;According to the image quality score, select the image with the highest image quality score;
    在所述图像质量评分最高的图像中提取所述违法非机动车的驾乘人员的人脸特征;Extract the facial features of the driver of the illegal non-motor vehicle from the image with the highest image quality score;
    将所述违法非机动车的驾乘人员的人脸特征与后台身份图像库进行对比,确定驾乘人员的身份信息。The facial features of the driver of the illegal non-motor vehicle are compared with the background identity image library to determine the identity information of the driver.
  8. 一种非机动车交通违法监管装置,其特征在于,包括:A non-motor vehicle traffic illegal supervision device, characterized by including:
    第一获取模块,用于获取图像信息,所述图像信息包括非机动车的非机动车特征及人员的人脸特征;The first acquisition module is used to acquire image information, the image information includes non-motor vehicle features of the non-motor vehicle and human face features of the person;
    第二获取模块,用于对所述非机动车特征及所述人脸特征进行视觉跟踪,获取所述非机动车的运动信息以及所述人员的运动信息;A second acquisition module, configured to visually track the characteristics of the non-motor vehicle and the facial features, and obtain the motion information of the non-motor vehicle and the motion information of the person;
    匹配模块,用于根据所述非机动车的运动信息及所述人员的运动信息为所述非机车匹配驾乘人员;A matching module, configured to match the driver and passenger of the non-locomotive according to the motion information of the non-motor vehicle and the motion information of the personnel;
    判断模块,用于根据所述非机动车的运动信息,判断所述非机动车是否触发预先设置的违法条件;The judging module is used for judging whether the non-motor vehicle triggers a preset illegal condition according to the motion information of the non-motor vehicle;
    确认模块,用于若所述非机动车触发所述预先设置的违法条件,则对违法非机动车的驾乘人员的身份信息进行确认。The confirmation module is used for confirming the identity information of the driver of the illegal non-motor vehicle if the non-motor vehicle triggers the preset illegal condition.
  9. 一种电子设备,其特征在于,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如权利要求1至7中任一项所述的非机动车交通违法监管方法中的步骤。An electronic device, comprising: a memory, a processor, and a computer program stored on the memory and executable on the processor, and the processor implements the computer program as claimed in claim 1 To the steps in the non-motor vehicle traffic violation supervision method described in any one of 7.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至7中任一项所述的非机动车交通违法监管方法中的步骤。A computer-readable storage medium, characterized in that a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the non-machine storage according to any one of claims 1 to 7 is realized Steps in the method of supervision of illegal traffic on motor vehicles.
PCT/CN2018/124833 2018-11-01 2018-12-28 Non-motor vehicle traffic violation supervision method and apparatus and electronic device WO2020087743A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811296616.2A CN109635645A (en) 2018-11-01 2018-11-01 The illegal monitoring and managing method of Manpower Transportation, device and electronic equipment
CN201811296616.2 2018-11-01

Publications (1)

Publication Number Publication Date
WO2020087743A1 true WO2020087743A1 (en) 2020-05-07

Family

ID=66067067

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124833 WO2020087743A1 (en) 2018-11-01 2018-12-28 Non-motor vehicle traffic violation supervision method and apparatus and electronic device

Country Status (2)

Country Link
CN (1) CN109635645A (en)
WO (1) WO2020087743A1 (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611974A (en) * 2020-06-03 2020-09-01 广州通达汽车电气股份有限公司 Vehicle-mounted face snapshot method and system
CN112560711A (en) * 2020-12-18 2021-03-26 深圳赛安特技术服务有限公司 Method, system, device and storage medium for judging traffic violation of non-motor vehicle
CN112581769A (en) * 2020-12-08 2021-03-30 福建小电科技有限公司 Non-motor vehicle illegal video analysis system based on artificial intelligence recognition technology
CN113160575A (en) * 2021-03-15 2021-07-23 超级视线科技有限公司 Traffic violation detection method and system for non-motor vehicles and drivers
CN113570877A (en) * 2021-06-22 2021-10-29 淮阴工学院 Non-motor vehicle retrograde detection device and detection method
CN113674311A (en) * 2021-06-30 2021-11-19 浙江大华技术股份有限公司 Abnormal behavior detection method and device, electronic equipment and storage medium
CN115294774A (en) * 2022-06-20 2022-11-04 桂林电子科技大学 Non-motor vehicle road illegal parking detection method and device based on deep learning
CN115439278A (en) * 2022-08-05 2022-12-06 火焰蓝(浙江)信息科技有限公司 On-line learning method and system suitable for non-motor vehicle driver
CN112560711B (en) * 2020-12-18 2024-06-07 深圳赛安特技术服务有限公司 Method, system, device and storage medium for judging traffic violation of non-motor vehicle

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110084162A (en) * 2019-04-18 2019-08-02 上海钧正网络科技有限公司 A kind of peccancy detection method, apparatus and server
CN111832352A (en) * 2019-04-18 2020-10-27 杭州海康威视系统技术有限公司 Non-motor vehicle monitoring method, device and equipment and storage medium
CN111347977B (en) * 2019-06-05 2022-06-10 威盛电子股份有限公司 Vehicle blind spot image display method, device and system
CN110223520A (en) * 2019-07-16 2019-09-10 网链科技集团有限公司 Electric bicycle hypervelocity recognition methods
CN110414459B (en) * 2019-08-02 2023-04-07 中星智能系统技术有限公司 Method and device for establishing man-vehicle association
CN112417922A (en) * 2019-08-20 2021-02-26 杭州海康威视数字技术股份有限公司 Target identification method and device
CN110781759B (en) * 2019-09-29 2022-08-09 浙江大华技术股份有限公司 Information binding method and device for vehicle and driver and computer storage medium
CN110930707A (en) * 2019-12-03 2020-03-27 浙江中核信息科技有限公司 Non-motor vehicle traffic violation supervision system and supervision method
CN113128540B (en) * 2019-12-31 2024-05-03 深圳云天励飞技术有限公司 Method and device for detecting vehicle theft behavior of non-motor vehicle and electronic equipment
CN111523388A (en) * 2020-03-24 2020-08-11 深圳英飞拓科技股份有限公司 Method and device for associating non-motor vehicle with person and terminal equipment
CN112395976A (en) * 2020-11-17 2021-02-23 杭州海康威视系统技术有限公司 Motorcycle manned identification method, device, equipment and storage medium
CN116824859B (en) * 2023-07-21 2024-04-05 佛山市新基建科技有限公司 Intelligent traffic big data analysis system based on Internet of things

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080252487A1 (en) * 2006-05-22 2008-10-16 Mcclellan Scott System and method for monitoring and updating speed-by-street data
CN103248867A (en) * 2012-08-20 2013-08-14 苏州大学 Surveillance method of intelligent video surveillance system based on multi-camera data fusion
CN204810453U (en) * 2015-07-31 2015-11-25 广东浩亚信息科技有限公司 Road video monitor system
CN206210109U (en) * 2016-09-27 2017-05-31 宁波工程学院 Non-motor vehicle makes a dash across the red light identifying system
CN108074395A (en) * 2016-11-10 2018-05-25 中国移动通信有限公司研究院 A kind of method and device of identification
CN108492573A (en) * 2018-03-09 2018-09-04 姜鹏飞 A kind of identification of non-motor vehicle, localization method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080252487A1 (en) * 2006-05-22 2008-10-16 Mcclellan Scott System and method for monitoring and updating speed-by-street data
CN103248867A (en) * 2012-08-20 2013-08-14 苏州大学 Surveillance method of intelligent video surveillance system based on multi-camera data fusion
CN204810453U (en) * 2015-07-31 2015-11-25 广东浩亚信息科技有限公司 Road video monitor system
CN206210109U (en) * 2016-09-27 2017-05-31 宁波工程学院 Non-motor vehicle makes a dash across the red light identifying system
CN108074395A (en) * 2016-11-10 2018-05-25 中国移动通信有限公司研究院 A kind of method and device of identification
CN108492573A (en) * 2018-03-09 2018-09-04 姜鹏飞 A kind of identification of non-motor vehicle, localization method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHOU, BOMENG: "Research on Detection for Traffic Violation Based on HD Video", CHINESE MASTER’S THESES FULL-TEXT DATABASE, 15 March 2015 (2015-03-15), pages 1 - 62, XP055700008, ISSN: 1674-0246 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111611974A (en) * 2020-06-03 2020-09-01 广州通达汽车电气股份有限公司 Vehicle-mounted face snapshot method and system
CN112581769A (en) * 2020-12-08 2021-03-30 福建小电科技有限公司 Non-motor vehicle illegal video analysis system based on artificial intelligence recognition technology
CN112560711A (en) * 2020-12-18 2021-03-26 深圳赛安特技术服务有限公司 Method, system, device and storage medium for judging traffic violation of non-motor vehicle
CN112560711B (en) * 2020-12-18 2024-06-07 深圳赛安特技术服务有限公司 Method, system, device and storage medium for judging traffic violation of non-motor vehicle
CN113160575A (en) * 2021-03-15 2021-07-23 超级视线科技有限公司 Traffic violation detection method and system for non-motor vehicles and drivers
CN113570877A (en) * 2021-06-22 2021-10-29 淮阴工学院 Non-motor vehicle retrograde detection device and detection method
CN113674311A (en) * 2021-06-30 2021-11-19 浙江大华技术股份有限公司 Abnormal behavior detection method and device, electronic equipment and storage medium
CN115294774A (en) * 2022-06-20 2022-11-04 桂林电子科技大学 Non-motor vehicle road illegal parking detection method and device based on deep learning
CN115294774B (en) * 2022-06-20 2023-12-29 桂林电子科技大学 Non-motor vehicle road stopping detection method and device based on deep learning
CN115439278A (en) * 2022-08-05 2022-12-06 火焰蓝(浙江)信息科技有限公司 On-line learning method and system suitable for non-motor vehicle driver

Also Published As

Publication number Publication date
CN109635645A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
WO2020087743A1 (en) Non-motor vehicle traffic violation supervision method and apparatus and electronic device
US20220262239A1 (en) Determining causation of traffic events and encouraging good driving behavior
US20240149882A1 (en) Multiple exposure event determination
CN107705552B (en) Emergency lane occupation behavior detection method, device and system
US6442474B1 (en) Vision-based method and apparatus for monitoring vehicular traffic events
KR102453627B1 (en) Deep Learning based Traffic Flow Analysis Method and System
CN102765365B (en) Pedestrian detection method based on machine vision and pedestrian anti-collision warning system based on machine vision
US11315026B2 (en) Systems and methods for classifying driver behavior
US11945435B2 (en) Devices and methods for predicting collisions and/or intersection violations
WO2016129403A1 (en) Object detection device
Artan et al. Passenger compartment violation detection in HOV/HOT lanes
WO2020024552A1 (en) Road safety monitoring method and system, and computer-readable storage medium
US20210312193A1 (en) Devices and methods for predicting intersection violations and/or collisions
CN110580808A (en) Information processing method and device, electronic equipment and intelligent traffic system
Ketcham et al. Recognizing the Illegal Parking Patterns of Cars on the Road in Front of the Bus Stop Using the Support Vector Machine
CN109389060A (en) A kind of vehicle week anti-collision warning method of view-based access control model
Sridhar et al. Helmet violation detection using YOLO v2 deep learning framework
JP2020013206A (en) Device for detecting two-wheeled vehicle from moving image/camera, program, and system
CN114724122A (en) Target tracking method and device, electronic equipment and storage medium
US20120189161A1 (en) Visual attention apparatus and control method based on mind awareness and display apparatus using the visual attention apparatus
KR101374653B1 (en) Apparatus and method for detecting movement of vehicle
CN111985304A (en) Patrol alarm method, system, terminal equipment and storage medium
US20210309221A1 (en) Devices and methods for determining region of interest for object detection in camera images
Avupati et al. Traffic Rules Violation Detection using YOLO and HAAR Cascade
Sekar et al. An automatic helmet detection and penalty system using image descriptors and classifiers

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: 18938603

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18938603

Country of ref document: EP

Kind code of ref document: A1