Camera frame rate adjusting method and device, equipment, storage medium and program product
By detecting lane information and dynamically adjusting the frame rate of the bilateral rear cameras, the problem of high camera video data processing load in smart cars is solved, reducing power consumption and improving the accuracy of the visual algorithm.
Patent Information
- Application Number
- CN202410964677.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-09-27
AI Technical Summary
The fixed frame rate video data output by cameras in smart cars has a high processing load, which consumes a lot of computing power, requires high-cost hardware to support, and is difficult to dynamically adjust to adapt to the risk of overtaking in different lane situations.
By detecting the lane information of the current vehicle, the frame rate of the bilateral rear cameras is dynamically adjusted. The edge lane is adjusted to a lower frame rate, and the middle lane is adjusted to a higher frame rate to reduce power consumption and improve the accuracy of the visual algorithm. sex.
It effectively reduces the computing resource consumption of the visual algorithm, reduces the hardware burden, and at the same time improves the safety of the vehicle and the processing accuracy of the visual algorithm.
Smart Images

Figure CN118714448A
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and in particular to a camera frame rate adjustment method, device, vehicle-mounted equipment, computer-readable storage medium, and computer program product. Background Art
[0002] In order to fully understand the environment and objects around the vehicle, detect whether there are risks that affect the vehicle's driving safety, or whether the vehicle's driving will affect the safety of other objects, current smart cars with autonomous driving or assisted driving functions need to use video data output by multiple cameras.
[0003] At present, smart cars are equipped with side front view cameras and side rear view cameras in addition to front view cameras and rear view cameras. The mainstream visual algorithm, BEV (Bird's Eye View), can accurately identify information about other objects around the vehicle by processing the video data output by each camera.
[0004] Cameras are an important source of perception information for smart cars. The current perception strategy is that the visual algorithm processes the video data with a fixed frame rate output by the camera. However, due to the large amount of data output by the camera, the data processing load of the visual algorithm is increased, which consumes a high computing power, and also means that high-cost hardware needs to be configured. Summary of the invention
[0005] Based on this, it is necessary to provide a camera frame rate adjustment method, device, vehicle-mounted equipment, computer-readable storage medium and computer program product to address the above-mentioned technical problems, which can dynamically adjust the acquisition frame rate of the dual-side rear cameras according to the lane information in which the vehicle is currently located, thereby ensuring video output while reducing power consumption.
[0006] In a first aspect, the present application provides a camera frame rate adjustment method, comprising:
[0007] When the dual rear cameras are in operation, the lane the vehicle is currently in is detected;
[0008] If the vehicle is in an edge lane, a camera to be adjusted is determined in the dual-side rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera;
[0009] If the vehicle is in the middle lane, the acquisition frame rates of the rear cameras on both sides are adjusted to a second frame rate; the second frame rate is greater than the first frame rate.
[0010] In one embodiment, after detecting the lane in which the vehicle is currently located, the method further includes:
[0011] If the vehicle is in the leftmost lane, detect whether there is a target object in the first range on the left side of the vehicle; the height of the target object is greater than or equal to the set height;
[0012] If there is a target object within the first range on the left side of the vehicle, adjusting the acquisition frame rate of the left rear camera to the first frame rate;
[0013] If there is no target object within the first range on the left side of the vehicle, the acquisition frame rate of the left rear camera is adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate.
[0014] In one embodiment, after detecting the lane in which the vehicle is currently located, the method further includes:
[0015] If the vehicle is in the rightmost lane, determine whether there is an emergency lane or non-motorized vehicle lane on the current road section;
[0016] If there is an emergency lane or a non-motorized vehicle lane on the current road section, the acquisition frame rate of the right rear camera is adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate;
[0017] If there is no emergency lane or non-motorized vehicle lane in the current road section, the acquisition frame rate of the right rear camera is adjusted to the first frame rate.
[0018] In one embodiment, after determining whether there is an emergency lane or a non-motorized vehicle lane in the current road section, the method further includes:
[0019] If there is no emergency lane or non-motorized vehicle lane on the current road section, then detect whether there is a target object within the second range on the right side of the vehicle; the height of the target object is greater than or equal to the set height;
[0020] If there is a target object within the second range on the right side of the vehicle, adjusting the acquisition frame rate of the right rear camera to the first frame rate;
[0021] If there is no target object within the second range on the right side of the vehicle, the acquisition frame rate of the right rear camera is adjusted to the third frame rate.
[0022] In one embodiment, after detecting the lane in which the vehicle is currently located, the method further includes:
[0023] If the vehicle is in an edge lane, the camera to be adjusted is determined in the dual rear cameras based on the edge lane, and whether the current road section is an accident-prone section is determined;
[0024] If the current road section is an accident-prone road section, the acquisition frame rate of the camera to be adjusted is adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate;
[0025] If the current road section is not an accident-prone section, the acquisition frame rate of the camera to be adjusted is adjusted to the first frame rate.
[0026] In one embodiment, the method further comprises:
[0027] Perform visual inspection based on the video data collected by the target camera to determine the initial inspection result of each frame of video data; the target camera is at least one of the left rear camera and the right rear camera;
[0028] If the acquisition frame rate of the target camera is not the second frame rate, at least one missing frame identifier of the video data is determined, and the initial detection result of the target frame video data is used as the detection result corresponding to the missing frame identifier to obtain the target detection result; the target frame video data is the previous frame video data corresponding to the missing frame identifier.
[0029] In a second aspect, the present application also provides a camera frame rate adjustment device, comprising:
[0030] A detection module is used to detect the lane the vehicle is currently in when the dual rear cameras are in operation;
[0031] The adjustment module is used to determine a camera to be adjusted in the double-side rear cameras based on the edge lane if the vehicle is in an edge lane, and adjust the acquisition frame rate of the camera to be adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in a middle lane, adjust the acquisition frame rate of the double-side rear cameras to a second frame rate; the second frame rate is greater than the first frame rate.
[0032] In a third aspect, the present application further provides a vehicle-mounted device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0033] When the dual rear cameras are in operation, the lane the vehicle is currently in is detected;
[0034] If the vehicle is in an edge lane, a camera to be adjusted is determined in the dual-side rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera;
[0035] If the vehicle is in the middle lane, the acquisition frame rates of the rear cameras on both sides are adjusted to a second frame rate; the second frame rate is greater than the first frame rate.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0037] When the dual rear cameras are in operation, the lane the vehicle is currently in is detected;
[0038] If the vehicle is in an edge lane, a camera to be adjusted is determined in the dual-side rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera;
[0039] If the vehicle is in the middle lane, the acquisition frame rates of the rear cameras on both sides are adjusted to a second frame rate; the second frame rate is greater than the first frame rate.
[0040] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0041] When the dual rear cameras are in operation, the lane the vehicle is currently in is detected;
[0042] If the vehicle is in an edge lane, a camera to be adjusted is determined in the dual-side rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera;
[0043] If the vehicle is in the middle lane, the acquisition frame rates of the rear cameras on both sides are adjusted to a second frame rate; the second frame rate is greater than the first frame rate.
[0044] The camera frame rate adjustment method, device, vehicle-mounted equipment, computer-readable storage medium and computer program product described above detect the lane in which the vehicle is currently located during the operation of the double-sided rear cameras; if the vehicle is in the edge lane, the camera to be adjusted is determined in the double-sided rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to the first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in the middle lane, the acquisition frame rate of the double-sided rear cameras is adjusted to the second frame rate; the second frame rate is greater than the first frame rate. In the above manner, the acquisition frame rate of the double-sided rear cameras is dynamically adjusted according to the lane information in which the vehicle is currently located, so that the video output can be guaranteed while reducing power consumption, thereby saving the computing power resources of the visual algorithm. Among them, when the vehicle is in the edge lane, it means that the probability of being overtaken on one side of the vehicle is small, and the acquisition frame rate of the rear camera on that side is adjusted to a smaller first frame rate, thereby reducing the hardware burden; when the vehicle is in the middle lane, it means that the probability of being overtaken on both sides of the vehicle is large, and the acquisition frame rate of the rear cameras on both sides is adjusted to a larger second frame rate, thereby improving the accuracy of the visual algorithm and the safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 1 is a flow chart of a camera frame rate adjustment method in one embodiment;
[0047] Figure 2 is a flow chart of a camera frame rate adjustment method in another embodiment;
[0048] Figure 3 Schematic diagram of a flow chart of a camera frame rate adjustment method in another embodiment;
[0049] Figure 4 A schematic diagram of a specific process of adjusting the camera frame rate in one embodiment;
[0050] Figure 5 is a structural block diagram of a camera frame rate adjustment device in one embodiment;
[0051] Figure 6 FIG. 4 is a diagram showing the internal structure of a vehicle-mounted device in one embodiment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] In an exemplary embodiment, Figure 1 As shown, a camera frame rate adjustment method is provided, and the method is applied to a vehicle-mounted device as an example for explanation, including:
[0054] Step 102: During the operation of the dual rear cameras, the lane in which the vehicle is currently located is detected.
[0055] The dual side rear cameras refer to side rear view cameras installed on the left and right sides of the vehicle or the left and right sides of the tail for real-time capture of the rear view images on the left and right sides. When the vehicle is in a function that requires the intervention of the side rear view camera, the logic of the camera frame rate adjustment method provided in this application begins to take effect.
[0056] A visual algorithm is run on the vehicle-mounted device. The visual algorithm performs visual processing based on the video data collected by each camera on the vehicle and outputs the visual information required for the automatic driving function or the assisted driving function. In one implementation, the real-time image of the road ahead or on the side is pre-processed by denoising, grayscale ratio, Gaussian blur, etc. to enhance the visibility of the lane line, identify the lane line from the processed image, and determine the lane the vehicle is currently in based on the lane line. Optionally, the lane the vehicle is currently in is determined based on the navigation map information and positioning information.
[0057] It can be understood that the embodiments of the present application mainly adjust the acquisition frame rate of the dual side rear cameras. This is because compared with the front-view camera, etc., the function of using the dual side rear cameras is relatively single. Lowering the acquisition frame rate of the side rear view cameras is relatively safe and will not affect the normal driving of the vehicle.
[0058] Optionally, during the operation of the dual-side rear cameras, the lane in which the vehicle is currently located is detected once at regular intervals (for example, every 3 seconds), and subsequent steps are performed to achieve dynamic adjustment of the acquisition frame rate of the dual-side rear cameras.
[0059] Step 104: If the vehicle is in an edge lane, a camera to be adjusted is determined in the dual-side rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera.
[0060] Among them, if the vehicle is in the leftmost lane, the acquisition frame rate of the left rear camera is adjusted to the first frame rate; if the vehicle is in the rightmost lane, the acquisition frame rate of the right rear camera is adjusted to the first frame rate.
[0061] Optionally, when the vehicle changes lanes from the middle lane to the leftmost lane, the acquisition frame rate of the left rear camera is adjusted from the second frame rate to the first frame rate, and the acquisition frame rate of the right rear camera is maintained at the second frame rate. When the vehicle changes lanes from the middle lane to the rightmost lane, the acquisition frame rate of the right rear camera is adjusted from the second frame rate to the first frame rate, and the acquisition frame rate of the left rear camera is maintained at the second frame rate.
[0062] Step 106: If the vehicle is in the middle lane, adjust the acquisition frame rate of the two rear cameras to a second frame rate; the second frame rate is greater than the first frame rate.
[0063] Among them, when the vehicle changes lanes from the leftmost lane to the middle lane, the acquisition frame rate of the left rear camera is adjusted from the first frame rate to the second frame rate, and the acquisition frame rate of the right rear camera remains at the second frame rate. When the vehicle changes lanes from the rightmost lane to the middle lane, the acquisition frame rate of the right rear camera is adjusted from the first frame rate to the second frame rate, and the acquisition frame rate of the left rear camera remains at the second frame rate.
[0064] It can be understood that the second frame rate is the regular frame rate of the camera used for the active safety function of autonomous driving, such as 30Hz. If the vehicle is traveling in the edge lane, taking the leftmost lane as an example, there is no risk of overtaking or merging with vehicles coming from behind on the left side of the vehicle. The real-time demand for the visual input of the left side rear camera is reduced, and the acquisition frame rate of the left rear camera is reduced. This can save the computing power resources of the visual algorithm.
[0065] In the above camera frame rate adjustment method, during the operation of the double-sided rear cameras, the lane in which the vehicle is currently located is detected; if the vehicle is in the edge lane, the camera to be adjusted is determined in the double-sided rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to the first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in the middle lane, the acquisition frame rate of the double-sided rear cameras is adjusted to the second frame rate; the second frame rate is greater than the first frame rate. In the above manner, the acquisition frame rate of the double-sided rear cameras is dynamically adjusted according to the lane information in which the vehicle is currently located, so that the video output can be guaranteed while reducing power consumption, thereby saving the computing power resources of the visual algorithm. Among them, when the vehicle is in the edge lane, it means that the probability of being overtaken on one side of the vehicle is small, and the acquisition frame rate of the rear camera on that side is adjusted to a smaller first frame rate, thereby reducing the hardware burden; when the vehicle is in the middle lane, it means that the probability of being overtaken on both sides of the vehicle is large, and the acquisition frame rate of the rear cameras on both sides is adjusted to a larger second frame rate, thereby improving the accuracy of the visual algorithm and the safety of the vehicle.
[0066] In an exemplary embodiment, Figure 2 As shown, after step 102, the method further includes:
[0067] Step 202: If the vehicle is in the leftmost lane, detect whether there is a target object in a first range on the left side of the vehicle; the height of the target object is greater than or equal to the set height.
[0068] Among them, the first range is a range determined by a set distance with any point on the left side of the vehicle as the center, and the target object is the obstacles around the vehicle, including pedestrians, vehicles, walls, trees, etc. The set height is a pre-set obstacle height threshold for detecting whether the vehicle is in an open scene. If the height of the detected obstacle is greater than or equal to the set height, it indicates that the obstacle is a target object that meets the height requirements. If the height of the detected obstacle is less than the set height, it indicates that the obstacle is not a target object.
[0069] In a specific implementation, at least one obstacle on the left side of the vehicle is detected, the position of each obstacle relative to the vehicle and the height of each obstacle are determined, and obstacles whose positions are within the first range on the left side of the vehicle and whose heights are greater than or equal to the set height are taken as targets. If there is a target, it indicates that the vehicle is in a non-open scene; if there is no target, it indicates that the vehicle is in an open scene.
[0070] Step 204: If there is a target object within the first range on the left side of the vehicle, adjust the acquisition frame rate of the left rear camera to the first frame rate.
[0071] Among them, if there is a target object within the first range on the left side of the vehicle, it indicates that the vehicle is in a non-open scene and there is an obstruction on the left side of the vehicle. At this time, there is no risk of the left side of the vehicle being overtaken and merged by the rear vehicle, and the acquisition frame rate of the left rear camera is reduced to the first frame rate, thereby reducing the hardware burden.
[0072] Step 206: If there is no target object within the first range on the left side of the vehicle, adjust the acquisition frame rate of the left rear camera to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate.
[0073] Among them, if there is no target object within the first range on the left side of the vehicle, it indicates that the vehicle is in an open scene and there is no obstruction on the left side of the vehicle. At this time, there is a certain probability that the left side of the vehicle will be overtaken and merged by the rear vehicle, and the acquisition frame rate of the left rear camera is adjusted to the third frame rate. Compared with the method of using the second frame rate for a fixed camera, lowering the acquisition frame rate of the left rear camera to the third frame rate can reduce power consumption and reduce the hardware burden. Compared with the method of using the first frame rate for a fixed camera, increasing the acquisition frame rate of the left rear camera to the third frame rate can improve the video accuracy captured by the left rear camera, thereby improving the processing accuracy of the visual algorithm.
[0074] In this embodiment, the acquisition frame rate of the left rear camera is dynamically adjusted to reduce power consumption when high-frequency acquisition is not required. If there is a certain risk of overtaking, the acquisition frame rate of the left rear camera is adjusted to the third frame rate, which can balance the power consumption and performance of the left rear camera.
[0075] In an exemplary embodiment, Figure 3 As shown, after step 102, the method further includes:
[0076] Step 302: If the vehicle is in the rightmost lane, determine whether there is an emergency lane or a non-motorized vehicle lane in the current road section.
[0077] Optionally, it is determined whether there is an emergency lane or a non-motorized vehicle lane on the current road section based on the navigation map information and positioning information.
[0078] Step 304: If there is an emergency lane or a non-motorized vehicle lane on the current road section, the acquisition frame rate of the right rear camera is adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate.
[0079] Among them, if there is an emergency lane or non-motorized vehicle lane on the current road section, there is a certain probability that the right side of the vehicle will be overtaken and merged by the vehicle behind, and the acquisition frame rate of the right rear camera is adjusted to the third frame rate. Compared with the method of using the second frame rate for fixed cameras, lowering the acquisition frame rate of the right rear camera to the third frame rate can reduce power consumption and reduce the burden on hardware. Compared with the method of using the first frame rate for fixed cameras, increasing the acquisition frame rate of the right rear camera to the third frame rate can improve the accuracy of the video captured by the right rear camera, thereby improving the processing accuracy of the visual algorithm.
[0080] Step 306: If there is no emergency lane or non-motorized vehicle lane in the current road section, the acquisition frame rate of the right rear camera is adjusted to the first frame rate.
[0081] Among them, if there is no emergency lane or non-motorized vehicle lane in the current road section, it means that there is no risk of overtaking and merging with the rear vehicle on the right side of the vehicle, and the acquisition frame rate of the right rear camera is reduced to the first frame rate, thereby reducing the hardware burden.
[0082] In this embodiment, the acquisition frame rate of the right rear camera is dynamically adjusted to reduce power consumption when high-frequency acquisition is not required. If there is a certain risk of overtaking, the acquisition frame rate of the right rear camera is adjusted to the third frame rate, which can balance the power consumption and performance of the right rear camera.
[0083] In an exemplary embodiment, after step 302, the method further includes: if there is no emergency lane or non-motorized vehicle lane in the current road section, detecting whether there is a target object within a second range on the right side of the vehicle; the height of the target object is greater than or equal to a set height; if there is a target object within the second range on the right side of the vehicle, adjusting the acquisition frame rate of the right rear camera to the first frame rate; if there is no target object within the second range on the right side of the vehicle, adjusting the acquisition frame rate of the right rear camera to the third frame rate.
[0084] Among them, the second range is a range determined by a set distance with any point on the right side of the vehicle as the center, and the target object is the obstacles around the vehicle, including pedestrians, vehicles, walls, trees, etc. The set height is a pre-set obstacle height threshold for detecting whether the vehicle is in an open scene. If the height of the detected obstacle is greater than or equal to the set height, it indicates that the obstacle is a target object that meets the height requirements. If the height of the detected obstacle is less than the set height, it indicates that the obstacle is not a target object.
[0085] In a specific implementation, at least one obstacle located on the right side of the vehicle is detected, the position of each obstacle relative to the vehicle and the height of each obstacle are determined, and obstacles located within the second range on the right side of the vehicle and with a height greater than or equal to the set height are taken as targets. If there is a target, it indicates that the vehicle is in a non-open scene; if there is no target, it indicates that the vehicle is in an open scene.
[0086] If there is a target object within the second range on the right side of the vehicle, it indicates that the vehicle is in a non-open scene and there is an obstruction on the right side of the vehicle. At this time, there is no risk of the right side of the vehicle being overtaken by the rear vehicle, so the acquisition frame rate of the right rear camera is reduced to the first frame rate. When high-frequency acquisition is not required, power consumption is reduced, thereby reducing the hardware burden.
[0087] If there is no target object within the second range on the right side of the vehicle, it indicates that the vehicle is in an open scene and there is no obstruction on the right side of the vehicle. At this time, there is a certain probability that the right side of the vehicle will be overtaken and merged by the rear vehicle. Adjusting the acquisition frame rate of the right rear camera to the third frame rate can balance the power consumption and performance of the right rear camera.
[0088] In an exemplary embodiment, after step 102, the method further includes: if the vehicle is in an edge lane, determining the camera to be adjusted in the dual rear cameras based on the edge lane, and determining whether the current road section is an accident-prone section; if the current road section is an accident-prone section, adjusting the acquisition frame rate of the camera to be adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; if the current road section is not an accident-prone section, adjusting the acquisition frame rate of the camera to be adjusted to the first frame rate.
[0089] Among them, the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted based on the leftmost lane is the left rear camera, and the camera to be adjusted based on the rightmost lane is the right rear camera.
[0090] According to the navigation map information and positioning information, determine whether the current road section is an accident-prone section. If the current road section is an accident-prone section, it means that there is a certain probability that the vehicle is overtaken and merged by the rear vehicle on the road side where the vehicle is located. Adjust the acquisition frame rate of the camera to be adjusted to the third frame rate, which can balance the power consumption and performance of the right rear camera.
[0091] If the current road section is not an accident-prone section, indicating that the vehicle is not at risk of being overtaken and merged by vehicles coming from behind, the acquisition frame rate of the camera to be adjusted is reduced to the first frame rate, and power consumption is reduced when high-frequency acquisition is not required, thereby reducing the hardware burden.
[0092] In an exemplary embodiment, the method also includes: performing visual detection based on the video data collected by the target camera to determine the initial detection result of each frame of video data; the target camera is at least one of the left rear camera and the right rear camera; if the acquisition frame rate of the target camera is not the second frame rate, then determining at least one missing frame identifier of the video data, and using the initial detection result of the target frame video data as the detection result corresponding to the missing frame identifier to obtain the target detection result; the target frame video data is the previous frame of video data corresponding to the missing frame identifier.
[0093] The second frame rate is the highest acquisition frame rate of the left rear camera and the right rear camera. If the acquisition frame rate of the target camera is not the second frame rate, the visual algorithm can directly use the perception result of the previous frame for the missing frame video data, thereby saving computing power.
[0094] In an exemplary embodiment, referring to Figure 4 , Figure 4 The figure is a specific flow diagram of adjusting the camera frame rate in one embodiment; wherein, if the vehicle is in the middle lane, the acquisition frame rate of the two side rear cameras is adjusted to the second frame rate. If the vehicle is in the edge lane, it is further determined whether the current road section is an accident-prone section. If the vehicle is in the leftmost lane and the current road section is an accident-prone section, the acquisition frame rate of the left rear camera is adjusted to the third frame rate; if the vehicle is in the rightmost lane and the current road section is an accident-prone section, the acquisition frame rate of the right rear camera is adjusted to the third frame rate.
[0095] If the vehicle is in the leftmost lane and the current road section is not an accident-prone section, further detect whether there is a target object in the first range on the left side of the vehicle. If so, adjust the acquisition frame rate of the left rear camera to the first frame rate; if not, adjust the acquisition frame rate of the left rear camera to the third frame rate.
[0096] If the vehicle is in the rightmost lane and the current road section is not an accident-prone section, it is further determined whether there is an emergency lane or a non-motorized vehicle lane in the current road section. If so, the acquisition frame rate of the right rear camera is adjusted to the third frame rate. If not, it is further detected whether there is a target object within the second range on the right side of the vehicle. If there is, the acquisition frame rate of the right rear camera is adjusted to the first frame rate; if not, the acquisition frame rate of the right rear camera is adjusted to the third frame rate.
[0097] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0098] Based on the same inventive concept, the embodiment of the present application also provides a camera frame rate adjustment device for implementing the camera frame rate adjustment method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more camera frame rate adjustment device embodiments provided below can refer to the limitations of the camera frame rate adjustment method above, and will not be repeated here.
[0099] In an exemplary embodiment, Figure 5 As shown, a camera frame rate adjustment device is provided, comprising:
[0100] The detection module 502 is used to detect the lane in which the vehicle is currently located during the operation of the dual rear cameras.
[0101] The adjustment module 504 is used to determine the camera to be adjusted in the double-side rear cameras based on the edge lane if the vehicle is in an edge lane, and adjust the acquisition frame rate of the camera to be adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in the middle lane, adjust the acquisition frame rate of the double-side rear cameras to a second frame rate; the second frame rate is greater than the first frame rate.
[0102] In the above camera frame rate adjustment device, during the operation of the double-sided rear cameras, the lane in which the vehicle is currently located is detected; if the vehicle is in the edge lane, the camera to be adjusted is determined in the double-sided rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to the first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in the middle lane, the acquisition frame rate of the double-sided rear cameras is adjusted to the second frame rate; the second frame rate is greater than the first frame rate. In the above manner, the acquisition frame rate of the double-sided rear cameras is dynamically adjusted according to the lane information in which the vehicle is currently located, so that the video output can be guaranteed while reducing power consumption, thereby saving the computing power resources of the visual algorithm. Among them, when the vehicle is in the edge lane, it means that the probability of being overtaken on one side of the vehicle is small, and the acquisition frame rate of the rear camera on that side is adjusted to a smaller first frame rate, thereby reducing the hardware burden; when the vehicle is in the middle lane, it means that the probability of being overtaken on both sides of the vehicle is large, and the acquisition frame rate of the rear cameras on both sides is adjusted to a larger second frame rate, thereby improving the accuracy of the visual algorithm and the safety of the vehicle.
[0103] In an exemplary embodiment, the detection module 502 is further configured to detect whether there is a target object within a first range on the left side of the vehicle if the vehicle is in the leftmost lane; the height of the target object is greater than or equal to the set height;
[0104] The adjustment module 504 is also used to adjust the acquisition frame rate of the left rear camera to the first frame rate if there is a target object within the first range on the left side of the vehicle; if there is no target object within the first range on the left side of the vehicle, adjust the acquisition frame rate of the left rear camera to the third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate.
[0105] In an exemplary embodiment, the detection module 502 is further configured to determine whether there is an emergency lane or a non-motorized vehicle lane in the current road section if the vehicle is in the rightmost lane;
[0106] The adjustment module 504 is also used to adjust the acquisition frame rate of the right rear camera to the third frame rate if there is an emergency lane or non-motorized vehicle lane in the current road section; the third frame rate is greater than the first frame rate and less than the second frame rate; if there is no emergency lane or non-motorized vehicle lane in the current road section, the acquisition frame rate of the right rear camera is adjusted to the first frame rate.
[0107] In an exemplary embodiment, the detection module 502 is further configured to detect whether there is a target object within a second range on the right side of the vehicle if there is no emergency lane or non-motorized vehicle lane on the current road section; the height of the target object is greater than or equal to the set height;
[0108] The adjustment module 504 is also used to adjust the acquisition frame rate of the right rear camera to the first frame rate if there is a target object within the second range on the right side of the vehicle; if there is no target object within the second range on the right side of the vehicle, adjust the acquisition frame rate of the right rear camera to the third frame rate.
[0109] In an exemplary embodiment, the detection module 502 is further configured to determine the camera to be adjusted in the dual rear cameras based on the edge lane if the vehicle is in the edge lane, and determine whether the current road section is an accident-prone road section;
[0110] The adjustment module 504 is also used to adjust the acquisition frame rate of the camera to be adjusted to the third frame rate if the current road section is an accident-prone section; the third frame rate is greater than the first frame rate and less than the second frame rate; if the current road section is not an accident-prone section, adjust the acquisition frame rate of the camera to be adjusted to the first frame rate.
[0111] In an exemplary embodiment, the camera frame rate adjustment device further includes a visual detection module;
[0112] A visual detection module is used to perform visual detection based on video data collected by a target camera to determine an initial detection result for each frame of video data; the target camera is at least one of a left rear camera and a right rear camera; if the acquisition frame rate of the target camera is not the second frame rate, at least one missing frame identifier of the video data is determined, and the initial detection result of the target frame video data is used as the detection result corresponding to the missing frame identifier to obtain a target detection result; the target frame video data is the previous frame of video data corresponding to the missing frame identifier.
[0113] Each module in the above-mentioned camera frame rate adjustment device can be implemented in whole or in part by software, hardware and a combination thereof. Each of the above-mentioned modules can be embedded in or independent of the processor in the vehicle-mounted device in the form of hardware, or can be stored in the memory in the vehicle-mounted device in the form of software, so that the processor can call and execute the corresponding operations of each of the above modules.
[0114] In an exemplary embodiment, a vehicle-mounted device is provided. The vehicle-mounted device may be a server, and its internal structure diagram may be as follows: Figure 6As shown. The vehicle-mounted device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the vehicle-mounted device is used to provide computing and control capabilities. The memory of the vehicle-mounted device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the vehicle-mounted device is used to exchange information between the processor and an external device. The communication interface of the vehicle-mounted device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a camera frame rate adjustment method is implemented.
[0115] Those skilled in the art will understand that Figure 6 The structure shown in the figure is merely a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the vehicle-mounted equipment to which the scheme of the present application is applied. The specific vehicle-mounted equipment may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0116] In an exemplary embodiment, a vehicle-mounted device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program: during the operation of the dual-side rear cameras, the lane in which the vehicle is currently located is detected; if the vehicle is in an edge lane, a camera to be adjusted is determined in the dual-side rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in the middle lane, the acquisition frame rate of the dual-side rear cameras is adjusted to a second frame rate; the second frame rate is greater than the first frame rate.
[0117] In one embodiment, the processor also implements the following steps when executing the computer program: if the vehicle is in the leftmost lane, detect whether there is a target object within the first range on the left side of the vehicle; the height of the target object is greater than or equal to the set height; if there is a target object within the first range on the left side of the vehicle, adjust the acquisition frame rate of the left rear camera to the first frame rate; if there is no target object within the first range on the left side of the vehicle, adjust the acquisition frame rate of the left rear camera to the third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate.
[0118] In one embodiment, the processor also implements the following steps when executing the computer program: if the vehicle is in the rightmost lane, determine whether there is an emergency lane or a non-motorized vehicle lane in the current road section; if there is an emergency lane or a non-motorized vehicle lane in the current road section, adjust the acquisition frame rate of the right rear camera to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; if there is no emergency lane or non-motorized vehicle lane in the current road section, adjust the acquisition frame rate of the right rear camera to the first frame rate.
[0119] In one embodiment, the processor also implements the following steps when executing the computer program: if there is no emergency lane or non-motorized vehicle lane in the current road section, detect whether there is a target object within the second range on the right side of the vehicle; the height of the target object is greater than or equal to the set height; if there is a target object within the second range on the right side of the vehicle, adjust the acquisition frame rate of the right rear camera to the first frame rate; if there is no target object within the second range on the right side of the vehicle, adjust the acquisition frame rate of the right rear camera to the third frame rate.
[0120] In one embodiment, the processor also implements the following steps when executing the computer program: if the vehicle is in an edge lane, determine the camera to be adjusted in the dual rear cameras based on the edge lane, and determine whether the current road section is an accident-prone section; if the current road section is an accident-prone section, adjust the acquisition frame rate of the camera to be adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; if the current road section is not an accident-prone section, adjust the acquisition frame rate of the camera to be adjusted to the first frame rate.
[0121] In one embodiment, the processor also implements the following steps when executing the computer program: performing visual detection based on the video data collected by the target camera to determine the initial detection result of each frame of video data; the target camera is at least one of the left rear camera and the right rear camera; if the acquisition frame rate of the target camera is not the second frame rate, then determining at least one missing frame identifier of the video data, and using the initial detection result of the target frame video data as the detection result corresponding to the missing frame identifier to obtain the target detection result; the target frame video data is the previous frame of video data corresponding to the missing frame identifier.
[0122] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: during the operation of the dual-side rear cameras, the lane in which the vehicle is currently located is detected; if the vehicle is in an edge lane, a camera to be adjusted is determined in the dual-side rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in the middle lane, the acquisition frame rate of the dual-side rear cameras is adjusted to a second frame rate; the second frame rate is greater than the first frame rate.
[0123] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the vehicle is in the leftmost lane, it is detected whether there is a target object within the first range on the left side of the vehicle; the height of the target object is greater than or equal to the set height; if there is a target object within the first range on the left side of the vehicle, the acquisition frame rate of the left rear camera is adjusted to the first frame rate; if there is no target object within the first range on the left side of the vehicle, the acquisition frame rate of the left rear camera is adjusted to the third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate.
[0124] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the vehicle is in the rightmost lane, determine whether there is an emergency lane or a non-motorized vehicle lane in the current road section; if there is an emergency lane or a non-motorized vehicle lane in the current road section, adjust the acquisition frame rate of the right rear camera to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; if there is no emergency lane or non-motorized vehicle lane in the current road section, adjust the acquisition frame rate of the right rear camera to the first frame rate.
[0125] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if there is no emergency lane or non-motorized vehicle lane in the current road section, it is detected whether there is a target object within the second range on the right side of the vehicle; the height of the target object is greater than or equal to the set height; if there is a target object within the second range on the right side of the vehicle, the acquisition frame rate of the right rear camera is adjusted to the first frame rate; if there is no target object within the second range on the right side of the vehicle, the acquisition frame rate of the right rear camera is adjusted to the third frame rate.
[0126] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the vehicle is in an edge lane, the camera to be adjusted is determined in the dual rear cameras based on the edge lane, and it is determined whether the current road section is an accident-prone section; if the current road section is an accident-prone section, the acquisition frame rate of the camera to be adjusted is adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; if the current road section is not an accident-prone section, the acquisition frame rate of the camera to be adjusted is adjusted to the first frame rate.
[0127] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: visual detection is performed based on the video data collected by the target camera to determine the initial detection result of each frame of video data; the target camera is at least one of the left rear camera and the right rear camera; if the acquisition frame rate of the target camera is not the second frame rate, at least one missing frame identifier of the video data is determined, and the initial detection result of the target frame video data is used as the detection result corresponding to the missing frame identifier to obtain the target detection result; the target frame video data is the previous frame of video data corresponding to the missing frame identifier.
[0128] In one embodiment, a computer program product is provided, including a computer program, which implements the following steps when executed by a processor: during the operation of the dual-side rear cameras, detecting the lane in which the vehicle is currently located; if the vehicle is in an edge lane, determining a camera to be adjusted in the dual-side rear cameras based on the edge lane, and adjusting the acquisition frame rate of the camera to be adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in the middle lane, adjusting the acquisition frame rate of the dual-side rear cameras to a second frame rate; the second frame rate is greater than the first frame rate.
[0129] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the vehicle is in the leftmost lane, it is detected whether there is a target object within the first range on the left side of the vehicle; the height of the target object is greater than or equal to the set height; if there is a target object within the first range on the left side of the vehicle, the acquisition frame rate of the left rear camera is adjusted to the first frame rate; if there is no target object within the first range on the left side of the vehicle, the acquisition frame rate of the left rear camera is adjusted to the third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate.
[0130] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the vehicle is in the rightmost lane, determine whether there is an emergency lane or a non-motorized vehicle lane in the current road section; if there is an emergency lane or a non-motorized vehicle lane in the current road section, adjust the acquisition frame rate of the right rear camera to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; if there is no emergency lane or non-motorized vehicle lane in the current road section, adjust the acquisition frame rate of the right rear camera to the first frame rate.
[0131] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if there is no emergency lane or non-motorized vehicle lane in the current road section, it is detected whether there is a target object within the second range on the right side of the vehicle; the height of the target object is greater than or equal to the set height; if there is a target object within the second range on the right side of the vehicle, the acquisition frame rate of the right rear camera is adjusted to the first frame rate; if there is no target object within the second range on the right side of the vehicle, the acquisition frame rate of the right rear camera is adjusted to the third frame rate.
[0132] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: if the vehicle is in an edge lane, the camera to be adjusted is determined in the dual rear cameras based on the edge lane, and it is determined whether the current road section is an accident-prone section; if the current road section is an accident-prone section, the acquisition frame rate of the camera to be adjusted is adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; if the current road section is not an accident-prone section, the acquisition frame rate of the camera to be adjusted is adjusted to the first frame rate.
[0133] In one embodiment, when the computer program is executed by the processor, the following steps are also implemented: visual detection is performed based on the video data collected by the target camera to determine the initial detection result of each frame of video data; the target camera is at least one of the left rear camera and the right rear camera; if the acquisition frame rate of the target camera is not the second frame rate, at least one missing frame identifier of the video data is determined, and the initial detection result of the target frame video data is used as the detection result corresponding to the missing frame identifier to obtain the target detection result; the target frame video data is the previous frame of video data corresponding to the missing frame identifier.
[0134] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0135] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0136] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0137] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A camera frame rate adjustment method, It is characterized in that The method comprises: When the dual rear cameras are in operation, the lane the vehicle is currently in is detected; If the vehicle is in an edge lane, a camera to be adjusted is determined in the dual-side rear cameras based on the edge lane, and the acquisition frame rate of the camera to be adjusted is adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; If the vehicle is in the middle lane, the acquisition frame rate of the bilateral rear cameras is adjusted to a second frame rate; the second frame rate is greater than the first frame rate.
2. The method according to claim 1, It is characterized in that After detecting the lane in which the vehicle is currently located, the method further includes: If the vehicle is in the leftmost lane, detect whether there is a target object in the first range on the left side of the vehicle; the height of the target object is greater than or equal to the set height; If there is a target object within the first range on the left side of the vehicle, adjusting the acquisition frame rate of the left rear camera to the first frame rate; If there is no target object within the first range on the left side of the vehicle, the acquisition frame rate of the left rear camera is adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate.
3. The method according to claim 1, It is characterized in that After detecting the lane in which the vehicle is currently located, the method further includes: If the vehicle is in the rightmost lane, determine whether there is an emergency lane or non-motorized vehicle lane on the current road section; If there is an emergency lane or a non-motorized vehicle lane on the current road section, adjusting the acquisition frame rate of the right rear camera to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; If there is no emergency lane or non-motorized vehicle lane in the current road section, the acquisition frame rate of the right rear camera is adjusted to the first frame rate.
4. The method according to claim 3, It is characterized in that After determining whether there is an emergency lane or a non-motorized vehicle lane in the current road section, the method further includes: If there is no emergency lane or non-motorized vehicle lane on the current road section, then detect whether there is a target object within the second range on the right side of the vehicle; the height of the target object is greater than or equal to the set height; If there is a target object within the second range on the right side of the vehicle, adjusting the acquisition frame rate of the right rear camera to the first frame rate; If there is no target object within the second range on the right side of the vehicle, the acquisition frame rate of the right rear camera is adjusted to the third frame rate.
5. The method according to claim 1, It is characterized in that After detecting the lane in which the vehicle is currently located, the method further includes: If the vehicle is in an edge lane, determine a camera to be adjusted in the dual rear cameras based on the edge lane, and determine whether the current road section is an accident-prone section; If the current road section is an accident-prone road section, adjusting the acquisition frame rate of the camera to be adjusted to a third frame rate; the third frame rate is greater than the first frame rate and less than the second frame rate; If the current road section is not an accident-prone section, the acquisition frame rate of the camera to be adjusted is adjusted to the first frame rate.
6. The method according to any one of claims 1 to 5, It is characterized in that The method further comprises: Perform visual inspection based on the video data collected by the target camera to determine the initial inspection result of each frame of video data; the target camera is at least one of the left rear camera and the right rear camera; If the acquisition frame rate of the target camera is not the second frame rate, at least one missing frame identifier of the video data is determined, and the initial detection result of the target frame video data is used as the detection result corresponding to the missing frame identifier to obtain the target detection result; the target frame video data is the previous frame video data corresponding to the missing frame identifier.
7. A camera frame rate adjustment device, It is characterized in that The device comprises: A detection module is used to detect the lane the vehicle is currently in when the dual rear cameras are in operation; The adjustment module is used to determine a camera to be adjusted in the double-sided rear cameras based on the edge lane if the vehicle is in an edge lane, and adjust the acquisition frame rate of the camera to be adjusted to a first frame rate; wherein the edge lane is the leftmost lane or the rightmost lane, the camera to be adjusted determined based on the leftmost lane is the left rear camera, and the camera to be adjusted determined based on the rightmost lane is the right rear camera; if the vehicle is in a middle lane, adjust the acquisition frame rate of the double-sided rear cameras to a second frame rate; the second frame rate is greater than the first frame rate.
8. A vehicle-mounted device, comprising a memory and a processor, wherein the memory stores a computer program, It is characterized in that When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
