Method, device and equipment for judging red light violation of shared vehicle and storage medium

By collecting video footage from onboard cameras in shared vehicles and using deep learning algorithms to identify the distance to traffic lights and movement trajectories, the system can automatically determine red-light violations, solving the problem of difficulty in obtaining evidence of non-motorized vehicles running red lights and enabling effective identification and evidence collection at any intersection.

CN116486348BActive Publication Date: 2026-03-17SHENZHEN TBIT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310470062.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-24
Publication Date
2026-03-17
Estimated Expiration
2043-04-24

AI Technical Summary

Technical Problem

It is difficult to obtain evidence of non-motorized vehicles running red lights. Existing technology is insufficient for effective identification and supervision at intersections where no equipment has been deployed, and the limited field of view of vehicle-mounted camera equipment leads to inaccurate identification.

Method used

By collecting road condition videos through onboard cameras in shared vehicles, and using deep learning algorithms to identify the distance and relative movement trajectory of traffic lights, the system can automatically determine whether a red light has been run, capture target images, and output evidence.

Benefits of technology

It eliminates the need to install specific equipment at traffic light intersections, enabling identification and evidence collection at any intersection where traffic lights are deployed. This reduces the difficulty of obtaining evidence of non-motorized vehicles running red lights and provides red light image evidence at three levels: far, medium, and near.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116486348B_ABST
    Figure CN116486348B_ABST
Patent Text Reader

Abstract

The present application relates to the field of data processing, and discloses a red light running judgment method, device and equipment of shared vehicle and storage medium.The method comprises the following steps: when obtaining the road condition video collected by the vehicle, detecting whether the red light appears for the first time in the road condition video; if the red light is detected for the first time, determining the pixel area corresponding to the red light in the road condition video and determining the center coordinates of the road condition video; according to the center coordinates and the pixel area, the target picture is intercepted in the road condition video; according to the target picture, it is determined whether the vehicle runs the red light; if it is determined that the vehicle runs the red light, the target picture is output.The present application reduces the difficulty of taking evidence of non-motor vehicle running the red light.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing, and in particular to a method, apparatus, device, and storage medium for determining red-light violations by shared vehicles. Background Technology

[0002] Currently, identifying non-motorized vehicles running red lights mainly relies on fixed cameras installed at road intersections to capture and identify such behavior. This method has limitations: it requires specific equipment to be installed at traffic light intersections, cannot capture images from vehicles, and is ineffective for monitoring intersections in suburban areas or new districts where such equipment is not deployed. Shared vehicles often have small license plates, making it difficult to directly identify the license plate number after a red light violation. This solution, however, directly links the license plate to the vehicle's frame number and the rider, allowing for direct identification of the violating vehicle and rider. Vehicle-mounted cameras are limited by their field of view, and traffic lights may be outside their field of view, leading to inaccurate identification of red light violations. This solution, based on an algorithm to estimate the relative motion trajectory of traffic lights, can effectively identify non-motorized vehicles running red lights. Therefore, it is evident that obtaining evidence of non-motorized vehicles running red lights is challenging. Summary of the Invention

[0003] The main objective of this invention is to solve the technical problem of the difficulty in obtaining evidence of non-motorized vehicles running red lights.

[0004] The first aspect of this invention provides a method for determining whether a shared vehicle has run a red light, the method comprising:

[0005] When the road condition video collected by the vehicle is obtained, it is detected whether the red light appears for the first time in the road condition video;

[0006] If the red light is detected for the first time, determine the pixel area corresponding to the red light and the center coordinates of the traffic video in the traffic video.

[0007] The target image is extracted from the road condition video based on the center coordinates and the pixel area.

[0008] Determine whether the vehicle ran a red light based on the target image;

[0009] If it is determined that the vehicle ran a red light, output the target image.

[0010] Optionally, in a first implementation of the first aspect of the present invention, the step of extracting the target image from the road condition video based on the center coordinates and the pixel area includes:

[0011] The displacement trajectory of the pixel area in the road condition video is determined based on the center coordinates;

[0012] Based on whether the displacement trajectory satisfies a preset rule;

[0013] If the displacement trajectory satisfies the preset rule, a preset number of target images are extracted from the road condition video according to the size of the pixel area.

[0014] Optionally, in a second implementation of the first aspect of the present invention, the step of outputting the target image if it is determined that the vehicle has run a red light includes:

[0015] The target image is sent to the police system based on the preset IP address.

[0016] Optionally, in a third implementation of the first aspect of the present invention, the step of determining whether the vehicle has run a red light based on the target image includes:

[0017] Determine whether the number of target images is 3;

[0018] If the number is 3, the vehicle is determined to have run a red light.

[0019] Optionally, in a fourth implementation of the first aspect of the present invention, after the step of outputting the target image if it is determined that the vehicle has run a red light, the method further includes:

[0020] Obtain the user information currently associated with the vehicle;

[0021] Reduce the preset score corresponding to the user information;

[0022] When a rental request corresponding to the user information is detected, the vehicle is unlocked based on the preset points.

[0023] Optionally, in a fifth implementation of the first aspect of the present invention, the step of extracting a preset number of target images from the road condition video according to the size of the pixel area if the displacement trajectory satisfies the preset rule includes:

[0024] If the displacement trajectory satisfies the preset rule, determine whether the size of the pixel area is within the first interval;

[0025] If the size of the pixel area is within the first interval, a first photo is captured from the road condition video and it is determined whether the size of the pixel area is within the second interval.

[0026] If the size of the pixel area is in the second interval, a second photo is captured from the road condition video and it is determined whether the size of the pixel area is in the third interval.

[0027] If the size of the pixel area is within the third interval, a third photo is captured from the road condition video;

[0028] The first photo, the second photo, and the third photo are used as the target photo.

[0029] Optionally, in a sixth implementation of the first aspect of the present invention, after the step of determining whether the vehicle has run a red light based on the target image, the method further includes:

[0030] If it is determined that the vehicle has run a red light, a warning message will be output.

[0031] A second aspect of the present invention provides a red-light violation detection device for shared vehicles, comprising:

[0032] The detection module is used to detect whether a red light appears for the first time in the road condition video collected by the vehicle.

[0033] The determination module is used to determine the pixel area corresponding to the red light and the center coordinates of the traffic video if the red light is detected for the first time.

[0034] The cropping module is used to crop a target image from the road condition video based on the center coordinates and the pixel area;

[0035] The judgment module is used to determine whether the vehicle has run a red light based on the target image;

[0036] The output module is used to output the target image if it is determined that the vehicle has run a red light.

[0037] A third aspect of the present invention provides a red-light violation detection device for shared vehicles, comprising: a memory and at least one processor, wherein the memory stores instructions, and the memory and the at least one processor are interconnected via a line; the at least one processor invokes the instructions in the memory to cause the red-light violation detection device for shared vehicles to execute the aforementioned red-light violation detection method for shared vehicles.

[0038] A fourth aspect of the present invention provides a computer-readable storage medium storing instructions that, when executed on a computer, cause the computer to perform the aforementioned method for determining red-light violations by shared vehicles.

[0039] In this embodiment of the invention, when obtaining road condition video collected by a vehicle, it is detected whether a red light appears for the first time in the road condition video; if the red light is detected for the first time, the pixel area corresponding to the red light and the center coordinates of the road condition video are determined in the road condition video; a target image is extracted from the road condition video based on the center coordinates and the pixel area; it is determined whether the vehicle has run a red light based on the target image; if it is determined that the vehicle has run a red light, the target image is output. Since the shared vehicle red light violation detection device can determine the target image from the road condition video collected by the camera, and then determine whether the shared vehicle has run a red light based on the target image, there is no need to install designated equipment at traffic light intersections. The shared vehicle red light violation detection device solves the technical problem of difficulty in obtaining evidence of traffic violations. Furthermore, the use of vehicle-mounted cameras to actively identify non-motorized vehicles running red lights can be applied to any intersection with traffic lights. Even in suburban areas, towns, and remote areas without monitoring equipment, it can effectively identify and collect evidence. By using the threshold value of the projection image size through a fixed-focus lens, it can collect red light images of three levels: far, medium, and near, and combine them into evidence of a single red light violation, thus reducing the difficulty of obtaining evidence of non-motorized vehicles running red lights. Attached Figure Description

[0040] Figure 1 This is a schematic diagram of an embodiment of the method for determining red light violations by shared vehicles in this invention;

[0041] Figure 2 This is a reference diagram of an embodiment of the method for determining red light violations by shared vehicles in this invention.

[0042] Figure 3 This is a schematic diagram of one embodiment of the red light violation detection device for shared vehicles in this invention.

[0043] Figure 4 This is a schematic diagram of one embodiment of the red light violation detection device for shared vehicles in this invention. Detailed Implementation

[0044] This invention provides a method, apparatus, device, and storage medium for determining red-light violations by shared vehicles.

[0045] The terms “first,” “second,” “third,” “fourth,” etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms “comprising” or “having,” and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0046] For ease of understanding, the specific process of the embodiments of the present invention is described below. Please refer to [link / reference]. Figure 1 One embodiment of the method for determining red-light violations by shared vehicles in this invention includes:

[0047] 101. When the road condition video collected by the vehicle is obtained, check whether the red light appears for the first time in the road condition video;

[0048] Specifically, the system autonomously identifies red-light violations using an in-vehicle camera; it estimates distance by area and collects traffic light images at three distances (far, medium, and near) to identify red-light violations; and it predicts the user's trajectory by analyzing the relative displacement of the traffic lights, thus identifying red-light violations. In this embodiment, the system can identify whether it has violated a red-light rule using an in-vehicle camera; it can estimate distance by area and collect three images to identify red-light violations; and it can predict the user's trajectory by analyzing the relative displacement of the traffic lights, thereby identifying red-light violations.

[0049] Furthermore, cameras are installed on shared vehicles. Based on the collected road condition video, deep learning algorithms are used to automatically identify the distance to traffic lights and relative movement trajectories to determine whether non-motorized vehicles have run red lights. Shared vehicles include, but are not limited to, shared bicycles and shared electric bikes.

[0050] 102. If the red light is detected for the first time, determine the pixel area corresponding to the red light and the center coordinates of the traffic video in the traffic video.

[0051] Optionally, when a red light is detected for the first time, cyclists can be proactively reminded to stop and wait, which can effectively prevent red light violations from occurring, rather than just collecting evidence and imposing penalties afterward.

[0052] 103. Extract a target image from the road condition video based on the center coordinates and the pixel area;

[0053] Since the camera lens parameters are fixed, the size of the red light border identified by deep learning is directly proportional to the distance to the vehicle. Based on actual measurement and calibration, three distance ranges—far, medium, and near—can be distinguished according to the red light area. By collecting red light images under these three conditions, it can be confirmed that the user ran a red light during the same red light cycle.

[0054] Because the direction of travel of shared vehicles is somewhat arbitrary, estimating distance solely based on area has limitations. In some special cases, it may not be possible to capture all three types of images completely. Therefore, by combining the movement trajectory at the center of the red light, it is inferred that the vehicle was riding in the direction of the red light when it ran the red light.

[0055] Optionally, the displacement trajectory of the pixel area in the road condition video is determined based on the center coordinates; whether the displacement trajectory satisfies a preset rule; if the displacement trajectory satisfies the preset rule, a preset number of target images are extracted from the road condition video based on the size of the pixel area. Specifically, such as... Figure 2 As shown, by observing the movement trajectory at the center of the red light, if the vertical component of the traffic light's movement trajectory is greater than the horizontal component, it can be inferred that the cyclist is riding towards the red light, thus proving that the user has run a red light. Conversely, if the vertical component is greater than the horizontal component, the user may be turning right at the red light intersection and has not violated any rules.

[0056] Optionally, if the displacement trajectory satisfies the preset rule, determine whether the size of the pixel area is within a first interval; if the size of the pixel area is within the first interval, extract a first photo from the traffic video and determine whether the size of the pixel area is within a second interval; if the size of the pixel area is within the second interval, extract a second photo from the traffic video and determine whether the size of the pixel area is within a third interval; if the size of the pixel area is within the third interval, extract a third photo from the traffic video; and use the first photo, the second photo, and the third photo as the target photo.

[0057] Optionally, a red light is detected for the first time;

[0058] The area and center coordinates are calculated based on the pixel border. If the area is less than 2000, the recognition distance is considered far. The first photo is taken, and a voice prompt is played: "There is a red light ahead. Stop and wait."

[0059] If the area is greater than 2000 and less than 5000, the recognition distance is medium, and a second photo is taken.

[0060] If the red light is close to the pixel boundary and about to be out of the field of vision, then based on the trajectory of the red light's center position, the estimated movement trajectory angle is >45 degrees and <135 degrees, indicating that the vehicle is moving directly towards the red light.

[0061] If the red light area is greater than 5000 and the recognition distance is too close, take a third photo, identify it as running a red light, and play a voice prompt: "You have run a red light, please ride safely."

[0062] Recognition complete.

[0063] 104. Determine whether the vehicle ran a red light based on the target image;

[0064] Specifically, whether a shared vehicle has run a red light can be determined based on the target image obtained within a judgment period.

[0065] Optionally, determine whether the number of target images is 3; if the number is 3, determine that the vehicle ran a red light.

[0066] 105. If it is determined that the vehicle ran a red light, output the target image;

[0067] Optionally, if it is determined that the vehicle ran a red light, obtain the user information currently associated with the vehicle; reduce the preset points corresponding to the user information; when a rental request corresponding to the user information is detected, determine whether to unlock the vehicle based on the preset points.

[0068] Optionally, if it is determined that the vehicle has run a red light, a warning message is output.

[0069] In this embodiment of the invention, when obtaining road condition video collected by a vehicle, it is detected whether a red light appears for the first time in the road condition video; if the red light is detected for the first time, the pixel area corresponding to the red light and the center coordinates of the road condition video are determined in the road condition video; a target image is extracted from the road condition video based on the center coordinates and the pixel area; it is determined whether the vehicle has run a red light based on the target image; if it is determined that the vehicle has run a red light, the target image is output. Since the shared vehicle red light violation detection device can determine the target image from the road condition video collected by the camera, and then determine whether the shared vehicle has run a red light based on the target image, there is no need to install designated equipment at traffic light intersections. The shared vehicle red light violation detection device solves the technical problem of difficulty in obtaining evidence of traffic violations. Furthermore, the use of vehicle-mounted cameras to actively identify non-motorized vehicles running red lights can be applied to any intersection with traffic lights. Even in suburban areas, towns, and remote areas without monitoring equipment, it can effectively identify and collect evidence. By using the threshold value of the projection image size through a fixed-focus lens, it can collect red light images of three levels: far, medium, and near, and combine them into evidence of a single red light violation, thus reducing the difficulty of obtaining evidence of non-motorized vehicles running red lights.

[0070] The above describes the method for determining red-light violations by shared vehicles in embodiments of the present invention. The following describes the device for determining red-light violations by shared vehicles in embodiments of the present invention. Please refer to [link / reference]. Figure 3One embodiment of the red-light violation detection device for shared vehicles in this invention includes:

[0071] The detection module 301 is used to detect whether a red light appears for the first time in the road condition video collected by the vehicle when the video is obtained.

[0072] The determination module 302 is used to determine the pixel area corresponding to the red light and the center coordinates of the traffic video if the red light is detected for the first time.

[0073] The cropping module 303 is used to crop a target image from the road condition video based on the center coordinates and the pixel area.

[0074] The judgment module 304 is used to determine whether the vehicle has run a red light based on the target image;

[0075] The output module 305 is used to output the target image if it is determined that the vehicle has run a red light.

[0076] Optionally, the interception module 303 can also be specifically used for:

[0077] The displacement trajectory of the pixel area in the road condition video is determined based on the center coordinates;

[0078] Based on whether the displacement trajectory satisfies a preset rule;

[0079] If the displacement trajectory satisfies the preset rule, a preset number of target images are extracted from the road condition video according to the size of the pixel area.

[0080] Optionally, the output module 305 can also be specifically used for:

[0081] The target image is sent to the police system based on the preset IP address.

[0082] Optionally, the output module 305 can also be specifically used for:

[0083] Determine whether the number of target images is 3;

[0084] If the number is 3, the vehicle is determined to have run a red light.

[0085] Optionally, the output module 305 can also be specifically used for:

[0086] Obtain the user information currently associated with the vehicle;

[0087] Reduce the preset score corresponding to the user information;

[0088] When a rental request corresponding to the user information is detected, the vehicle is unlocked based on the preset points.

[0089] Optionally, the interception module 303 can also be specifically used for:

[0090] If the displacement trajectory satisfies the preset rule, determine whether the size of the pixel area is within the first interval;

[0091] If the size of the pixel area is within the first interval, a first photo is captured from the road condition video and it is determined whether the size of the pixel area is within the second interval.

[0092] If the size of the pixel area is in the second interval, a second photo is captured from the road condition video and it is determined whether the size of the pixel area is in the third interval.

[0093] If the size of the pixel area is within the third interval, a third photo is captured from the road condition video;

[0094] The first photo, the second photo, and the third photo are used as the target photo.

[0095] Optionally, the output module 305 can also be specifically used for:

[0096] If it is determined that the vehicle has run a red light, a warning message will be output.

[0097] In this embodiment of the invention, when obtaining road condition video collected by a vehicle, it is detected whether a red light appears for the first time in the road condition video; if the red light is detected for the first time, the pixel area corresponding to the red light and the center coordinates of the road condition video are determined in the road condition video; a target image is extracted from the road condition video based on the center coordinates and the pixel area; it is determined whether the vehicle has run a red light based on the target image; if it is determined that the vehicle has run a red light, the target image is output. Since the shared vehicle red light violation detection device can determine the target image from the road condition video collected by the camera, and then determine whether the shared vehicle has run a red light based on the target image, there is no need to install designated equipment at traffic light intersections. The shared vehicle red light violation detection device solves the technical problem of difficulty in obtaining evidence of traffic violations. Furthermore, the use of vehicle-mounted cameras to actively identify non-motorized vehicles running red lights can be applied to any intersection with traffic lights. Even in suburban areas, towns, and remote areas without monitoring equipment, it can effectively identify and collect evidence. By using the threshold value of the projection image size through a fixed-focus lens, it can collect red light images of three levels: far, medium, and near, and combine them into evidence of a single red light violation, thus reducing the difficulty of obtaining evidence of non-motorized vehicles running red lights.

[0098] above Figure 3The red-light violation detection device for shared vehicles in this embodiment of the invention is described in detail from the perspective of modular functional entities. The red-light violation detection device for shared vehicles in this embodiment of the invention is described in detail from the perspective of hardware processing.

[0099] Figure 4 This is a schematic diagram of a red-light violation detection device for shared vehicles provided in an embodiment of the present invention. The red-light violation detection device 500 for shared vehicles can vary significantly due to different configurations or performance. It may include one or more central processing units (CPUs) 510 (e.g., one or more processors) and a memory 520, and one or more storage media 530 (e.g., one or more mass storage devices) for storing application programs 533 or data 532. The memory 520 and storage media 530 can be temporary or persistent storage. The program stored in the storage media 530 may include one or more modules (not shown in the diagram), each module may include a series of instruction operations on the red-light violation detection device 500 for shared vehicles. Furthermore, the processor 510 may be configured to communicate with the storage media 530 and execute the series of instruction operations in the storage media 530 on the red-light violation detection device 500 for shared vehicles.

[0100] The red-light violation detection device 500 based on shared vehicles may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input / output interfaces 560, and / or one or more operating systems 531, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art will understand that... Figure 4 The illustrated red-light violation detection device structure for shared vehicles does not constitute a limitation on red-light violation detection devices based on shared vehicles. It may include more or fewer components than illustrated, or combine certain components, or have different component arrangements.

[0101] The present invention also provides a computer-readable storage medium, which can be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium, wherein the computer-readable storage medium stores instructions that, when the instructions are executed on a computer, cause the computer to perform the steps of the method for determining whether a shared vehicle has run a red light.

[0102] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the system, device, or unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0103] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0104] The above-described embodiments are only used to illustrate the technical solutions of the present invention, and are not intended to limit it. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A red light violation determination method for a shared vehicle, characterized by, The red light running determination method of the shared vehicle comprises: When obtaining a road condition video collected by a vehicle, detecting whether a red light first appears in the road condition video; If the red light is first detected, determining a pixel area corresponding to the red light in the road condition video and determining a center coordinate of the road condition video; According to the center coordinate and the pixel area, a target picture is intercepted in the road condition video; According to the target picture, it is determined whether the vehicle runs a red light; If it is determined that the vehicle runs a red light, the target picture is output. The step of intercepting the target picture in the road condition video according to the center coordinate and the pixel area comprises: According to the center coordinate, a displacement trajectory of the pixel area in the road condition video is determined; According to whether the displacement trajectory meets a preset rule; If the displacement trajectory meets the preset rule, a preset number of target pictures are intercepted in the road condition video according to the size of the pixel area; The step of determining whether the vehicle runs a red light according to the target picture comprises: Determining whether the number of target pictures is 3; If the number is 3, it is determined that the vehicle runs a red light. The step of intercepting a preset number of target pictures in the road condition video according to the size of the pixel area if the displacement trajectory meets the preset rule comprises: If the displacement trajectory meets the preset rule, it is determined whether the size of the pixel area is in a first interval; If the size of the pixel area is in the first interval, a first picture is intercepted in the road condition video and it is determined whether the size of the pixel area is in a second interval; If the size of the pixel area is in the second interval, a second picture is intercepted in the road condition video and it is determined whether the size of the pixel area is in a third interval; If the size of the pixel area is in the third interval, a third picture is intercepted in the road condition video; The first picture, the second picture and the third picture are taken as the target pictures.

2. The red light violation determination method of a shared vehicle according to claim 1, characterized by, The step of outputting the target picture if it is determined that the vehicle runs a red light comprises: According to a preset IP address, the target picture is sent to a police system.

3. The red-light violation determination method of a shared vehicle according to claim 1, characterized by, After the step of outputting the target picture if it is determined that the vehicle runs a red light, the method further comprises: Obtaining user information currently associated with the vehicle; Reducing a preset score corresponding to the user information; When detecting a rental request corresponding to the user information, it is determined whether to unlock the vehicle according to the preset score.

4. The red-light violation determination method of a shared vehicle according to claim 1, characterized by, After the step of determining whether the vehicle runs a red light according to the target picture, the method further comprises: If it is determined that the vehicle runs a red light, an early warning prompt information is output.

5. A red light violation determination device for a shared vehicle, characterized by comprising: The red light running determination device of the shared vehicle comprises: A detection module is configured to, when obtaining a road condition video collected by a vehicle, detect whether a red light first appears in the road condition video; A determination module is configured to, if the red light is first detected, determine a pixel area corresponding to the red light in the road condition video and determine a center coordinate of the road condition video; An interception module is configured to intercept a target picture in the road condition video according to the center coordinate and the pixel area. determining whether the vehicle runs a red light according to the target pictures; outputting the target pictures if it is determined that the vehicle runs a red light; the intercepting module can be specifically configured to: determine a displacement trajectory of the pixel area in the road condition video according to the center coordinates; determine whether the displacement trajectory meets a preset rule; if the displacement trajectory meets the preset rule, intercept a preset number of the target pictures in the road condition video according to the size of the pixel area; the output module can be specifically configured to: determine whether the number of the target pictures is 3; if the number is 3, determine that the vehicle runs a red light; the intercepting module can be specifically configured to: if the displacement trajectory meets the preset rule, determine whether the size of the pixel area is in a first interval; if the size of the pixel area is in the first interval, intercept a first picture in the road condition video and determine whether the size of the pixel area is in a second interval; if the size of the pixel area is in the second interval, intercept a second picture in the road condition video and determine whether the size of the pixel area is in a third interval; if the size of the pixel area is in the third interval, intercept a third picture in the road condition video; take the first picture, the second picture and the third picture as the target pictures.

6. A red light violation determination device for a shared vehicle, characterized by comprising: The red light running determination device of the shared vehicle comprises a memory and at least one processor, the memory stores instructions, and the memory and the at least one processor are interconnected through a circuit; the at least one processor calls the instructions in the memory, so that the red light running determination device of the shared vehicle executes the red light running determination method of the shared vehicle as claimed in any one of claims 1-4.

7. A computer-readable storage medium having stored thereon a computer program, characterized in that The computer program is executed by the processor to realize the red light running determination method of the shared vehicle as claimed in any one of claims 1-4.

Citation Information

Patent Citations

  • Vehicle-mounted red light running detection method and device, electronic equipment and storage medium

    CN113468911A

  • Vehicle red-light-running detection method and device, computer equipment and storage medium

    CN113689705A