Image display control method, device, equipment and readable storage medium
By using two preset frame rates in the image display system, the main image is determined and the main image is displayed first, which solves the problem of diagnosis and storage affecting the image delay during the image display process, reducing the risk of driver misjudgment.
Patent Information
- Application Number
- CN202210604743.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-30
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2042-05-30
AI Technical Summary
During the image display process, diagnosis and storage of each frame of images will affect the duration of the image from the camera to the display, resulting in delayed display of the image, thereby increasing the probability of the driver's misjudgment.
Two preset frame rates are used to obtain the images collected by the camera, and the corresponding frame is detected for each preset frame number. The main image is determined before being displayed to the monitor. Another image is used for further storage and Test.
By reducing the frequency of image detection and storage, the time the image is shortened from the camera to the monitor, the probability of driver misjudgment is reduced, and the problem of image delay display is solved.
Smart Images

Figure CN115022589B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of image display technology, and in particular to an image display control method, device, equipment and readable storage medium. Background Art
[0002] Digital exterior rearview mirrors mainly use cameras and monitors to replace traditional mechanical exterior rearview mirrors. Due to the characteristics of electronic products, it is generally difficult for drivers to determine when the displayed image fails. The electronic exterior rearview mirror system needs to be able to identify the failure in real time and remind the driver. However, if each frame of the image is diagnosed and stored during the image display process, it will affect the time it takes for the image to be displayed from the camera to the display, resulting in delayed image display, thereby increasing the probability of driver misjudgment. Summary of the invention
[0003] The main purpose of the present invention is to provide an image display control method, device, equipment and readable storage medium, aiming to solve the problem that diagnosing and storing images during the image display process will affect the time it takes for the image to be displayed from the camera, resulting in delayed image display, thereby increasing the probability of driver misjudgment.
[0004] In a first aspect, the present invention provides an image display control method, the image display control method comprising:
[0005] Acquire an image captured by the camera as a first image at a first preset frame rate, and detect a corresponding frame of the first image at intervals of a preset number of frames to obtain a first detection result;
[0006] Acquire an image captured by the camera as a second image at a second preset frame rate, and detect a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result, wherein the first preset frame rate is greater than the second preset frame rate;
[0007] Based on the first detection result and the second detection result, a main image is determined from the first image and the second image, and the main image is displayed on the monitor.
[0008] Optionally, the step of detecting a corresponding frame of the first image at intervals of a preset number of frames to obtain a first detection result includes:
[0009] Detecting whether the image format and image size of a first image corresponding to each preset number of frames are the same as the preset image format and preset image size;
[0010] If they are the same, the first detection result is that the first image detection passes;
[0011] If they are not the same, the first detection result is that the first image detection fails;
[0012] The step of detecting a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result comprises:
[0013] Detecting whether the image format and image size of a second image corresponding to each preset number of frames are the same as the preset image format and preset image size;
[0014] If they are the same, the second detection result is that the second image detection passes;
[0015] If they are not the same, the second detection result is that the second image detection fails.
[0016] Optionally, the step of determining the main image from the first image and the second image based on the first detection result and the second detection result includes:
[0017] If the first detection result is that the first image detection passes, and the second detection result is that the second image detection passes, then the first image is determined to be the main image.
[0018] Optionally, the step of determining the main image from the first image and the second image based on the first detection result and the second detection result includes:
[0019] If the first detection result is that the first image detection passes, and the second detection result is that the second image detection fails, then determining the first image as the main image;
[0020] If the first detection result is that the first image detection fails, and the second detection result is that the second image detection passes, the second image is determined to be the main image.
[0021] Optionally, the image display control method further includes:
[0022] If the first detection result is that the first image detection fails, and the second detection result is that the second image detection fails, a first alarm prompt is generated.
[0023] Optionally, after the step of detecting each frame of the second image to obtain a second detection result, the method further includes:
[0024] If the second detection result is that the second image detection passes, detecting whether the second image has a fault;
[0025] If it exists, a second alarm prompt will be generated.
[0026] In a second aspect, the present invention further provides an image display control device, the image display control device comprising:
[0027] A first detection module, used for acquiring an image collected by a camera as a first image at a first preset frame rate, detecting a corresponding frame of the first image at intervals of a preset number of frames, and obtaining a first detection result;
[0028] A second detection module is used to obtain an image collected by the camera as a second image at a second preset frame rate, and detect a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result, wherein the first preset frame rate is greater than the second preset frame rate;
[0029] The determination module is used to determine a main image from the first image and the second image based on the first detection result and the second detection result, and display the main image on the monitor.
[0030] Optionally, the determining module is used to:
[0031] If the first detection result is that the first image detection passes, and the second detection result is that the second image detection fails, then determining the first image as the main image;
[0032] If the first detection result is that the first image detection fails, and the second detection result is that the second image detection passes, the second image is determined to be the main image.
[0033] In a third aspect, the present invention also provides an image display control device, comprising a processor, a memory, and an image display control program stored in the memory and executable by the processor, wherein when the image display control program is executed by the processor, the steps of the image display control method as described above are implemented.
[0034] In a fourth aspect, the present invention further provides a readable storage medium, on which an image display control program is stored, wherein when the image display control program is executed by a processor, the steps of the image display control method as described above are implemented.
[0035] In the present invention, the image collected by the camera is obtained as the first image according to the first preset frame rate, and the corresponding frame of the first image is detected at each preset frame interval to obtain a first detection result; the image collected by the camera is obtained as the second image according to the second preset frame rate, and the corresponding frame of the second image is detected at each preset frame interval to obtain a second detection result, wherein the first preset frame rate is greater than the second preset frame rate; based on the first detection result and the second detection result, the main image is determined from the first image and the second image, and the main image is displayed on the monitor. Through the present invention, after obtaining the first image and the second image, the format and size of the corresponding frame of the first image and the second image are detected once at each preset frame interval, and after the main image is determined based on the detection result, the main image is displayed on the monitor, and another image is used for further storage and detection, which greatly shortens the time from the camera to the monitor, reduces the probability of driver misjudgment, and solves the problem that diagnosing and storing each frame of the image during the image display process will affect the time from the camera to the display, resulting in delayed display of the image, thereby increasing the probability of driver misjudgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments 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 drawings can be obtained based on these drawings without creative work.
[0037] Figure 1 A schematic diagram of the hardware structure of an image display control device involved in an embodiment of the present invention;
[0038] Figure 2 It is a flowchart of a first embodiment of an image display control method of the present invention;
[0039] Figure 3 It is a flowchart of a second embodiment of the image display control method of the present invention;
[0040] Figure 4 A schematic diagram of a flow chart of a third embodiment of an image display control method of the present invention;
[0041] Figure 5 It is a schematic diagram of functional modules of an embodiment of an image display control device of the present invention. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0043] In a first aspect, an embodiment of the present invention provides an image display control device.
[0044] Reference Figure 1 , Figure 1 Schematic diagram of the hardware structure of the image display control device involved in the embodiment of the present invention. In the embodiment of the present invention, the image display control device may include a processor 1001 (e.g., a central processing unit, CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components; the user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard); the network interface 1004 may optionally include a standard wired interface, a wireless interface (such as wireless fidelity WIreless-FIdelity, WI-FI interface); the memory 1005 may be a high-speed random access memory (random access memory, RAM), or a stable memory (non-volatile memory), such as a disk storage, and the memory 1005 may optionally be a storage device independent of the aforementioned processor 1001. Those skilled in the art will understand that Figure 1 The hardware structure shown in the figure does not constitute a limitation of the present invention, and may include more or less components than those shown in the figure, or combine certain components, or arrange the components differently.
[0045] Continue to refer to Figure 1 , Figure 1 The memory 1005 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an image display control program. The processor 1001 may call the image display control program stored in the memory 1005 and execute the image display control method provided in the embodiment of the present invention.
[0046] In a second aspect, an embodiment of the present invention provides an image display control method.
[0047] In one embodiment, referring to Figure 2 , Figure 2 FIG. 1 is a flow chart of the first embodiment of the image display control method of the present invention. Figure 2 As shown, the image display control method includes:
[0048] Step S10, acquiring an image captured by the camera as a first image at a first preset frame rate, and detecting a corresponding frame of the first image at intervals of a preset number of frames to obtain a first detection result;
[0049] In this embodiment, after the camera captures an image, the image captured by the camera is obtained as the first image according to the first preset frame rate, and the corresponding frame of the first image is detected every preset frame number to obtain a first detection result. Specifically, taking the first preset frame rate as 60fps and the preset frame number as 15 frames as an example, the image captured by the camera is obtained as the first image at a speed of 60 frames per second, and the corresponding frame of the first image is detected every 15 frames, that is, after the first image of the first frame is detected, the first detection result of the first image of the first frame is obtained, and the first image of the 16th frame is detected again after an interval of 15 frames to obtain the first detection result of the first image of the 16th frame. It is easy to imagine that the parameters in this embodiment are for reference only and are not limited here.
[0050] Step S20, acquiring an image captured by the camera as a second image at a second preset frame rate, detecting a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result, wherein the first preset frame rate is greater than the second preset frame rate;
[0051] In this embodiment, after the camera captures an image, the image captured by the camera is obtained as the second image according to the second preset frame rate, and each frame of the second image is detected to obtain a second detection result. The first preset frame rate is greater than the second preset frame rate. Specifically, taking the second preset frame rate as 30fps and the preset number of frames as 15 frames as an example, the image captured by the camera is obtained as the second image at a speed of 30 frames per second, and the corresponding frame of the second image is detected every 15 frames, that is, after the first frame of the second image is detected, the second detection result of the first frame of the second image is obtained, and the second image of the 16th frame is detected again after an interval of 15 frames to obtain the second detection result of the 16th frame of the second image.
[0052] Step S30: determining a main image from the first image and the second image based on the first detection result and the second detection result, and displaying the main image on a monitor.
[0053] In this embodiment, based on the first detection result and the second detection result, a main image is determined from the first image and the second image, and the main image is displayed on the monitor.
[0054] In this embodiment, the image collected by the camera is obtained as the first image according to the first preset frame rate, and the corresponding frame of the first image is detected at each preset frame interval to obtain a first detection result; the image collected by the camera is obtained as the second image according to the second preset frame rate, and the corresponding frame of the second image is detected at each preset frame interval to obtain a second detection result, wherein the first preset frame rate is greater than the second preset frame rate; based on the first detection result and the second detection result, the main image is determined from the first image and the second image, and the main image is displayed on the monitor. Through this embodiment, after the first image and the second image are obtained, the format and size of the corresponding frame of the first image and the second image are detected once at each preset frame interval, and after the main image is determined based on the detection result, the main image is displayed on the monitor, and another image is used for further storage and detection, which greatly shortens the time from the camera to the monitor, reduces the probability of driver misjudgment, and solves the problem that the diagnosis and storage of each frame of the image during the image display process will affect the time from the camera to the display, resulting in delayed image display, thereby increasing the probability of driver misjudgment.
[0055] Furthermore, in one embodiment, the step of detecting a corresponding frame of the first image at each preset frame interval to obtain the first detection result includes:
[0056] Detecting whether the image format and image size of a first image corresponding to each preset number of frames are the same as the preset image format and preset image size;
[0057] If they are the same, the first detection result is that the first image detection passes;
[0058] If they are not the same, the first detection result is that the first image detection fails;
[0059] The step of detecting a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result comprises:
[0060] Detecting whether the image format and image size of a second image corresponding to each preset number of frames are the same as the preset image format and preset image size;
[0061] If they are the same, the second detection result is that the second image detection passes;
[0062] If they are not the same, the second detection result is that the second image detection fails.
[0063] In the present embodiment, it is detected whether the image format and image size of a first image frame corresponding to each preset number of frames are the same as the preset image format and preset image size. Compared with detecting each first image frame, the detection time is greatly reduced due to the reduction in the number of detections, and only the format and size of the first image are detected. Compared with other detections (such as image feature extraction), the operation is simple, which can greatly improve the detection efficiency and further shorten the detection time.
[0064] If the image format and image size of a first image corresponding to each preset number of frames are the same as the preset image format and the preset image size, the first detection result is that the first image detection passed. Specifically, if the image format and image size of the first image of the first frame are the same as the preset image format and the preset image size, the first detection result of the first image of the first frame is that the first image detection passed. If the preset number of frames is 15 frames, then after an interval of 15 frames, if the image format and image size of the first image of the 16th frame are the same as the preset image format and the preset image size, the first detection result of the first image of the 16th frame is that the first image detection passed.
[0065] If the image format and image size of a first image corresponding to each preset number of frames are different from the preset image format and preset image size, the first detection result is that the first image detection fails. Specifically, if the image format and image size of the first image of the first frame are different from the preset image format and preset image size, the first detection result of the first image of the first frame is that the first image detection fails. If the preset number of frames is 15 frames, then after an interval of 15 frames, if the image format and image size of the first image of the 16th frame are different from the preset image format and preset image size, the first detection result of the first image of the 16th frame is that the first image detection fails.
[0066] Whether the image format and image size of a second image corresponding to each preset number of frames are the same as the preset image format and preset image size is detected. Compared with detecting each second image frame, the detection time is greatly reduced due to the reduction in the number of detections, and only the format and size of the second image are detected. Compared with other detections (such as image feature extraction), the operation is simple, which can greatly improve the detection efficiency and further shorten the detection time.
[0067] If the image format and image size of a second image corresponding to each preset number of frames are the same as the preset image format and preset image size, the second detection result is that the second image detection is passed.
[0068] If the image format and image size of a second image corresponding to each preset number of frames are different from the preset image format and preset image size, the second detection result is that the second image detection fails. It is easy to imagine that in this embodiment, it is respectively detected whether the image format of the first image and the image format of the second image are the same as the preset image format, and it is respectively detected whether the image size of the first image and the image size of the second image are the same as the preset image size.
[0069] Further, in one embodiment, referring to Figure 3 , Figure 3 FIG. 2 is a flow chart of the second embodiment of the image display control method of the present invention. Figure 3 As shown, the step of determining the main image from the first image and the second image based on the first detection result and the second detection result includes:
[0070] S300: If the first detection result is that the first image detection is passed, and the second detection result is that the second image detection is passed, the first image is determined to be the main image.
[0071] In this embodiment, if the first detection result is that the first image detection passed and the second detection result is that the second image detection passed, it means that the image format and image size of the first image are the same as the preset image format and preset image size, and the image format and image size of the second image are the same as the preset image format and preset image size. At this time, the first image is determined as the main image, and the second image is used for further storage and detection.
[0072] Further, in one embodiment, continue to refer to Figure 3 The step of determining the main image from the first image and the second image based on the first detection result and the second detection result comprises:
[0073] Step S301, if the first detection result is that the first image detection passes, and the second detection result is that the second image detection fails, then determining the first image as the main image;
[0074] Step S302: If the first detection result is that the first image detection fails, and the second detection result is that the second image detection passes, then the second image is determined to be the main image.
[0075] In this embodiment, if the first detection result is that the first image detection passes and the second detection result is that the second image detection fails, it means that the image format and image size of the first image are the same as the preset image format and preset image size, and the image format and / or image size of the second image are different from the preset image format and / or preset image size. In this case, the first image is determined to be the main image, and the first image is copied, one is displayed on the monitor as the main image, and the other first image is used for further storage and detection.
[0076] Further, after step S300 or step S301 or step S302, step S303 is executed to display the main image on the monitor.
[0077] Further, in one embodiment, continue to refer to Figure 3 , the image display control method further includes:
[0078] Step S40: If the first detection result is that the first image detection fails, and the second detection result is that the second image detection fails, a first alarm prompt is generated.
[0079] In this embodiment, if the first detection result is that the first image detection fails, and the second detection result is that the second image detection fails, it means that the image format and / or image size of the first image is different from the preset image format and / or preset image size, and the image format and / or image size of the second image is different from the preset image format and / or preset image size, then it is determined that there is a camera fault, and a first alarm prompt is generated.
[0080] Further, in one embodiment, referring to Figure 4 , Figure 4 FIG. 2 is a flow chart of the third embodiment of the image display control method of the present invention. Figure 4 As shown, after the step of detecting each frame of the second image to obtain the second detection result, the method includes:
[0081] Step S50, if the second detection result is that the second image detection passes, then detect whether the second image has a fault;
[0082] Step S60: If yes, a second alarm is generated.
[0083] In this embodiment, if the second detection result is that the second image detection passes, the second image is stored, and the second image is detected to see if there is any fault.
[0084] Detect whether the grayscale value of the second image is within the preset grayscale value range. If the grayscale value of the second image is within the preset grayscale value range, no processing is performed. If the grayscale value of the second image is not within the preset grayscale value range, it indicates that there is a fault in the second image, and it is determined that there is a fault in the digital exterior rearview mirror system. The image fault cannot be identified, and a second alarm prompt is generated.
[0085] Or, extract the image features of the second image, detect whether the image features of the second image are the same as the preset image features, if they are the same, no processing is performed, if they are different, it indicates that there is a fault in the second image, then it is determined that there is a fault in the digital exterior rearview mirror system, and the image fault cannot be identified, then a second warning prompt is generated. In this embodiment, the method of detecting whether there is a fault in each frame of the second image and detecting whether there is a fault in the second image is only for reference and is not limited here.
[0086] In a third aspect, an embodiment of the present invention further provides an image display control device.
[0087] In one embodiment, referring to Figure 5 , Figure 5 FIG. 1 is a functional module diagram of an embodiment of an image display control device of the present invention. Figure 5 As shown, the image display control device includes:
[0088] A first detection module 10 is used to obtain an image captured by a camera as a first image at a first preset frame rate, and detect a corresponding frame of the first image at intervals of a preset number of frames to obtain a first detection result;
[0089] A second detection module 20 is used to obtain an image captured by the camera as a second image at a second preset frame rate, and detect a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result, wherein the first preset frame rate is greater than the second preset frame rate;
[0090] The determination module 30 is used to determine a main image from the first image and the second image based on the first detection result and the second detection result, and display the main image on the monitor.
[0091] Furthermore, in one embodiment, the first detection module 10 is used to:
[0092] Detecting whether the image format and image size of a first image corresponding to each preset number of frames are the same as the preset image format and preset image size;
[0093] If they are the same, the first detection result is that the first image detection passes;
[0094] If they are not the same, the first detection result is that the first image detection fails;
[0095] The second detection module is used for:
[0096] Detecting whether the image format and image size of a second image corresponding to each preset number of frames are the same as the preset image format and preset image size;
[0097] If they are the same, the second detection result is that the second image detection passes;
[0098] If they are not the same, the second detection result is that the second image detection fails.
[0099] Furthermore, in one embodiment, the determination module 30 is used to:
[0100] If the first detection result is that the first image detection passes, and the second detection result is that the second image detection passes, then the first image is determined to be the main image.
[0101] Furthermore, in one embodiment, the determination module 30 is used to:
[0102] If the first detection result is that the first image detection passes, and the second detection result is that the second image detection fails, then determining the first image as the main image;
[0103] If the first detection result is that the first image detection fails, and the second detection result is that the second image detection passes, the second image is determined to be the main image.
[0104] Furthermore, in one embodiment, the image display control device further includes a first alarm module, which is used to:
[0105] If the first detection result is that the first image detection fails, and the second detection result is that the second image detection fails, a first alarm prompt is generated.
[0106] Furthermore, in one embodiment, the image display control device further includes a second alarm module, which is used to:
[0107] If the second detection result is that the second image detection passes, detecting whether the second image has a fault;
[0108] If it exists, a second alarm prompt will be generated.
[0109] Among them, the functional implementation of each module in the above-mentioned image display control device corresponds to each step in the above-mentioned image display control method embodiment, and its functions and implementation processes are no longer repeated here.
[0110] In a fourth aspect, an embodiment of the present invention further provides a readable storage medium.
[0111] The readable storage medium of the present invention stores an image display control program, wherein when the image display control program is executed by a processor, the steps of the above-mentioned image display control method are implemented.
[0112] The method implemented when the image display control program is executed may refer to the various embodiments of the image display control method of the present invention, and will not be described in detail here.
[0113] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.
[0114] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0115] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0116] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device to execute the methods described in each embodiment of the present invention.
[0117] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. An image display control method, characterized in that: The image display control method comprises: Acquire an image captured by the camera as a first image at a first preset frame rate, and detect a corresponding frame of the first image at intervals of a preset number of frames to obtain a first detection result; Acquire an image captured by the camera as a second image at a second preset frame rate, and detect a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result, wherein the first preset frame rate is greater than the second preset frame rate; Based on the first detection result and the second detection result, determining a main image from the first image and the second image, and displaying the main image on a monitor; The step of detecting a corresponding frame of the first image at intervals of a preset number of frames to obtain a first detection result comprises: Detecting whether the image format and image size of a first image corresponding to each preset number of frames are the same as the preset image format and preset image size; If they are the same, the first detection result is that the first image detection passes; If they are not the same, the first detection result is that the first image detection fails; The step of detecting a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result comprises: Detecting whether the image format and image size of a second image corresponding to each preset number of frames are the same as the preset image format and preset image size; If they are the same, the second detection result is that the second image detection passes; If they are not the same, the second detection result is that the second image detection fails; The step of determining the main image from the first image and the second image based on the first detection result and the second detection result comprises: If the first detection result is that the first image detection passes, and the second detection result is that the second image detection passes, then the first image is determined to be the main image.
2. The image display control method according to claim 1, characterized in that: The step of determining the main image from the first image and the second image based on the first detection result and the second detection result comprises: If the first detection result is that the first image detection passes, and the second detection result is that the second image detection fails, then determining the first image as the main image; If the first detection result is that the first image detection fails, and the second detection result is that the second image detection passes, the second image is determined to be the main image.
3. The image display control method according to claim 1, characterized in that: The image display control method further includes: If the first detection result is that the first image detection fails, and the second detection result is that the second image detection fails, a first alarm prompt is generated.
4. The image display control method according to claim 1, wherein: After the step of detecting a corresponding frame of the second image at each preset frame interval to obtain a second detection result, the method includes: If the second detection result is that the second image detection passes, detecting whether the second image has a fault; If it exists, a second alarm prompt will be generated.
5. An image display control device, characterized in that: The image display control device comprises: A first detection module, used to obtain an image collected by a camera as a first image at a first preset frame rate, and detect a corresponding frame of the first image at intervals of a preset number of frames to obtain a first detection result; A second detection module is used to obtain an image collected by the camera as a second image at a second preset frame rate, and detect a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result, wherein the first preset frame rate is greater than the second preset frame rate; A determination module, configured to determine a main image from the first image and the second image based on the first detection result and the second detection result, and display the main image on a monitor; The first detection module is further used to detect whether the image format and image size of a first image corresponding to each preset number of frames are the same as the preset image format and preset image size; If they are the same, the first detection result is that the first image detection passes; If they are not the same, the first detection result is that the first image detection fails; The step of detecting a corresponding frame of the second image at intervals of a preset number of frames to obtain a second detection result comprises: Detecting whether the image format and image size of a second image corresponding to each preset number of frames are the same as the preset image format and preset image size; If they are the same, the second detection result is that the second image detection passes; If they are not the same, the second detection result is that the second image detection fails; The determination module is used to determine that the first image is the main image if the first detection result is that the first image detection is passed and the second detection result is that the second image detection is passed.
6. The image display control device according to claim 5, wherein: The determining module is used to: If the first detection result is that the first image detection passes, and the second detection result is that the second image detection fails, then determining the first image as the main image; If the first detection result is that the first image detection fails, and the second detection result is that the second image detection passes, the second image is determined to be the main image.
7. An image display control device, characterized in that: The image display control device includes a processor, a memory, and an image display control program stored in the memory and executable by the processor, wherein when the image display control program is executed by the processor, the steps of the image display control method according to any one of claims 1 to 4 are implemented.
8. A readable storage medium, characterized in that: The readable storage medium stores an image display control program, wherein when the image display control program is executed by a processor, the steps of the image display control method according to any one of claims 1 to 4 are implemented.
Citation Information
Patent Citations
Monitoring method and device
CN110830756A
Blurred screen detection method and apparatus, device and medium
CN112183289A