CN110865911A - Image testing method and device, storage medium, image acquisition card and upper computer - Google Patents

Image testing method and device, storage medium, image acquisition card and upper computer Download PDF

Info

Publication number
CN110865911A
CN110865911A CN201911009408.4A CN201911009408A CN110865911A CN 110865911 A CN110865911 A CN 110865911A CN 201911009408 A CN201911009408 A CN 201911009408A CN 110865911 A CN110865911 A CN 110865911A
Authority
CN
China
Prior art keywords
image
similarity
test
upper computer
acquisition card
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911009408.4A
Other languages
Chinese (zh)
Other versions
CN110865911B (en
Inventor
肖文鲲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201911009408.4A priority Critical patent/CN110865911B/en
Publication of CN110865911A publication Critical patent/CN110865911A/en
Application granted granted Critical
Publication of CN110865911B publication Critical patent/CN110865911B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/22Matching criteria, e.g. proximity measures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • G06T7/0004Industrial image inspection
    • G06T7/001Industrial image inspection using an image reference approach
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/20Image preprocessing
    • G06V10/25Determination of region of interest [ROI] or a volume of interest [VOI]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Computation (AREA)
  • Evolutionary Biology (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Image Analysis (AREA)

Abstract

The embodiment of the application discloses an image testing method, an image testing device, a storage medium, an image acquisition card and an upper computer, wherein the method comprises the following steps: the image acquisition card acquires a test image and acquires a template image sent by an upper computer; the image acquisition card calculates the similarity of the test image and the template image; and the image acquisition card sends the similarity and the test image to the upper computer so that the upper computer determines whether the test image is abnormal or not based on the similarity. Therefore, by adopting the embodiment of the application, the image is collected and the similarity calculation is carried out through the image collection card, only the calculation result is uploaded to the upper computer, the upper computer simply displays the image, the image is judged to be normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, the calculation resource of the upper computer is released, the board card testing time can be saved, and the board card testing speed is improved.

Description

Image testing method and device, storage medium, image acquisition card and upper computer
Technical Field
The present application relates to the field of computer technologies, and in particular, to an image testing method and apparatus, a storage medium, an image capture card, and an upper computer.
Background
In the production of the traditional display driving board card, an image acquisition card is generally used for acquiring images in the test process of a display screen interface, and the images are transmitted to an upper computer for analysis and judgment to give a board card normal/abnormal signal.
Through automatic production line transformation, 6 display drive integrated circuit boards can be operated and tested to a robot usually to can measure the polylith simultaneously and show drive integrated circuit board. The upper computer receives the multi-channel image data and performs the comparative analysis, which needs a large amount of calculation time, and usually the CPU occupancy of i3 is close to 100%, and the full-load operation is performed, so the analysis of the multi-channel data at the same time becomes the bottleneck of the test speed.
Disclosure of Invention
The embodiment of the application provides an image testing method and device, a storage medium, an image acquisition card and an upper computer, so that the testing time of a board card can be saved, and the testing speed of the board card can be increased. The technical scheme is as follows;
in a first aspect, an embodiment of the present application provides an image testing method, where the method includes:
the image acquisition card acquires a test image and acquires a template image sent by an upper computer;
the image acquisition card calculates the similarity of the test image and the template image;
and the image acquisition card sends the similarity and the test image to the upper computer so that the upper computer determines whether the test image is abnormal or not based on the similarity.
In a second aspect, an embodiment of the present application provides an image testing method, where the method includes:
the upper computer acquires a test image sent by an image acquisition card and the similarity between the test image and a template image;
when the similarity is larger than a similarity threshold value, the upper computer determines that the test image is normal;
and when the similarity is smaller than or equal to the similarity threshold, the upper computer determines that the test image is abnormal.
In a third aspect, an embodiment of the present application provides an image testing apparatus, including:
the image acquisition module is used for acquiring a test image and acquiring a template image sent by an upper computer;
the similarity calculation module is used for calculating the similarity of the test image and the template image;
and the similarity sending module is used for sending the similarity and the test image to the upper computer so as to enable the upper computer to determine whether the test image is abnormal or not based on the similarity.
In a fourth aspect, an embodiment of the present application provides an image testing apparatus, including:
the similarity acquisition module is used for acquiring a test image sent by an image acquisition card and the similarity between the test image and a template image;
the image normality determining module is used for determining that the test image is normal when the similarity is greater than a similarity threshold value;
and the image anomaly determination module is used for determining the anomaly of the test image when the similarity is less than or equal to the similarity threshold.
In a fifth aspect, embodiments of the present application provide a computer storage medium storing a plurality of instructions adapted to be loaded by a processor and to perform the above-mentioned method steps.
In a sixth aspect, an embodiment of the present application provides an image acquisition card, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of the first aspect described above.
In a sixth aspect, an embodiment of the present application provides an upper computer, which may include: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of the second aspect described above.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in the embodiment of the application, an image acquisition card acquires a test image, acquires a template image sent by an upper computer, calculates the similarity of the test image and the template image, and sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity. The image acquisition card is used for acquiring images and carrying out similarity calculation, only the calculation result is uploaded to the upper computer, the upper computer simply displays the images and judges whether the images are normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, calculation resources of the upper computer are released, the board card testing time can be saved, and the board card testing speed is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flowchart of an image testing method according to an embodiment of the present disclosure;
FIG. 2 is a schematic structural diagram of a connection relationship between an upper computer and an image acquisition card according to an embodiment of the present application;
FIG. 3 is a schematic flow chart illustrating a procedure of calling a test image and a template image by an image capture card according to an embodiment of the present disclosure;
FIG. 4 is a schematic flow chart of determining image coordinates by an image capture card according to an embodiment of the present disclosure;
FIG. 5 is a schematic diagram illustrating a process of calculating and outputting similarity and an image by an image acquisition card according to an embodiment of the present disclosure;
FIG. 6 is a flowchart illustrating an image testing method according to an embodiment of the present disclosure;
FIG. 7 is a flowchart illustrating an image testing method according to an embodiment of the present disclosure;
FIG. 8 is a schematic diagram illustrating an example of a template image provided by an embodiment of the present application;
FIG. 9 is a schematic structural diagram of an image testing apparatus according to an embodiment of the present disclosure;
fig. 10 is a schematic structural diagram of a similarity calculation model provided in an embodiment of the present application;
FIG. 11 is a schematic structural diagram of an image testing apparatus according to an embodiment of the present disclosure;
FIG. 12 is a schematic structural diagram of an image testing apparatus according to an embodiment of the present disclosure;
FIG. 13 is a schematic structural diagram of an image testing apparatus according to an embodiment of the present disclosure;
fig. 14 is a schematic structural diagram of an image acquisition card according to an embodiment of the present disclosure.
Fig. 15 is a schematic structural diagram of an upper computer provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the application, as detailed in the appended claims.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
In this application, unless expressly stated or limited otherwise, the terms "connected," "secured," and the like are to be construed broadly, and for example, "secured" may be a fixed connection, a removable connection, or an integral part; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meaning of the above terms in the present application can be understood by those of ordinary skill in the art as appropriate.
In addition, technical solutions between the various embodiments of the present application may be combined with each other, but it must be based on the realization of the technical solutions by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination of technical solutions should be considered to be absent and not within the protection scope of the present application.
The image testing method provided by the embodiment of the present application will be described in detail below with reference to fig. 1 to 8.
Fig. 1 is a schematic flow chart of an image testing method according to an embodiment of the present disclosure. In this embodiment, an image acquisition card side is taken as an example for description, and the method according to this embodiment of the present application may include the following steps:
s101, an image acquisition card acquires a test image and acquires a template image sent by an upper computer;
the image collecting card is a hardware device which can obtain the digital video image information, store and play it out, and is the interface of the image collecting part and the image processing part.
The image acquisition card is developed based on FPGA (field Programmable Gate array) and is used for replacing equipment used by a display screen in the process of producing a driving plate in a factory in batches.
The FPGA is a product developed on the basis of programmable devices such as PAL, GAL and the like. The circuit is a semi-custom circuit in the field of Application Specific Integrated Circuits (ASIC), not only overcomes the defects of the custom circuit, but also overcomes the defect that the number of gate circuits of the original programmable device is limited. The basic structure of the FPGA comprises a programmable input/output unit, a configurable logic block, a digital clock management module, an embedded block RAM, wiring resources, an embedded special hard core, a bottom layer embedded functional unit and the like.
In the embodiment of the present application, the image acquisition card may include a plurality of cards. Each image acquisition card is connected with a display driving board card and used for acquiring a test image on the board card. Meanwhile, a plurality of image acquisition cards are connected with an upper computer together, as shown in fig. 2.
The board card is a printed circuit board, called PCB for short, and has a plug core during manufacturing, and can be inserted into a slot of a main circuit board (motherboard) of a computer to control the operation of hardware, such as a display, a collection card, and other devices, and after a driver is installed, the corresponding hardware function can be realized.
The test image can be an image acquired by the image acquisition card from the display drive board card and is used for testing whether the display drive board card is normal or abnormal. The acquisition is the process of converting the image into a digital image after sampling and quantizing, inputting and storing the digital image into a frame memory.
Before the method, an image acquisition card continuously acquires multi-frame sample images, each frame of sample image is acquired and sent to an upper computer, and the upper computer respectively displays the multi-frame sample images in a video animation mode after receiving the multi-frame sample images. A user can select one frame of image as a template image, for the upper computer, after receiving a selection instruction of the user, the template image is respectively sent to each image acquisition card, and the image acquisition cards receive the template image and download the template image to be stored in the memory.
The upper computer may include a tablet computer, a Personal Computer (PC), a smart phone, a palm computer, a Mobile Internet Device (MID), and other terminal devices.
It should be noted that, after the image acquisition card acquires the test image, it is first determined whether the test is the first test, if so, the template image is requested from the upper computer, otherwise, the template image is directly called in the memory. And marking a key area on the template image, and acquiring coordinate information of each pixel in the key area after the template image is downloaded by the image acquisition card.
The key region is a region of interest (ROI), and is a region to be processed is framed on a frame of image in a rectangular, circular, elliptical, irregular polygonal, or other manner. Various operators (operators) and functions are commonly used on machine vision software such as Halcon, OpenCV, Matlab and the like to obtain a key area, and only images in the key area participate in image operation. Of course, a plurality of key areas can be selected on the frame image, and the key areas are not overlapped with each other.
S102, the image acquisition card calculates the similarity of the test image and the template image;
it can be understood that the test image collected by the image acquisition card is also buffered by using the memory as a frame. The image acquisition card extracts the test image and the template image in the memory, and respectively outputs the acquired image and the template image to the image operation unit synchronously by using the DMA under the control of the timing signal, as shown in FIG. 3.
The image operation is mainly to compare the test image and the template image in real time aiming at a plurality of key areas. Comparing each pixel of the test image with each pixel of the key area in sequence mainly through an icon coordinate counter of an image acquisition card, determining whether the current pixel is in the key area, if so, performing image operation, otherwise, continuously judging the next pixel, and finding out each pixel in the key area in the test image in sequence according to the same mode, as shown in fig. 4.
In the embodiment of the present application, the squares of two image differences in the key region are calculated pixel by pixel and color by color, and then summed to obtain DIFF ═ Σ (Csample-Ctemplate)2The Csample is the corresponding pixel color value of the acquired image, the range is 0-255, the Ctemp is the corresponding pixel color value of the template image, the range is 0-255, then the proportion S is calculated to be 100-sqrt (DIFF/WIDTH/HEIGHT/3) 100/255 as the similarity and output, the WIDTH is the sum of the WIDTHs of all key areas, and the HEIGHT is the sum of the HEIGHTs of all key areas.
The FPGA is internally provided with a DSP unit which can carry out multiplication and addition operation. For the operation of square root, each frame of image only needs to be operated once, the operation can be performed in the field synchronization period, an FPGA can be used for building a soft core processor, and software is used for calculating the square root and the similarity result. And after the similarity of the N frames is calculated, uploading the result to an upper computer. And N is the number of image frames and is determined by an upper computer. Of course, the comparison operation may be performed in other operation modes capable of calculating the similarity.
S103, the image acquisition card sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity.
Specifically, the image acquisition card outputs the at least one similarity obtained by calculation and the test image corresponding to each similarity to the upper computer, as shown in fig. 5. When the similarity is larger than a similarity threshold value, the upper computer determines that the test image is normal; and when the similarity is smaller than or equal to the similarity threshold, the upper computer determines that the test image is abnormal.
When the number of the image acquisition cards is multiple, each image acquisition card respectively sends the calculated similarity and the corresponding test image to the upper computer for judgment.
In the embodiment of the application, an image acquisition card acquires a test image, acquires a template image sent by an upper computer, calculates the similarity of the test image and the template image, and sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity. The image acquisition card is used for acquiring images and carrying out similarity calculation, only the calculation result is uploaded to the upper computer, the upper computer simply displays the images and judges whether the images are normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, calculation resources of the upper computer are released, the board card testing time can be saved, and the board card testing speed is improved.
Referring to fig. 6, a flowchart of an image testing method is provided in an embodiment of the present application. The embodiment is described by taking an upper computer side as an example, and the image testing method may include the following steps:
s201, an upper computer acquires a test image sent by an image acquisition card and the similarity between the test image and a template image;
the upper computer may include a tablet computer, a Personal Computer (PC), a smart phone, a palm computer, a Mobile Internet Device (MID), and other terminal devices.
The image acquisition card is a hardware device which can acquire, store and play digital video image information and is an interface of an image acquisition part and an image processing part. The image acquisition card is developed based on FPGA (field programmable Gate array) and is used for replacing equipment used by a display screen when a driving plate is produced in a factory in batches.
And the upper computer receives the similarity of the test image and the template image which are calculated by the image acquisition card and the test image corresponding to the similarity. The similarity can be sent by the same image acquisition card or different image acquisition cards, and each image acquisition card can send the similarity of at least one frame of test image.
S202, when the similarity is larger than a similarity threshold value, the upper computer determines that the test image is normal;
and the upper computer compares the received similarity with a set similarity threshold, and if the similarity is greater than the similarity threshold, the test image corresponding to the similarity is determined to be normal, namely the display driving board card corresponding to the test image is normal.
S203, when the similarity is smaller than or equal to the similarity threshold, the upper computer determines that the test image is abnormal.
And the upper computer compares the received similarity with a set similarity threshold, and if the similarity is smaller than the similarity threshold, the upper computer determines that the test image corresponding to the similarity is abnormal, namely the display driving board card corresponding to the test image is abnormal.
In the embodiment of the application, an image acquisition card acquires a test image, acquires a template image sent by an upper computer, calculates the similarity of the test image and the template image, and sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity. The image acquisition card is used for acquiring images and carrying out similarity calculation, only the calculation result is uploaded to the upper computer, the upper computer simply displays the images and judges whether the images are normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, calculation resources of the upper computer are released, the board card testing time can be saved, and the board card testing speed is improved.
Fig. 7 is a schematic flow chart of an image testing method according to an embodiment of the present application. In this embodiment, the image acquisition card and the upper computer are taken as an example for description. The image testing method may include the steps of:
s301, the upper computer receives at least one frame of sample image continuously sent by the image acquisition card;
the image collecting card is a hardware device which can obtain the digital video image information, store and play it out, and is the interface of the image collecting part and the image processing part.
The image acquisition card is developed based on FPGA and is used for replacing equipment used when the display screen is used for producing the drive plate in batches in a factory.
In the embodiment of the present application, the image acquisition card may include a plurality of cards. Each image acquisition card is connected with a display driving board card and used for acquiring a test image on the board card.
For an image acquisition card, multi-frame sample images can be continuously acquired and sequentially transmitted to an upper computer, and the upper computer receives and dynamically displays the sample images.
The upper computer may include a tablet computer, a Personal Computer (PC), a smart phone, a palm computer, a Mobile Internet Device (MID), and other terminal devices.
S302, the upper computer receives a selection instruction aiming at a template image in the at least one frame of sample image, and receives a key area setting instruction aiming at the template image and a set test frame number;
the user can select the displayed sample image, and the upper computer determines the selected image as the template image after receiving the selection instruction.
After the template image is determined, the template image is displayed on the upper computer, and a user can set the template image to select a key area in the template image in a frame mode. Meanwhile, the test frame number of the image to be tested can be set.
The key region is a region of interest (ROI), and is a region to be processed is framed on a frame of image in a rectangular, circular, elliptical, irregular polygonal, or other manner. Various operators (operators) and functions are commonly used on machine vision software such as Halcon, OpenCV, Matlab and the like to obtain a key area, and only images in the key area participate in image operation. Of course, a plurality of key areas can be selected on the frame image, and the key areas are not overlapped with each other.
For example, the template image is shown in fig. 8, in which a region a selected out of a rectangular frame is a key region.
It should be noted that different template images are set for different test channels.
And S303, the upper computer sends the template image provided with the key area and the test frame number to the image acquisition card.
Correspondingly, the display driving board card of the image acquisition card is connected through different channels, and the corresponding template images are different.
For example, 6 image acquisition cards are connected with the same upper computer, 4 of the 6 image acquisition cards are connected with the display driving board card through a first channel, and 2 of the 6 image acquisition cards are connected with the display driving board card through a second channel. Wherein, every image acquisition card is connected with a display drive board card.
S304, an image acquisition card acquires a test image, acquires a template image sent by the upper computer and acquires a key area of the template image;
and after receiving the template image, the image acquisition card reads the coordinate information of each pixel in the key area of the template image.
S305, the image acquisition card sequentially traverses each pixel of the test image, and judges whether the currently traversed first pixel is in the key area;
the image acquisition card sequentially traverses each pixel of the test image, acquires the coordinate of the currently traversed first pixel, then searches whether the coordinate exists in the read coordinate information of each pixel in the key area, if so, determines that the first pixel is in the key area, and if not, determines that the first pixel is not in the key area.
S306, if yes, the image acquisition card acquires a first color value of the first pixel and a second color value of a second pixel corresponding to the first pixel in the key area, and calculates the square of the difference value of the first color value and the second color value;
specifically, the first color value is Csample, the second color value is Ctemplate, and the square of the difference between the first color value and the second color value is (Csample-Ctemplate)2
S307, the image acquisition card continuously traverses the next pixel of the first pixel, takes the next pixel as the first pixel and executes the step of judging whether the currently traversed first pixel is in the key area;
and sequentially judging and calculating the square of the difference value of the next pixel positioned in the key area and the template pixel according to the same mode.
S308, when the image acquisition card determines that the next pixel does not exist, generating a square set comprising the square;
when it is determined that the next pixel does not exist, it indicates that all the pixels are completely calculated, resulting in the square of the difference value of each pixel.
S309, calculating the sum of the square sets by the image acquisition card, and acquiring the width and the height of the key area;
the squares of these differences are summed to yield DIFF ═ Σ (Csample-Ctemp)2
The critical region has WIDTH WIDTH and HEIGHT HEIGHT.
It should be noted that, when the key area (taking the key area as a rectangle as an example) includes only one key area, the width and the height are the width and the height of the rectangle; when the key area includes a plurality of areas, the width and height are the sum of the widths and the sum of the heights of all the rectangles.
S310, the image acquisition card acquires a first preset value, a second preset value and a third preset value, and similarity of the test image and the template image is calculated based on the sum, the width, the height, the first preset value, the second preset value and the third preset value;
for example, the first preset value is 100, the second preset value is 3, and the third preset value is 255, and the similarity S of the test image and the template image is 100-sqrt (DIFF/WIDTH/HEIGHT/3) × 100/255 by combining WIDTH and HEIGHT.
S311, the image acquisition card sends the similarity and the test image to the upper computer;
the image acquisition card reads a test image from the memory and simultaneously transmits the similarity S and the test image to the upper computer.
S312, the upper computer acquires a test image sent by an image acquisition card and the similarity between the test image and a template image;
s313, when the similarity is larger than a similarity threshold, the upper computer determines that the test image is normal;
and the upper computer compares the received similarity with a set similarity threshold, and if the similarity is greater than the similarity threshold, the test image corresponding to the similarity is determined to be normal, namely the display driving board card corresponding to the test image is normal.
And S314, when the similarity is smaller than or equal to the similarity threshold, the upper computer determines that the test image is abnormal.
And the upper computer compares the received similarity with a set similarity threshold, and if the similarity is smaller than the similarity threshold, the upper computer determines that the test image corresponding to the similarity is abnormal, namely the display driving board card corresponding to the test image is abnormal.
S315, acquiring a test frame number sent by the upper computer by the image acquisition card;
the test frame number is the number of the test image to be tested, the test frame number is greater than or equal to 1, and when the test frame number is greater than 1, the accuracy of the test result can be improved through the test of the multi-frame image.
S316, when the number of the test frames is more than 1, the image acquisition card acquires a next test image and executes the step of acquiring the template image sent by the upper computer;
and when the number of the test frames is more than 1, processing the next frame of image according to the same mode and sending the next frame of image to the upper computer for judgment.
And S317, when the number of the image frames acquired by the image acquisition card is equal to the number of the test frames, ending the test.
And stopping the test until the test frame number is reached.
Optionally, for an image acquisition card, when the number of images belonging to an anomaly in a tested multi-frame image is greater than a preset value, it is determined that the corresponding display drive board card is anomalous, or when the number of images belonging to a normal image in the tested multi-frame image is greater than the preset value, it is determined that the corresponding display drive board card is normal.
Optionally, for an image acquisition card, a first number of normal test images is obtained, a second number of abnormal test images is obtained, if the first number is greater than the second number, it is determined that the corresponding display driver board card is normal, and if the first number is less than or equal to the second number, it is determined that the corresponding display driver board card is abnormal.
In the embodiment of the application, an image acquisition card acquires a test image, acquires a template image sent by an upper computer, calculates the similarity of the test image and the template image, and sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity. The image acquisition card is used for acquiring images and carrying out similarity calculation, only the calculation result is uploaded to the upper computer, the upper computer simply displays the images and judges whether the images are normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, calculation resources of the upper computer are released, the board card testing time can be saved, and the board card testing speed is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 9, a schematic structural diagram of an image testing apparatus according to an exemplary embodiment of the present application is shown. The image test apparatus may be implemented as all or a part of the terminal by software, hardware, or a combination of both. The apparatus 10 includes an image acquisition module 101, a similarity calculation module 102, and a similarity transmission module 103.
The image acquisition module 101 is used for acquiring a test image and acquiring a template image sent by an upper computer;
a similarity calculation module 102, configured to calculate similarities of the test image and the template image;
the similarity sending module 103 is configured to send the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal based on the similarity.
Optionally, the image obtaining module 101 is specifically configured to:
acquiring a template image sent by the upper computer, and acquiring a key area of the template image;
the similarity calculation module 102 is specifically configured to:
and comparing each pixel of the test image with each pixel of the key area in sequence to obtain the similarity of the test image and the template image.
Optionally, as shown in fig. 10, the similarity calculation module 102 includes:
a pixel determining unit 1021, configured to sequentially traverse each pixel of the test image, and determine whether a currently traversed first pixel is in the key region;
a color value calculating unit 1022, configured to, if yes, obtain a first color value of the first pixel and a second color value of a second pixel corresponding to the first pixel in the key area, and calculate a square of a difference between the first color value and the second color value;
a pixel circulation unit 1023, configured to continue to traverse a next pixel of the first pixel, regard the next pixel as the first pixel, and trigger the pixel determination unit to determine whether the currently traversed first pixel is in the key area;
a set generating unit 1024 for generating a square set including the square when it is determined that there is no next pixel;
a similarity obtaining unit 1025, configured to obtain similarities of the test image and the template image based on the square set.
Optionally, the similarity obtaining unit 1025 is specifically configured to:
calculating the sum of the square sets, and acquiring the width and the height of the key area;
and acquiring a first preset value, a second preset value and a third preset value, and calculating the similarity of the test image and the template image based on the sum, the width, the height, the first preset value, the second preset value and the third preset value.
Optionally, as shown in fig. 11, the method further includes:
a frame number obtaining module 104, configured to obtain a test frame number sent by the upper computer;
the image acquisition module 101 is further configured to acquire a next frame of test image and acquire a template image sent by an upper computer when the number of test frames is greater than 1;
and a test ending module 105, configured to end the test when the number of the acquired image frames is equal to the number of the test frames.
It should be noted that, when the image testing apparatus provided in the foregoing embodiment executes the image testing method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the image testing apparatus and the image testing method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, an image acquisition card acquires a test image, acquires a template image sent by an upper computer, calculates the similarity of the test image and the template image, and sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity. The image acquisition card is used for acquiring images and carrying out similarity calculation, only the calculation result is uploaded to the upper computer, the upper computer simply displays the images and judges whether the images are normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, calculation resources of the upper computer are released, the board card testing time can be saved, and the board card testing speed is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 12, a schematic structural diagram of an image testing apparatus according to an exemplary embodiment of the present application is shown. The image test apparatus may be implemented as all or a part of the terminal by software, hardware, or a combination of both. The apparatus 20 includes a similarity obtaining module 201, an image normality determining module 202, and an image abnormality determining module 203.
A similarity obtaining module 201, configured to obtain a test image sent by an image acquisition card and a similarity between the test image and a template image;
an image normality determining module 202, configured to determine that the test image is normal when the similarity is greater than a similarity threshold;
an image anomaly determination module 203, configured to determine that the test image is anomalous when the similarity is less than or equal to the similarity threshold.
Optionally, as shown in fig. 13, the apparatus further includes:
the sample receiving module 204 is configured to receive at least one frame of sample image continuously sent by the image acquisition card;
the template sending module 205 is configured to receive a selection instruction for a template image in the at least one frame of sample image, and send the template image to the image capture card.
Optionally, as shown in fig. 13, the apparatus further includes:
an instruction receiving module 206, configured to receive a key region setting instruction for the template image and a set test frame number;
the template sending module 205 is specifically configured to:
and sending the template image provided with the key area and the test frame number to the image acquisition card.
It should be noted that, when the image testing apparatus provided in the foregoing embodiment executes the image testing method, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the functions described above. In addition, the image testing apparatus and the image testing method provided by the above embodiments belong to the same concept, and details of implementation processes thereof are referred to in the method embodiments and are not described herein again.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
In the embodiment of the application, an image acquisition card acquires a test image, acquires a template image sent by an upper computer, calculates the similarity of the test image and the template image, and sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity. The image acquisition card is used for acquiring images and carrying out similarity calculation, only the calculation result is uploaded to the upper computer, the upper computer simply displays the images and judges whether the images are normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, calculation resources of the upper computer are released, the board card testing time can be saved, and the board card testing speed is improved.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium may store a plurality of instructions, where the instructions are suitable for being loaded by a processor and executing the method steps in the embodiments shown in fig. 1 to 8, and a specific execution process may refer to specific descriptions of the embodiments shown in fig. 1 to 8, which are not described herein again.
The present application further provides a computer program product having at least one instruction stored thereon, which is loaded and executed by the processor to implement the method according to the above embodiments.
Referring to fig. 14, a schematic structural diagram of an image acquisition card is provided in the embodiment of the present application. As shown in fig. 14, the image acquisition card 1000 may include: at least one processor 1001, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002.
Wherein a communication bus 1002 is used to enable connective communication between these components.
The user interface 1003 may include a Display screen (Display), a video input interface, which may include an LVDS input interface, a V-BY-ONE input interface, an HDMI input interface, and the like, and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 1001 may include one or more processing cores, among other things. The processor 1001 connects various parts within the entire image acquisition card 1000 using various interfaces and lines, and performs various functions of the image acquisition card 1000 and processes data by operating or executing instructions, programs, code sets, or instruction sets stored in the memory 1005 and calling data stored in the memory 1005. Alternatively, the processor 1001 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1001 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 1001, but may be implemented by a single chip.
The Memory 1005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1005 includes a non-transitory computer-readable medium. The memory 1005 may be used to store an instruction, a program, code, a set of codes, or a set of instructions. The memory 1005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 14, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an image test application program.
In the terminal 1000 shown in fig. 14, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to invoke the image testing application stored in the memory 1005 and specifically perform the following operations:
collecting a test image, and acquiring a template image sent by an upper computer;
calculating the similarity of the test image and the template image;
and sending the similarity and the test image to the upper computer so that the upper computer determines whether the test image is abnormal or not based on the similarity.
In an embodiment, when the processor 1001 acquires the template image sent by the upper computer, the following operations are specifically performed:
acquiring a template image sent by the upper computer, and acquiring a key area of the template image;
when the processor 1001 calculates the similarity between the test image and the template image, the following operations are specifically performed:
and comparing each pixel of the test image with each pixel of the key area in sequence to obtain the similarity of the test image and the template image.
In an embodiment, when the processor 1001 compares each pixel of the test image with each pixel of the key area in sequence to obtain the similarity between the test image and the template image, the following operations are specifically performed:
sequentially traversing each pixel of the test image, and judging whether the currently traversed first pixel is in the key area;
if so, acquiring a first color value of the first pixel and a second color value of a second pixel corresponding to the first pixel in the key area, and calculating the square of the difference value of the first color value and the second color value;
continuously traversing a next pixel of the first pixel, taking the next pixel as the first pixel and executing the step of judging whether the currently traversed first pixel is in the key area;
generating a set of squares comprising the squares when it is determined that there is no next pixel;
and acquiring the similarity of the test image and the template image based on the square set.
In one embodiment, when the processor 1001 obtains the similarity between the test image and the template image based on the square set, it specifically performs the following operations:
calculating the sum of the square sets, and acquiring the width and the height of the key area;
and acquiring a first preset value, a second preset value and a third preset value, and calculating the similarity of the test image and the template image based on the sum, the width, the height, the first preset value, the second preset value and the third preset value.
In one embodiment, the processor 1001 further performs the following operations:
acquiring a test frame number sent by the upper computer;
when the number of the test frames is greater than 1, the similarity and the test image are sent to the upper computer, so that the upper computer determines whether the test image is abnormal based on the similarity, and the method further comprises the following steps:
collecting a next frame of test image, and executing the step of obtaining the template image sent by the upper computer;
and when the number of the collected image frames is equal to the number of the test frames, finishing the test.
In the embodiment of the application, an image acquisition card acquires a test image, acquires a template image sent by an upper computer, calculates the similarity of the test image and the template image, and sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity. The image acquisition card is used for acquiring images and carrying out similarity calculation, only the calculation result is uploaded to the upper computer, the upper computer simply displays the images and judges whether the images are normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, calculation resources of the upper computer are released, the board card testing time can be saved, and the board card testing speed is improved.
Please refer to fig. 15, which provides a schematic structural diagram of an upper computer according to an embodiment of the present application. As shown in fig. 15, the upper computer 2000 may include: at least one processor 2001, at least one network interface 2004, a user interface 2003, memory 2005, at least one communication bus 2002.
The communication bus 2002 is used to implement connection communication between these components.
The user interface 2003 may include a Display (Display) and a Camera (Camera), and the optional user interface 2003 may further include a standard wired interface and a wireless interface.
The network interface 2004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Processor 2001 may include one or more processing cores, among other things. The processor 2001 connects the respective parts within the entire upper computer 2000 by various interfaces and lines, and performs various functions of the upper computer 2000 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 2005 and calling data stored in the memory 2005. Optionally, the processor 2001 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 2001 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. Wherein, the CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is understood that the modem may not be integrated into the processor 2001, but may be implemented by a single chip.
The Memory 2005 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 2005 includes a non-transitory computer-readable medium. The memory 2005 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 2005 may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 2005 may optionally also be at least one memory device located remotely from the aforementioned processor 2001. As shown in fig. 15, the memory 2005, which is one type of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an image test application program.
In the terminal 2000 shown in fig. 15, the user interface 2003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 2001 may be configured to invoke the image testing application stored in the memory 2005 and specifically perform the following operations:
the upper computer acquires a test image sent by an image acquisition card and the similarity between the test image and a template image;
when the similarity is larger than a similarity threshold value, determining that the test image is normal;
and when the similarity is smaller than or equal to the similarity threshold value, determining that the test image is abnormal.
In one embodiment, the processor 2001 further performs the following operations before performing the acquisition of the test image sent by the image acquisition card and the similarity between the test image and the template image:
receiving at least one frame of sample image continuously sent by an image acquisition card;
and receiving a selection instruction aiming at a template image in the at least one frame of sample image, and sending the template image to the image acquisition card.
In one embodiment, the processor 2001, before performing sending the template image to the image capture card, further performs the following operations:
receiving a key area setting instruction aiming at the template image and a set test frame number;
when the processor 2001 sends the template image to the image capture card, the following operations are specifically performed:
and sending the template image provided with the key area and the test frame number to the image acquisition card.
In the embodiment of the application, an image acquisition card acquires a test image, acquires a template image sent by an upper computer, calculates the similarity of the test image and the template image, and sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal or not based on the similarity. The image acquisition card is used for acquiring images and carrying out similarity calculation, only the calculation result is uploaded to the upper computer, the upper computer simply displays the images and judges whether the images are normal or abnormal according to the similarity, the calculation amount of the upper computer is greatly reduced, calculation resources of the upper computer are released, the board card testing time can be saved, and the board card testing speed is improved.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory or a random access memory.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (19)

1. An image testing method, comprising:
the image acquisition card acquires a test image and acquires a template image sent by an upper computer;
the image acquisition card calculates the similarity of the test image and the template image;
and the image acquisition card sends the similarity and the test image to the upper computer so that the upper computer determines whether the test image is abnormal or not based on the similarity.
2. The method according to claim 1, wherein the image acquisition card acquires the template image sent by the upper computer, and comprises:
the image acquisition card acquires a template image sent by the upper computer and acquires a key area of the template image;
the image acquisition card calculates the similarity between the test image and the template image, and comprises the following steps:
and the image acquisition card compares each pixel of the test image with each pixel of the key area in sequence to acquire the similarity of the test image and the template image.
3. The method according to claim 2, wherein the image capture card compares each pixel of the test image with each pixel of the key region in sequence to obtain the similarity between the test image and the template image, and comprises:
the image acquisition card sequentially traverses each pixel of the test image and judges whether the currently traversed first pixel is in the key area;
if so, the image acquisition card acquires a first color value of the first pixel and a second color value of a second pixel corresponding to the first pixel in the key area, and calculates the square of the difference value of the first color value and the second color value;
the image acquisition card continuously traverses the next pixel of the first pixel, takes the next pixel as the first pixel and executes the step of judging whether the currently traversed first pixel is in the key area;
generating a set of squares comprising said squares when said image acquisition card determines that there is no next pixel;
and the image acquisition card acquires the similarity of the test image and the template image based on the square set.
4. The method according to claim 3, wherein the image capture card captures similarity between the test image and the template image based on the set of squares, comprising:
the image acquisition card calculates the sum of the square sets and acquires the width and the height of the key area;
the image acquisition card acquires a first preset value, a second preset value and a third preset value, and similarity of the test image and the template image is calculated based on the sum, the width, the height, the first preset value, the second preset value and the third preset value.
5. The method of claim 1, further comprising:
the image acquisition card acquires the number of test frames sent by the upper computer;
when the number of the test frames is greater than 1, the image acquisition card sends the similarity and the test image to the upper computer, so that the upper computer determines whether the test image is abnormal based on the similarity, and the method further comprises the following steps:
the image acquisition card acquires a next frame of test image and executes the step of acquiring the template image sent by the upper computer;
and when the number of the image frames acquired by the image acquisition card is equal to the number of the test frames, ending the test.
6. An image testing method, comprising:
the upper computer acquires a test image sent by an image acquisition card and the similarity between the test image and a template image;
when the similarity is larger than a similarity threshold value, the upper computer determines that the test image is normal;
and when the similarity is smaller than or equal to the similarity threshold, the upper computer determines that the test image is abnormal.
7. The method according to claim 6, wherein before the upper computer obtains the test image sent by the image acquisition card and the similarity between the test image and the template image, the method further comprises:
the upper computer receives at least one frame of sample image continuously sent by the image acquisition card;
and the upper computer receives a selection instruction aiming at the template image in the at least one frame of sample image and sends the template image to the image acquisition card.
8. The method according to claim 7, wherein before the upper computer sends the template image to the image acquisition card, the method further comprises:
the upper computer receives a key area setting instruction and a set test frame number aiming at the template image;
the host computer will template image send to image acquisition card includes:
and the upper computer sends the template image provided with the key area and the test frame number to the image acquisition card.
9. An image test apparatus, comprising:
the image acquisition module is used for acquiring a test image and acquiring a template image sent by an upper computer;
the similarity calculation module is used for calculating the similarity of the test image and the template image;
and the similarity sending module is used for sending the similarity and the test image to the upper computer so as to enable the upper computer to determine whether the test image is abnormal or not based on the similarity.
10. The apparatus of claim 9, wherein the image acquisition module is specifically configured to:
acquiring a template image sent by the upper computer, and acquiring a key area of the template image;
the similarity calculation module is specifically configured to:
and comparing each pixel of the test image with each pixel of the key area in sequence to obtain the similarity of the test image and the template image.
11. The apparatus of claim 10, wherein the similarity calculation module comprises:
the pixel judgment unit is used for sequentially traversing each pixel of the test image and judging whether the currently traversed first pixel is in the key area;
a color value calculation unit, configured to, if yes, obtain a first color value of the first pixel and a second color value of a second pixel corresponding to the first pixel in the key area, and calculate a square of a difference between the first color value and the second color value;
the pixel circulating unit is used for continuously traversing the next pixel of the first pixel, taking the next pixel as the first pixel and triggering the pixel judging unit to judge whether the currently traversed first pixel is in the key area;
a set generating unit configured to generate a square set including the square when it is determined that there is no next pixel;
and the similarity acquisition unit is used for acquiring the similarity of the test image and the template image based on the square set.
12. The apparatus according to claim 11, wherein the similarity obtaining unit is specifically configured to:
calculating the sum of the square sets, and acquiring the width and the height of the key area;
and acquiring a first preset value, a second preset value and a third preset value, and calculating the similarity of the test image and the template image based on the sum, the width, the height, the first preset value, the second preset value and the third preset value.
13. The apparatus of claim 9, further comprising:
the frame number acquisition module is used for acquiring the test frame number sent by the upper computer;
the image acquisition module is also used for acquiring a next frame of test image and acquiring a template image sent by an upper computer when the number of the test frames is greater than 1;
and the test ending module is used for ending the test when the number of the acquired image frames is equal to the number of the test frames.
14. An image test apparatus, comprising:
the similarity acquisition module is used for acquiring a test image sent by an image acquisition card and the similarity between the test image and a template image;
the image normality determining module is used for determining that the test image is normal when the similarity is greater than a similarity threshold value;
and the image anomaly determination module is used for determining the anomaly of the test image when the similarity is less than or equal to the similarity threshold.
15. The apparatus of claim 14, further comprising:
the sample receiving module is used for receiving at least one frame of sample image continuously sent by the image acquisition card;
and the template sending module is used for receiving a selection instruction aiming at the template image in the at least one frame of sample image and sending the template image to the image acquisition card.
16. The apparatus of claim 15, further comprising:
the instruction receiving module is used for receiving a key area setting instruction aiming at the template image and the set test frame number;
the template sending module is specifically configured to:
and sending the template image provided with the key area and the test frame number to the image acquisition card.
17. A computer storage medium, characterized in that it stores a plurality of instructions adapted to be loaded by a processor and to perform the method steps according to any of claims 1 to 5 or 6 to 8.
18. An image acquisition card, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 1 to 5.
19. A host computer, comprising: a processor and a memory; wherein the memory stores a computer program adapted to be loaded by the processor and to perform the method steps of any of claims 6 to 8.
CN201911009408.4A 2019-10-23 2019-10-23 Image testing method, device, storage medium, image acquisition card and upper computer Active CN110865911B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911009408.4A CN110865911B (en) 2019-10-23 2019-10-23 Image testing method, device, storage medium, image acquisition card and upper computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911009408.4A CN110865911B (en) 2019-10-23 2019-10-23 Image testing method, device, storage medium, image acquisition card and upper computer

Publications (2)

Publication Number Publication Date
CN110865911A true CN110865911A (en) 2020-03-06
CN110865911B CN110865911B (en) 2024-03-05

Family

ID=69653064

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911009408.4A Active CN110865911B (en) 2019-10-23 2019-10-23 Image testing method, device, storage medium, image acquisition card and upper computer

Country Status (1)

Country Link
CN (1) CN110865911B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113433932A (en) * 2021-08-27 2021-09-24 广州朗国电子科技股份有限公司 Method and device for detecting TCON board video image

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6757428B1 (en) * 1999-08-17 2004-06-29 National Instruments Corporation System and method for color characterization with applications in color measurement and color matching
CN101521834A (en) * 2009-04-02 2009-09-02 深圳市茁壮网络技术有限公司 Automatic testing method, device and system
JP2009211455A (en) * 2008-03-05 2009-09-17 Tokyo Electron Ltd Image processor, image processing method and program
CN106899846A (en) * 2017-02-23 2017-06-27 广州视源电子科技股份有限公司 Board method of testing, apparatus and system
WO2018010391A1 (en) * 2016-07-13 2018-01-18 广州视源电子科技股份有限公司 Board inspection method and device
CN108564521A (en) * 2018-04-16 2018-09-21 河南牧业经济学院 A kind of Computerized image processing system
CN109102514A (en) * 2018-08-16 2018-12-28 广东工业大学 A kind of image partition method, device, equipment and computer readable storage medium
CN109459873A (en) * 2018-11-12 2019-03-12 广州小鹏汽车科技有限公司 A kind of test method, device, Auto-Test System and storage medium
WO2019140880A1 (en) * 2018-01-22 2019-07-25 深圳壹账通智能科技有限公司 Screen recording method, computer readable storage medium, terminal apparatus, and device
CN110346704A (en) * 2019-07-02 2019-10-18 广州视源电子科技股份有限公司 Determination method, apparatus, equipment and the storage medium of test file in board test

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6757428B1 (en) * 1999-08-17 2004-06-29 National Instruments Corporation System and method for color characterization with applications in color measurement and color matching
JP2009211455A (en) * 2008-03-05 2009-09-17 Tokyo Electron Ltd Image processor, image processing method and program
CN101521834A (en) * 2009-04-02 2009-09-02 深圳市茁壮网络技术有限公司 Automatic testing method, device and system
WO2018010391A1 (en) * 2016-07-13 2018-01-18 广州视源电子科技股份有限公司 Board inspection method and device
CN106899846A (en) * 2017-02-23 2017-06-27 广州视源电子科技股份有限公司 Board method of testing, apparatus and system
WO2019140880A1 (en) * 2018-01-22 2019-07-25 深圳壹账通智能科技有限公司 Screen recording method, computer readable storage medium, terminal apparatus, and device
CN108564521A (en) * 2018-04-16 2018-09-21 河南牧业经济学院 A kind of Computerized image processing system
CN109102514A (en) * 2018-08-16 2018-12-28 广东工业大学 A kind of image partition method, device, equipment and computer readable storage medium
CN109459873A (en) * 2018-11-12 2019-03-12 广州小鹏汽车科技有限公司 A kind of test method, device, Auto-Test System and storage medium
CN110346704A (en) * 2019-07-02 2019-10-18 广州视源电子科技股份有限公司 Determination method, apparatus, equipment and the storage medium of test file in board test

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113433932A (en) * 2021-08-27 2021-09-24 广州朗国电子科技股份有限公司 Method and device for detecting TCON board video image

Also Published As

Publication number Publication date
CN110865911B (en) 2024-03-05

Similar Documents

Publication Publication Date Title
CN108682367B (en) Display self-monitoring method and display
CN111045924B (en) Processing method, device and equipment for user interface visual acceptance
CN112637842A (en) Screen projection equipment connection method, system, equipment and storage medium
CN112634227A (en) Detection and identification method and device for PCB jointed board, electronic equipment and storage medium
CN105303143B (en) Information scanning processing method, system and terminal
CN110865911B (en) Image testing method, device, storage medium, image acquisition card and upper computer
CN111277724B (en) Detection method and device for abnormal operation application, electronic equipment and storage medium
JP2009116535A (en) Automatic test system, automatic test method and program
CN112269886B (en) Shared image acquisition method, window sharing method and shared image acquisition device
CN110572641B (en) Display equipment testing method and device and computer readable storage medium
US10296280B2 (en) Captured image sharing system, captured image sharing method and program
CN112150345A (en) Image processing method and device, video processing method and sending card
CN114549533B (en) Template image storage method, device, equipment and storage medium
KR102316969B1 (en) Electronic apparatus capable of recognizing text included in an image captured by a camera and the method thereof
CN116993654B (en) Camera module defect detection method, device, equipment, storage medium and product
CN116827938B (en) Data recharging method, system and storage medium
CN112364761B (en) Testing method and device based on video image recognition algorithm and testing terminal
CN110225239B (en) Electronic device, control method thereof, and storage medium
CN115767078A (en) Screen projection time delay testing method and device and storage medium
CN107046608A (en) Terminal installation, diagnostic system and diagnostic method
US20190335169A1 (en) Method for intelligently configuring video settings
CN116126671A (en) Method, device, equipment and readable storage medium for testing electronic equipment
CN115766984A (en) Program switching time determining method, device and system, electronic equipment and medium
CN111813741A (en) File sharing method and electronic equipment
CN113311960A (en) Pressure detection method and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant