Method, device, equipment and storage medium for automatically detecting video input module

By changing the video input module test of the recording host to digital component analysis of fixed frame rate solid color video, the problems of low manual detection efficiency and missed faults are solved, and automated and rapid fault detection is achieved.

CN114189675BActive Publication Date: 2025-08-12GUANGZHOU AVA ELECTRONICS TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111464376.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-02
Publication Date
2025-08-12
Estimated Expiration
2041-12-02

AI Technical Summary

Technical Problem

In the prior art, the video input module test of the recording host relies on human eye detection, which is inefficient and prone to missing problems, especially low-probability failures are difficult to detect.

Method used

Use solid-color videos with fixed frame rate and fixed cycle to switch preset colors. By converting the video signal into YUV or RGB digital components, count the number of occurrences of each digital component, and determine whether the video input module is normal.

Benefits of technology

It realizes automated and fast video input module fault detection, reduces dependence on hardware, improves detection efficiency, and avoids the drawbacks of manual detection, such as low detection efficiency and missed faults.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114189675B_ABST
    Figure CN114189675B_ABST
Patent Text Reader

Abstract

The present invention discloses a method, device, equipment, and storage medium for automatically detecting a video input module. The method comprises the following steps: a video input module receives a standard video signal; the standard video is a solid-color video with a fixed frame rate and a fixed periodic switching time of a preset color; the standard video signal is converted into YUV or RGB digital components; the number of occurrences of each numerical value in each digital component in the video frame is counted, and the numerical value with the highest number of occurrences among the digital components is used as the digital component value of the counted video frame; the digital component value of the video frame is compared with the digital component value of the preset color, and whether the video input module is normal is determined based on the comparison result. The present invention can quickly and accurately determine whether a video input module has a fault, does not require a display module such as a monitor, reduces reliance on hardware, and can address various drawbacks of manual detection, such as low detection efficiency and missed faults that are difficult to detect.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of video recording and broadcasting equipment, and more particularly to a method, apparatus, device and storage medium for automatically detecting a video input module. Background Art

[0002] Recording and broadcasting hosts are widely used in video distance learning and remote video conferencing. They typically have a video input module for receiving video signals. This module receives video signals from terminals such as cameras and computers via interfaces such as HDMI, VGA, and SDI. Furthermore, in the large-scale production of electronic devices like recording and broadcasting hosts, each device contains thousands of electronic components, each with varying parameters. Consequently, variations in the resulting products are inevitable, leading to a certain amount of poor quality. Therefore, testing of each module is necessary to identify these substandard products.

[0003] Currently, the conventional testing method for the video input module of a recording and broadcasting host is as follows: S1. Connect the video signal to the device under test; S2. Display it in a certain manner (such as on a monitor); S3. Visually assess the image quality. However, using this method for large-scale testing is labor-intensive and has certain drawbacks. For example, ensuring the display module is functioning properly before visually assessing image quality is inefficient. Furthermore, the human eye struggles to detect minor probabilistic issues and can miss subtle issues such as screen flickering. Summary of the Invention

[0004] In order to solve the various drawbacks of manual detection during the process of testing the video input module of the recording and broadcasting host, the present invention provides a method, device, equipment and storage medium for automatically detecting the video input module. The technical solution adopted by the present invention is as follows.

[0005] In a first aspect, the present invention provides a method for automatically detecting a video input module, comprising the steps of:

[0006] The video input module receives a standard video signal; wherein the standard video is a pure color video with a fixed frame rate and a fixed periodic switching of a preset color;

[0007] Converting the standard video signal into YUV or RGB digital components;

[0008] Count the number of times each value in each digital component in the video frame appears, and take the value with the largest number of occurrences in each digital component as the digital component value of the counted video frame;

[0009] Comparing the digital component value of the video frame with the digital component value of the preset color, and judging whether the video input module is normal according to the comparison result;

[0010] The process of comparing the digital component value of the video frame with the digital component value of the preset color and determining whether the video input module is normal according to the comparison result includes the following steps:

[0011] When the digital component value of a video frame is not one of the digital component values of the preset colors, it is determined that the video input module is abnormal.

[0012] In one embodiment, the steps are further included:

[0013] The digital component values of each frame in the same pure color cycle are compared. When the digital component values of each frame are consistent, it is determined that the video input module is normal.

[0014] In one embodiment, the process of comparing the digital component values of the video frame with the digital component values of the preset color and determining whether the video input module is normal based on the comparison result further includes the steps of:

[0015] Record and compare the digital component values of three consecutive video frames. When the digital component values of the three consecutive video frames are the same, it is determined that the video input module is normal.

[0016] In one embodiment, the process of comparing the digital component values of the video frame with the digital component values of the preset color and determining whether the video input module is normal based on the comparison result further includes the steps of:

[0017] Record and compare the digital component values of three consecutive video frames. When the digital component value of the second video frame is different from the digital component values of the other two video frames, it is determined that the video input module is abnormal.

[0018] In one embodiment, when the digital component value of a video frame is not one of the digital component values of a preset color, determining that the video input module is abnormal includes the steps of:

[0019] Record and compare the digital component values of three consecutive video frames, and determine that the video input module is abnormal when the digital component value of at least one of the three consecutive video frames is not one of the digital component values of the preset color.

[0020] In one embodiment, the steps are further included:

[0021] When there are multiple values for the same digital component value in the same video frame, the problem is recorded.

[0022] In one embodiment, the preset colors are red, green, and blue.

[0023] In a second aspect, the present invention provides a device for automatically detecting a video input module, comprising:

[0024] A video input module is configured to receive a standard video signal; wherein the standard video is a pure color video with a fixed frame rate and a fixed periodic switching of a preset color;

[0025] A conversion module, used for converting the standard video signal into YUV or RGB digital components;

[0026] A statistics module is used to count the number of times each value in each digital component in the video frame appears, and the value with the largest number of occurrences in each digital component is used as the digital component value of the counted video frame;

[0027] a judgment module, configured to compare the digital component values of the video frame with the digital component values of the preset colors, and judge whether the video input module is normal according to the comparison result;

[0028] The process of comparing the digital component value of the video frame with the digital component value of the preset color and determining whether the video input module is normal according to the comparison result includes the following steps:

[0029] When the digital component value of a video frame is not one of the digital component values of the preset colors, it is determined that the video input module is abnormal.

[0030] In a third aspect, the present invention provides a computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-mentioned methods when executing the program.

[0031] In a fourth aspect, the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the program implements the method of any of the above-mentioned embodiments when executed by a processor.

[0032] The present invention converts standard video signals into digital component signals and uses numerical statistics of the digital component signals to determine whether a video input module is faulty. This method eliminates the need for a display module such as a monitor, reducing reliance on hardware. Furthermore, the present invention automatically and rapidly analyzes the quality of the input image to determine whether the input module is functioning properly, without relying on human inspection. This method overcomes the drawbacks of manual inspection, such as low detection efficiency and missed faults that are difficult to detect. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 It is a flowchart of embodiment 1 of the present invention.

[0034] Figure 2It is a flowchart of an implementation method of Example 1 of the present invention.

[0035] Figure 3 It is a schematic diagram of the overall structure of embodiment 2 of the present invention. DETAILED DESCRIPTION

[0036] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0037] It should be noted that the terms "first, second, ..." used in the embodiments of the present invention are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understood that the terms "first, second, ..." may interchangeably represent a specific order or precedence, where permitted. It should be understood that the objects distinguished by "first, second, ..." may be interchangeable, where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.

[0038] Example 1

[0039] See Figure 1 , Figure 1 1 is a flow chart of a method for automatically detecting a video input module provided in the first embodiment of the present invention, the method comprising steps S110, S120, S130 and S140. It should be noted that steps S110, S120, S130 and S140 are merely reference numerals for the purpose of clarifying the embodiment and the appendix. Figure 1 The corresponding relationship does not limit the order of the steps of the method for automatically detecting the video input module in this embodiment. This method can be used for recording and broadcasting hosts. In addition, it is also applicable to other devices that have a video input module and a data processing module capable of executing this method.

[0040] Step S110 , the video input module receives a standard video signal; wherein the standard video is a pure color video with a fixed frame rate and a fixed periodic switching of a preset color.

[0041] Generally, a standard video signal source is used to output a standard video signal. Standard video refers to pure color video with a fixed frame rate and a fixed periodic switching of preset colors. For example, a video with a fixed frame rate of 60 frames per second, a color switching every five seconds, and fixed preset colors of red, green, and blue can be used. Using standard video with a fixed frame rate and color facilitates subsequent data analysis. Using conventional dynamic video makes it difficult to determine if each pixel has a problem.

[0042] The video input module of the device under test is connected to the standard video signal source and receives the standard video signal sent by the standard video signal source.

[0043] Generally, the video input module of the device under test has a video input interface, which may be HDMI, VGA, SDI, etc. The device under test is connected to a standard video signal source by using a data cable corresponding to the interface.

[0044] Step S120: convert the standard video signal into YUV or RGB digital components.

[0045] The device under test receives the video signal, which is converted into YUV or RGB digital components by the video input module. This step, by converting the received video signal into digital components, allows for numerical comparison to determine whether the video input module is receiving the video signal properly. Compared to conventional testing methods, this eliminates the need for visual inspection using a display module, saving test equipment and improving reliability.

[0046] For the convenience of explanation, the following steps are described using YUV digital components. In fact, the method of using RGB digital components is similar to that of YUV digital components.

[0047] Step S130 , counting the number of occurrences of each value in each digital component in the video frame, and taking the value with the largest number of occurrences in each digital component as the digital component value of the counted video frame.

[0048] Under normal circumstances, since the input is a solid color video, the Y values of each pixel in each video frame are the same, and there is only one Y value in a frame. However, when an abnormality occurs, the Y values of different pixels will be different. However, in order to further determine the cause of the abnormality, you can first record the problem when the Y values are different, and then continue to detect. At this time, count the number of times different Y values appear in a frame, and use the Y value with the most occurrences as the Y value of the frame. Since there are still only a few pixels with incorrect Y values in each frame, the Y value with the most occurrences can be used as the Y value of the frame. The same method is used to analyze the U and V components to obtain the U and V values of the frame. In this way, for each counted frame, there is a YUV value that can represent the frame.

[0049] In this step, the digital component values in a frame are cleverly obtained through statistical methods. While restoring the current output image to the greatest extent, it also avoids the situation where further detection cannot be carried out due to the lack of digital component values that can represent a frame.

[0050] Step S140, comparing the digital component value of the video frame with the digital component value of the preset color, and judging whether the video input module is normal according to the comparison result;

[0051] The process of comparing the digital component value of the video frame with the digital component value of the preset color and determining whether the video input module is normal according to the comparison result includes step S210.

[0052] Step S210 : When the digital component value of a video frame is not one of the digital component values of a preset color, it is determined that the video input module is abnormal.

[0053] The YUV value obtained through statistics can be understood as the YUV value after passing through the video input module. If this YUV value is consistent with the YUV value before entering the video input module, it can be assumed that the video input module is not abnormal. For example, the preset colors are fixed to red, green, and blue, and red, green, and blue have their own YUV values. The YUV value obtained through statistics in step S130 is determined to determine whether the YUV value obtained through statistics is one of the preset red, green, and blue YUV values. If it is not one of them, it can be concluded that the color after passing through the video input module has deviated, and it can be determined that the video input module is abnormal.

[0054] It should be pointed out here that the sampling method for comparison may be to compare several consecutive video frames, or to extract only one video frame, which is not limited in this step.

[0055] Since the YUV value can be obtained through the software and hardware in the device, and the standard video signal is preset and its YUV value is known, it is only necessary to compare the two values in the device, which is equivalent to performing the observation work of the human eye, and the result is more reliable than the observation work of the human eye.

[0056] The automatic detection method of the present invention converts a standard video signal into a digital component signal and uses numerical statistics of the digital component signals to determine whether the video input module is faulty. This method does not require a display module such as a monitor, reducing reliance on hardware. Furthermore, the method automatically and rapidly analyzes the quality of the input image to determine whether the input module is functioning properly, without relying on human inspection. This method can overcome various drawbacks of manual inspection, such as low detection efficiency and missed faults that are difficult to detect.

[0057] In one embodiment, the method for automatically detecting a video input module further includes step S150.

[0058] Step S150 , comparing the digital component values of each frame in the same pure color period. When the digital component values of each frame are consistent, it is determined that the video input module is normal.

[0059] Because standard video is pure color video with a fixed frame rate and a fixed periodic switching of preset colors, the YUV color values of each video frame are consistent within a pure color period. For example, in a video with a fixed frame rate of 60 frames per second, a color switching every 5 seconds, and the preset colors fixed to red, green, and blue, within the pure red color period, there are a total of 300 red video frames. If these 300 consecutive frames are analyzed, if the YUV color values are consistent for each frame, the input module is normal; otherwise, it is abnormal, and certain measures can be taken at this time, such as stopping monitoring and recording the error.

[0060] This embodiment can determine the durability of the video input module, see whether it is durable and normal, and determine whether the image is stable.

[0061] In one embodiment, when the digital component value of a video frame is not one of the digital component values of a preset color, determining that the video input module is abnormal includes step S211.

[0062] Step S211 , recording digital component values of three consecutive video frames, and determining that the video input module is abnormal when the digital component value of at least one of the three consecutive video frames is not one of the digital component values of a preset color.

[0063] Using three consecutive video frames as the basis for comparison is more reliable than using a single frame.

[0064] In one embodiment, Figure 2 As shown, the process of comparing the digital component value of the video frame with the digital component value of the preset color and determining whether the video input module is normal according to the comparison result further includes step S220.

[0065] Step S220 , recording the digital component values of three consecutive video frames, and when the digital component values of the three consecutive video frames are the same, determining that the video input module is normal.

[0066] Based on the assumption that three consecutive frames are all of the preset color, three consecutive video frames are observed. Generally speaking, if the three consecutive frames are within the same solid color video frame period, the colors of the three frames are consistent, and the digital component values of the three frames should also be the same. Therefore, if the digital component values are the same, the video input module is determined to be normal.

[0067] In one embodiment, the process of comparing the digital component value of the video frame with the digital component value of the preset color and determining whether the video input module is normal according to the comparison result further includes step S230.

[0068] Step S230 , recording and comparing the digital component values of three consecutive video frames, and determining that the video input module is abnormal when the digital component value of the second video frame is different from the digital component values of the other two video frames.

[0069] On the basis that three consecutive frames are all preset colors, observe three consecutive video frames. Generally speaking, if the three consecutive frames are within the same pure color video frame period, the colors of the three frames are consistent, and the digital component values of the three frames should also be the same. If the three frames are in the three frames of pure color switching, then the colors of the first and third frames must be different, but the second frame is either the same as the first frame or the same as the third frame. This shows that no matter what the situation is, as long as the digital component value of the second video frame is different from the digital component values of the other two video frames in three consecutive frames, it can be determined that a problem has occurred.

[0070] Since comparing video frames consumes hardware resources, the number of frames to be compared should not be too large. Furthermore, if only the two frames are compared, the error of three consecutive frames showing blue, green, and red at the moment of switching cannot be detected. Therefore, this step uses a unit of three consecutive frames as a comparison to reduce resource consumption while maintaining the error recognition rate.

[0071] In one embodiment, the method for automatically detecting a video input module further includes step S160.

[0072] Step S160 : For the same video frame, when there are multiple values under the same digital component value, record the problem.

[0073] As mentioned earlier, due to pure color video, the Y values of all pixels in each frame are normally consistent, resulting in a single Y value per frame. Similarly, the same applies to U and V values. Therefore, the presence of multiple values for the same digital component is an anomaly and requires feedback. However, to further determine the cause of the anomaly, it's helpful to record the issue before continuing testing.

[0074] In one embodiment, the preset colors are red, green, and blue.

[0075] The three primary colors of red, green and blue light, using these three colors for detection will give more reliable results.

[0076] Example 2

[0077] Corresponding to the method of embodiment 1, as Figure 3 As shown, the present invention further provides a device 3 for automatically detecting a video input module, comprising: a video input module 301 , a conversion module 302 , a statistics module 303 , and a judgment module 304 .

[0078] The video input module 301 is configured to receive a standard video signal; wherein the standard video is a solid color video with a fixed frame rate and a fixed periodic switching of a preset color;

[0079] A conversion module 302 is used to convert the standard video signal into YUV or RGB digital components;

[0080] A statistics module 303 is configured to count the number of occurrences of each value in each digital component in a video frame, and to use the value with the largest number of occurrences in each digital component as the digital component value of the video frame being counted;

[0081] The judging module 304 is configured to compare the digital component values of the video frame with the digital component values of the preset colors, and judge whether the video input module is normal according to the comparison result;

[0082] The process of comparing the digital component value of the video frame with the digital component value of the preset color and determining whether the video input module is normal according to the comparison result includes the following steps:

[0083] When the digital component value of a video frame is not one of the digital component values of the preset colors, it is determined that the video input module is abnormal.

[0084] This device converts standard video signals into digital component signals and uses statistical analysis of the digital component signals to determine whether the video input module is faulty. This method eliminates the need for a display module, such as a monitor, reducing hardware reliance. Furthermore, the device automatically and rapidly analyzes the quality of the input image to determine if the input module is functioning properly, rather than relying on human inspection. This overcomes the drawbacks of manual inspection, such as low detection efficiency and missed, difficult-to-find faults.

[0085] In one embodiment, the judgment module 304 is further configured to compare the digital component values of each frame in the same pure color period, and when the digital component values of each frame are consistent, it is determined that the video input module is normal.

[0086] In one embodiment, the process of comparing the digital component values of the video frame with the digital component values of the preset color and determining whether the video input module is normal based on the comparison result further includes the steps of:

[0087] Record and compare the digital component values of three consecutive video frames. When the digital component values of the three consecutive video frames are the same, it is determined that the video input module is normal.

[0088] In one embodiment, the process of comparing the digital component values of the video frame with the digital component values of the preset color and determining whether the video input module is normal based on the comparison result further includes the steps of:

[0089] Record and compare the digital component values of three consecutive video frames. When the digital component value of the second video frame is different from the digital component values of the other two video frames, it is determined that the video input module is abnormal.

[0090] In one embodiment, when the digital component value of a video frame is not one of the digital component values of a preset color, determining that the video input module is abnormal includes the steps of:

[0091] Record and compare the digital component values of three consecutive video frames, and determine that the video input module is abnormal when the digital component value of at least one of the three consecutive video frames is not one of the digital component values of the preset color.

[0092] In one embodiment, the statistics module 303 is further configured to record a problem when there are multiple values under the same digital component value for the same video frame.

[0093] In one embodiment, the preset colors are red, green, and blue.

[0094] Example 3

[0095] An embodiment of the present invention further provides a storage medium storing computer instructions, which, when executed by a processor, implement the method for automatically detecting a video input module according to any of the above embodiments.

[0096] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above-mentioned method embodiment; and the aforementioned storage medium includes: mobile storage devices, random access memory (RAM), read-only memory (ROM), magnetic disk or optical disk, etc. Various media that can store program codes.

[0097] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention, or the part that contributes to the relevant technology, can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, terminal, or network device, etc.) to execute all or part of the methods of each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, RAM, ROM, magnetic disks or optical disks.

[0098] Corresponding to the above-mentioned computer storage medium, in one embodiment, a computer device is also provided, which includes a memory, an encoder, and a computer program stored in the memory and runnable on the encoder, wherein when the encoder executes the program, it implements any one of the methods for automatically detecting the video input module in the above-mentioned embodiments.

[0099] The computer device converts a standard video signal into a digital component signal and uses statistics on the digital component signal values to determine whether the video input module is faulty. This method eliminates the need for a display module such as a monitor, reducing reliance on hardware. Furthermore, the device automatically and rapidly analyzes the quality of the input image to determine whether the input module is functioning properly, without relying on human inspection. This overcomes the drawbacks of manual inspection, such as low detection efficiency and missed faults that are difficult to detect.

[0100] The technical features of the above-mentioned embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above-mentioned 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 specification.

[0101] Obviously, the above embodiments of the present invention are merely examples for the purpose of clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. Those skilled in the art will appreciate that other variations or modifications can be made based on the above description. It is not necessary and impossible to enumerate all embodiments here. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention shall be included within the scope of protection of the claims of the present invention.

Claims

1. A method for automatically detecting a video input module, characterized in that: Including steps: The video input module receives a standard video signal; wherein the standard video is a pure color video with a fixed frame rate and a fixed periodic switching of a preset color; Converting the standard video signal into YUV or RGB digital components; Count the number of times each value in each digital component in the video frame appears, and take the value with the largest number of occurrences in each digital component as the digital component value of the counted video frame; Comparing the digital component value of the video frame with the digital component value of the preset color, and judging whether the video input module is normal according to the comparison result; Comparing the digital component values of each frame in the same pure color cycle, and when the digital component values of each frame are consistent, determining that the video input module is normal; For the same video frame, when there are multiple values under the same digital component value, the problem is recorded; wherein, the process of comparing the digital component value of the video frame with the digital component value of the preset color and judging whether the video input module is normal according to the comparison result includes the steps of: When the digital component value of a video frame is not one of the digital component values of a preset color, determining that the video input module is abnormal; Recording and comparing digital component values of three consecutive video frames, and determining that the video input module is normal when the digital component values of the three consecutive video frames are the same; Record and compare the digital component values of three consecutive video frames. When the digital component value of the second video frame is different from the digital component values of the other two video frames, it is determined that the video input module is abnormal.

2. The method for automatically detecting a video input module according to claim 1, wherein: When the digital component value of a video frame is not one of the digital component values of a preset color, determining that the video input module is abnormal includes the steps of: Record and compare the digital component values of three consecutive video frames, and determine that the video input module is abnormal when the digital component value of at least one of the three consecutive video frames is not one of the digital component values of the preset color.

3. The method for automatically detecting a video input module according to claim 1 or 2, wherein: The preset colors are red, green and blue.

4. A device for automatically detecting a video input module, characterized in that: include: A video input module is configured to receive a standard video signal; wherein the standard video is a pure color video with a fixed frame rate and a fixed periodic switching of a preset color; A conversion module, used for converting the standard video signal into YUV or RGB digital components; A statistics module is used to count the number of times each value in each digital component in the video frame appears, and the value with the largest number of occurrences in each digital component is used as the digital component value of the counted video frame; A judgment module is used to compare the digital component values of the video frame with the digital component values of the preset color, and judge whether the video input module is normal based on the comparison result; compare the digital component values of each frame in the same pure color cycle, and judge that the video input module is normal when the digital component values of each frame are consistent; for the same video frame, if there are multiple values under the same digital component value, record the problem; The process of comparing the digital component value of the video frame with the digital component value of the preset color and determining whether the video input module is normal according to the comparison result includes the following steps: When the digital component value of a video frame is not one of the digital component values of a preset color, determining that the video input module is abnormal; Recording and comparing digital component values of three consecutive video frames, and determining that the video input module is normal when the digital component values of the three consecutive video frames are the same; Record and compare the digital component values of three consecutive video frames. When the digital component value of the second video frame is different from the digital component values of the other two video frames, it is determined that the video input module is abnormal.

5. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the program, the method according to any one of claims 1 to 3 is implemented.

6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method according to any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • Image automatic detection method and apparatus

    CN101184241A