CN110706195A - Keyboard detection method and system - Google Patents

Keyboard detection method and system Download PDF

Info

Publication number
CN110706195A
CN110706195A CN201810652142.4A CN201810652142A CN110706195A CN 110706195 A CN110706195 A CN 110706195A CN 201810652142 A CN201810652142 A CN 201810652142A CN 110706195 A CN110706195 A CN 110706195A
Authority
CN
China
Prior art keywords
keyboard
key
detected
image
standard
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.)
Pending
Application number
CN201810652142.4A
Other languages
Chinese (zh)
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.)
Giga Byte Technology Co Ltd
Original Assignee
Giga Byte Technology 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 Giga Byte Technology Co Ltd filed Critical Giga Byte Technology Co Ltd
Priority to CN201810652142.4A priority Critical patent/CN110706195A/en
Publication of CN110706195A publication Critical patent/CN110706195A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • G06T5/70
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/12Edge-based segmentation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20004Adaptive image processing

Abstract

A keyboard detection method comprises the following steps: obtaining a to-be-detected image of a to-be-detected keyboard; performing a positioning image processing procedure on the image to be detected to obtain a plurality of positions of the keys to be detected in the image to be detected; performing a sharpening image processing procedure on a plurality of to-be-detected parts, positioned on a plurality of to-be-detected key positions, in the to-be-detected image to obtain a plurality of to-be-detected key images; and performing a comparison program to judge whether the plurality of key images to be detected conform to a plurality of standard key images of a standard keyboard. A keyboard detection system is also provided.

Description

Keyboard detection method and system
Technical Field
The present invention relates to a detection method and a system thereof, and more particularly, to a keyboard type detection method and a system thereof.
Background
The existing keyboard assembling procedure is to fix a plurality of keys of a keyboard on a base, then confirm whether each key is placed at the correct position by manual visual inspection, check whether the key has deflection or missing printing and the like, and directly form a keyboard finished product for shipment in a hot-press forming mode after confirming that no error exists.
However, the manual visual inspection method for detecting the yield of the keyboard keys is prone to cause problems of omission and difficulty in mastering the manual time, and if the manual visual inspection method is not effectively managed, the shipment quality and the shipment quantity are prone to be unstable. In addition, when a large amount of products are shipped, a long-time manual visual inspection may greatly affect the health burden of an operator and may reduce the quality, and how to shorten the inspection time and ensure the stability of the quality is an important issue in the assembly of the keyboard.
Disclosure of Invention
The invention provides a keyboard detection method, which utilizes an image identification mode to perform high-quality and stable detection on keyboard keys.
The invention provides a keyboard detection system, which is suitable for the keyboard detection method.
The keyboard detection method comprises the following steps: obtaining a to-be-tested image of a to-be-tested keyboard; performing a positioning image processing procedure on the image to be detected to obtain a plurality of positions of the keys to be detected in the image to be detected; performing a sharpening image processing procedure on a plurality of to-be-detected parts, positioned on a plurality of to-be-detected key positions, in the to-be-detected image according to the plurality of to-be-detected key positions to obtain a plurality of to-be-detected key images; and performing a comparison program to judge whether the plurality of key images to be detected conform to a plurality of standard key images of a standard keyboard. A keyboard detection system is also provided.
In an embodiment of the invention, the positioning image processing program of the keyboard detecting method includes: performing image processing on an image to be detected to obtain a key outline image, wherein the key outline image comprises a plurality of key outlines which are arranged into a plurality of rows along a first direction; counting pixel accumulation of the plurality of key profiles in the first direction to define positions where the plurality of key profiles are arranged in the second direction; and identifying the position of each key contour in the first direction in the plurality of key contours of each row.
In an embodiment of the invention, the positioning image processing program of the keyboard detecting method determines an upper boundary and a lower boundary of the plurality of key profiles of each row in the second direction according to the accumulated amount of pixels of the plurality of key profiles in the first direction, and identifies the amount of pixels between the upper boundary and the lower boundary of the plurality of key profiles of each row to determine a left boundary and a right boundary of each key profile of each row.
In an embodiment of the invention, the sharpening image processing program of the keyboard detecting method includes: performing gray-scale processing on the plurality of parts to be detected; and performing first self-adaptive binarization processing on the parts to be detected.
In an embodiment of the invention, the sharpening image processing program of the keyboard detecting method further includes: filtering processing is performed to remove noise.
In an embodiment of the invention, the keyboard detection method includes, before the comparison procedure: inputting a material number of the keyboard to be tested so as to load a plurality of standard key images of the standard keyboard corresponding to the material number.
In an embodiment of the invention, the keyboard detection method includes, in the comparison program: and comparing whether the outline patterns of the key images to be detected conform to the outline patterns of the standard key images of the standard keyboard.
In an embodiment of the invention, the keyboard detection method further includes, in the comparison program: and comparing whether the total length of the outlines of the key images to be detected conforms to the total length of the outlines of the standard key images of the standard keyboard.
In an embodiment of the invention, before obtaining the image to be tested of the keyboard to be tested, the keyboard testing method further includes: configuring a keyboard to be tested to a positioning structure, wherein the positioning structure comprises a first positioning part extending along a first direction and a second positioning part extending along a second direction, and the keyboard to be tested is abutted to the first positioning part and the second positioning part; and acquiring a to-be-detected image of the to-be-detected keyboard.
In an embodiment of the invention, the keyboard detecting method further includes: the image acquisition device acquires an image to be detected of the keyboard to be detected, and the processor performs a positioning image processing procedure, a sharpening image processing procedure and a comparison procedure.
The keyboard detection system is suitable for detecting whether a keyboard to be detected accords with a standard keyboard or not, and comprises an image acquisition device and a processor. The image acquisition device is suitable for acquiring an image to be detected of the keyboard to be detected. The processor is electrically connected with the image acquisition device and is suitable for receiving the image to be detected, wherein the processor is used for (configured to) positioning a plurality of key positions to be detected in the image to be detected; performing a sharpening image processing procedure on a plurality of to-be-detected parts, positioned on a plurality of to-be-detected key positions, in the to-be-detected image to obtain a plurality of to-be-detected key images; and comparing whether the plurality of key images to be detected conform to a plurality of standard key images of a standard keyboard.
In an embodiment of the invention, the keyboard detecting system further includes an input unit and a database. The input device is electrically connected to the processor and used for inputting the material number of the keyboard to be tested. The database signal is connected to the processor, and the processor loads a plurality of standard key images of the standard keyboard corresponding to the material number from the database.
In an embodiment of the invention, the processor in the keyboard inspection system performs image processing on the image to be inspected to obtain a key profile map, where the key profile map includes a plurality of key profiles arranged in a plurality of rows along a first direction, and counts a pixel accumulation amount of the plurality of key profiles in the first direction to define positions of the plurality of key profiles arranged in a second direction, and identifies positions of the plurality of key profiles in each row in the first direction along the first direction according to the positions of the plurality of key profiles in each row in the second direction to obtain positions of the plurality of keys to be inspected in the image to be inspected.
In an embodiment of the invention, the processor in the keyboard detecting system performs a graying process and a first adaptive binarization process on the plurality of portions to be detected to obtain a plurality of key images to be detected.
In an embodiment of the invention, after the first adaptive binarization processing, the processor performs blurring processing on the multiple parts to be detected, and performs second adaptive binarization processing.
In an embodiment of the invention, the processor in the keyboard inspection system compares whether the profile patterns of the plurality of to-be-inspected key images conform to the profile patterns of the plurality of standard key images of the standard keyboard.
In an embodiment of the invention, the processor in the keyboard inspection system compares whether the total length of the profiles of the plurality of to-be-inspected key images conforms to the total length of the profiles of the plurality of standard key images of the standard keyboard.
Based on the above, the keyboard detection method and the system thereof of the present invention perform image processing on the to-be-detected image obtained from the to-be-detected keyboard in the processor, and compare the to-be-detected key image obtained after the image processing of the to-be-detected image with the standard key image of the standard keyboard, determine whether the to-be-detected key image meets the standard key image, and quickly find out the key with larger difference. The keyboard detection is carried out by the image identification mode of the processor, and the technical effects of shortening the detection time and ensuring the stability of the shipment quality can be achieved.
In order to make the aforementioned and other features and advantages of the invention more comprehensible, embodiments accompanied with figures are described in detail below.
Drawings
FIG. 1 is a diagram of a keyboard inspection system according to an embodiment of the present invention.
FIG. 2 is a cross-sectional top view of the keyboard detection system along line A-A' of FIG. 1.
FIG. 3 is a flowchart of a keyboard detection method according to an embodiment of the present invention.
Fig. 4 is a schematic diagram illustrating a conversion of an image to be detected of a keyboard to be detected, obtained by the keyboard detection system according to an embodiment of the invention, into an image profile.
Fig. 5a to 5b are schematic diagrams illustrating a positioning image processing procedure in a keyboard detecting system according to an embodiment of the invention.
FIG. 6 is a schematic diagram of obtaining a portion to be measured from an image to be measured according to the position of the key to be measured obtained by the positioning image processing procedure.
Fig. 7 to 9 are schematic diagrams of a sharpening image processing procedure in the keyboard detecting system according to some embodiments of the invention.
Fig. 10 is a schematic diagram of a comparison procedure in the keyboard detection system according to an embodiment of the invention.
Description of reference numerals:
100: keyboard detection system
110: image acquisition device
120: processor with a memory having a plurality of memory cells
130: keyboard to be tested
150: cavity body
160: positioning structure
161: a first positioning part
162: second positioning part
170: light source
180: material number
190: input unit
200: database with a plurality of databases
500: key profile
510: key profile
520: pixel accumulation amount
530: upper boundary
540: lower boundary
550: thread
560: left boundary
570: right border
610: site to be measured
620: symbol outline
700. 800 and 900: key image to be measured
910: noise(s)
1010. 1020: image forming method
S310, S320, S330, S340, S710, S720, S810, S820, S830, S840, S910, S920, S930: step (ii) of
D1: a first direction
D2: second direction
R: region(s)
Detailed Description
FIG. 1 is a diagram of a keyboard inspection system according to an embodiment of the present invention. FIG. 2 is a cross-sectional top view of the keyboard detection system along line A-A' of FIG. 1. FIG. 3 is a flowchart of a keyboard detection method according to an embodiment of the present invention. Referring to fig. 1 to fig. 3, in the present embodiment, the keyboard detecting system 100 includes an image capturing device 110 and a processor 120. The image capturing device 110 is adapted to capture a to-be-tested image of a to-be-tested keyboard 130. The processor 120 is electrically connected to the image capturing device 110, and is adapted to receive the image to be tested and perform subsequent processing. In this embodiment, the keyboard test system 100 optionally includes a cavity 150, and the keyboard 130 to be tested is placed in the cavity 150. The image capturing device 110 is disposed in the cavity 150 above the keyboard 130 to be tested. In the present embodiment, the image capturing device 110 is, for example, a camera. In this embodiment, the keyboard detecting system 100 may further include a positioning structure 160 disposed in the cavity 150 for positioning the keyboard 130 to be tested. The positioning structure 160 includes a first positioning portion 161 extending along the first direction D1 and a second positioning portion 162 extending along the second direction D2, the keyboard 130 to be tested abuts against the positioning structure 160, and the keyboard 130 to be tested is initially positioned in a physical manner, so as to avoid the excessive skew of the image to be tested of the keyboard 130 to be tested, which affects the processor 120 to perform subsequent processing procedures. In other embodiments, the locating feature may also be omitted.
In the embodiment, the cavity 150 is, for example, a black box, and a light source 170 is disposed on a sidewall of the cavity 150 to illuminate the keyboard 130 to be tested at a specific angle, but not limited thereto, and in other embodiments, the light source may be omitted. The purpose is to ensure that the quality of the image to be tested is not affected by the interference of the external light source 170 in an unspecified direction when the image capturing device 110 is capturing the image to be tested of the keyboard 130 to be tested.
In the present embodiment, the keyboard 130 to be tested has a material number 180. An input device 190 may be electrically connected to the processor 120. The material number 180 is input by the input device 190, and the information of the material number 180 is transmitted to the processor 120. At this time, the database 200 in signal connection with the processor 120 receives the material number 180 of the keyboard 130 to be tested, and searches for a plurality of standard key images of the standard keyboard corresponding to the material number 180 of the keyboard 130 to be tested. Next, the processor 120 loads the plurality of qwerty key images from the database 200 to be ready for subsequent processing. In the embodiment, the input unit 190 is, for example, a bar code gun, and is adapted to scan the one-dimensional bar code material number 180 on the keyboard 130 to be tested, and convert the material number 180 into a symbol unit to be input into the processor 120, however, the invention is not limited thereto, and those skilled in the art can understand that the material number 180 can be input into the processor 120 by other means. In other embodiments, not shown, the input device may be a keyboard for manually inputting the material number, or may be a Quick Response matrix Code (QR Code) scanner for reading the material number presented in the QR Code. Or when the image acquisition device acquires the image to be detected of the keyboard to be detected, the material number is read in an image identification mode and input into the processor.
In addition, in the present embodiment, the database 200 is a production field management and control system (SFIS) and is in signal connection with the processor 120, and performs data exchange with the processor 120 in real time through cloud signal transmission. However, in other embodiments not shown, the database is, for example, a part of the processor, and the processor directly loads the standard image of the standard keyboard, which is not limited to this.
In step S310, the image capturing device 110 captures an image of the keyboard 130 to be tested. After the processor 120 receives the image to be detected, the processor 120 then performs step S320 to perform an image positioning process on the image to be detected, so as to obtain a plurality of positions of the key to be detected in the image to be detected. In step S330, the processor 120 performs a sharpening process on a plurality of to-be-tested portions of the to-be-tested image located at the plurality of to-be-tested key positions according to the plurality of to-be-tested key positions, so as to obtain a plurality of to-be-tested key images. And for the multiple key images to be tested, in step S340, the multiple key images to be tested are compared with the multiple standard key images of the standard keyboard obtained from the database 200, so as to determine whether the images are consistent with each other, and determine whether the keyboard 130 to be tested has problems such as wrong keys, skew or missing printing.
The details of the positioning image processing procedure in step S320 will be further described below.
Fig. 4 is a schematic diagram illustrating a conversion of an image to be detected of a keyboard to be detected, obtained by the keyboard detection system according to an embodiment of the invention, into an image profile. Fig. 5a to 5b are schematic diagrams illustrating a positioning image processing procedure in a keyboard detecting system according to an embodiment of the invention. Please refer to fig. 4 and fig. 5a to 5 b. In the present embodiment, after the image capturing device 110 captures the to-be-tested image of the to-be-tested keyboard as shown in fig. 4, the image processing removes the symbols on the to-be-tested image and converts the to-be-tested image into the key profile 500 as shown in fig. 4, wherein the key profile 500 includes a plurality of key profiles 510, and the key profiles 510 are arranged in a plurality of rows along the first direction D1.
Next, as shown in fig. 5a, the processor 120 counts the pixel accumulation amount 520 of the key outline 510 in the first direction D1 according to the black pixels in the key outline map 500, and defines the positions of the rows of the key outline 510 arranged in the second direction D2 according to the pixel accumulation amount 520. Since the key outlines 510 are black boxes only around, the accumulated amount of pixels 520 in the first direction D1 on the upper and lower sides of each row of the key outlines 510 is much larger than the rest of the key outlines 510, defining an upper boundary 530 and a lower boundary 540 of each key outline 510 of each row. In the present embodiment, although there is a little noise in the key profile 510 of the region R, the pixel accumulation amount 520 of the black pixels thereof in the first direction D1 is much smaller than the pixel accumulation amount 520 of the upper and lower sides of the respective rows of the key profile 510 in the first direction D1 and the upper and lower boundaries 530 and 540 can be clearly defined.
Thereafter, as shown in FIG. 5b, a line 550 in a first direction D1 is selected between the respective row 530 and the lower boundary 540, the amount of black pixels on the line 550 is identified, and left and right boundaries 560, 570 of the plurality of key outlines 510 in the respective row are determined. The boundary defined by each key outline 510 in the key outline map 500 is identified by the above process to define the position of each key to be tested. It is noted that, in order to make the reference numbers more clear, the reference numbers only take one of the key outlines 510 as an example.
The details of the sharpening image processing procedure in step S330 will be further described below.
FIG. 6 is a schematic diagram of obtaining a portion to be measured from an image to be measured according to the position of the key to be measured obtained by the positioning image processing procedure. Fig. 7 to 9 are schematic diagrams of a sharpening image processing procedure in the keyboard detecting system according to some embodiments of the invention. Please refer to fig. 3 to fig. 9. As shown in fig. 6, after the positions of the keys to be tested are obtained in step S320, a plurality of portions to be tested 610 are taken out from each area of the image to be tested, which is the same as the positions of the keys to be tested, and for clarity, only one of the portions to be tested 610 is shown in fig. 6. In one embodiment, one of the plurality of dut portions 610 obtained in fig. 6 is subjected to the graying process of step S710 as shown in fig. 7. It should be understood by those skilled in the art that the grayscaling process is used to normalize the target portion 610, so as to reduce the amount of data processed by the processor 120 on the target portion 610, thereby enhancing the performance of the processor 120. Then, the first adaptive two-transformation process of step S720 is performed to obtain the key image 700 to be tested. The key image 700 enhances the contrast between black and white of the portion 610 to be detected so that the symbol outline 620 in the portion 610 to be detected can be clearly displayed.
It should be noted that, in another embodiment, if the key of the keyboard to be tested has transparency, the symbol in the image to be tested cannot be clearly displayed. After the graying process of step S810 and the first adaptive binarization process of step S820 are performed, noise such as burrs is generated around the symbol, which is not favorable for image recognition. Therefore, the blurring process of step S830 eliminates smoothing the symbol edges, and then the second adaptive binarization of step S840 is performed to obtain the key image 800 with clear black and white contrast.
In addition, in another embodiment of the present invention, the key image frame to be tested after the graying processing of step S910 and the first adaptive binarization processing of step S920 has a plurality of noises 910 due to poor quality of the image to be tested. Therefore, the filtering process of step S930 is performed to remove the excessive noise 910 on the screen, and the key-press image 900 to be tested with clear black-and-white contrast is obtained.
The details of the alignment procedure in step S340 will be further described below.
Fig. 10 is a schematic diagram of a comparison procedure in the keyboard detection system according to an embodiment of the invention. Please refer to fig. 1 and fig. 10. The image 1010 is, for example, one of the images of the key to be tested obtained by the keyboard detecting system 100 of the present invention. The image 1020 is, for example, one of the standard key images of the standard keyboard loaded by the processor 120 from the database 200, wherein the position of the standard key image in the standard keyboard is the same as the position of the key image to be tested in the image to be tested. In the comparison process, the processor 120 compares the outline patterns of the symbols in the images 1010 and 1020 to determine whether the outline pattern of the symbol in the key image to be tested matches the outline pattern of the symbol in the standard key image of the standard keyboard.
However, since the keyboards are different in country, although the position of the key image 1010 to be detected conforms to the standard key image and there is a certain similarity between the two, the key image to be detected still cannot be regarded as the standard key image. For example, as can be clearly seen from fig. 10, the outline patterns of the left side symbol of the image 1010 and the left side symbol of the image 1020 have high similarity, although the outline pattern of the left side symbol "X" is added to the right side of the image 1010, the processor 120 may determine that the two are the same key images because the image 1010 and the image 1020 have certain similarity (for example, 60% similarity).
Therefore, the comparison program also comprises the step of comparing whether the total length of the outline of the key image to be detected conforms to the total length of the outline of the standard key image of the standard keyboard. In the embodiment of fig. 10, the total length of the outline of the symbol of the image 1010 is obviously different from the total length of the outline of the symbol of the image 1020 because one more symbol "X" is added. The processor 120 can determine whether the plurality of to-be-tested key images processed by the to-be-tested image and the corresponding standard key images all conform to each other according to the above-mentioned outline pattern and the outline total length. If one or more of the key images to be tested and one or more of the corresponding standard key images are determined to be different key images by the comparison program, the processor 120 records the problem found by the comparison program and returns the result, so that the user can quickly confirm the key with the problem in the keyboard 130 to be tested.
In summary, the keyboard inspection method and the system thereof of the present invention firstly ensure that the placement of the keyboard to be inspected is substantially correct by physical positioning, define the upper boundary and the lower boundary of each row of key outlines in the image to be inspected of the keyboard to be inspected by pixel accumulation in the positioning image processing program, select a line in a first direction between the upper boundary and the lower boundary of each row of key outlines, identify the amount of black pixels on the line, and determine the left boundary and the right boundary of each key outline in each row. And then, the image to be detected of the keyboard to be detected is processed into a plurality of key images to be detected by a sharpening image processing program. The key images to be tested are compared with a plurality of standard key images of the standard keyboard to quickly judge whether the keyboard to be tested has the situation of key deflection, missing printing or wrong keys. Therefore, the keyboard detection system is used for detecting the keyboard to be detected, and the process of manually detecting the keyboard to be detected is greatly reduced. The operator only needs to judge the keys with different images from the standard keys according to the keyboard detection system for manual visual inspection, thereby not only reducing the burden of assembling the keyboard by the operator, but also reducing the human error possibly caused by the manual visual inspection, and further ensuring the stability of the shipment quality of the keyboard.
Although the present invention has been described with reference to the above embodiments, it should be understood that various changes and modifications can be made therein by those skilled in the art without departing from the spirit and scope of the invention.

Claims (20)

1. A keyboard detection method is characterized by comprising the following steps:
obtaining a to-be-tested image of a to-be-tested keyboard;
performing a positioning image processing procedure on the image to be detected to obtain a plurality of key positions to be detected in the image to be detected;
according to the plurality of key positions to be detected, performing a sharpening image processing procedure on a plurality of parts to be detected in the image to be detected, which are positioned on the plurality of key positions to be detected, so as to obtain a plurality of key images to be detected; and
and performing a comparison procedure to judge whether the plurality of key images to be detected conform to a plurality of standard key images of a standard keyboard.
2. The keyboard detecting method of claim 1, wherein the positioning image processing procedure comprises:
processing the image to be detected to obtain a key outline drawing, wherein the key outline drawing comprises a plurality of key outlines which are arranged into a plurality of rows along a first direction;
counting pixel accumulation of the key outlines in the first direction to define positions where the key outlines are arranged in a second direction; and
and identifying the position of each key contour in the first direction in the plurality of key contours of each row.
3. The keyboard detecting method of claim 2, wherein an upper boundary and a lower boundary of the key contours of each row in the second direction are determined according to the pixel accumulation of the key contours in the first direction, and a left boundary and a right boundary of the key contours of each row are determined by identifying the pixel amount between the upper boundary and the lower boundary of the key contours of each row.
4. The keyboard detection method of claim 1, wherein the sharpening image processing procedure comprises:
performing gray-scale processing on the plurality of parts to be detected; and
and carrying out first self-adaptive binarization processing on the parts to be detected.
5. The keyboard detection method of claim 4, wherein after the first adaptive binarization processing, the sharpening image processing procedure further comprises:
fuzzification processing is carried out on the plurality of parts to be detected; and
and carrying out second self-adaptive binarization processing on the parts to be detected.
6. The keyboard detection method of claim 1, wherein the sharpening image processing procedure further comprises:
filtering processing is performed to remove noise.
7. The keyboard detection method of claim 1, wherein prior to the comparison procedure, comprising:
inputting a material number of the keyboard to be tested so as to load the standard key images of the standard keyboard corresponding to the material number.
8. The keyboard detecting method of claim 1, wherein the comparing program comprises:
and comparing whether the outline patterns of the plurality of key images to be detected accord with the outline patterns of a plurality of standard key images of the standard keyboard.
9. The keyboard detecting method of claim 8, wherein the comparison program further comprises:
and comparing whether the total length of the outlines of the key images to be detected conforms to the total length of the outlines of the standard key images of the standard keyboard.
10. The keyboard detecting method of claim 1, further comprising, before obtaining the image of the keyboard under test, the steps of:
configuring the keyboard to be tested to a positioning structure, wherein the positioning structure comprises a first positioning portion extending along a first direction and a second positioning portion extending along a second direction, and the keyboard to be tested is abutted against the first positioning portion and the second positioning portion; and
and acquiring the image to be tested of the keyboard to be tested.
11. The keyboard detection method of claim 1, further comprising:
providing an image acquisition device and a processor electrically connected to the image acquisition device, wherein the image acquisition device acquires the image to be detected of the keyboard to be detected, and the processor performs the positioning image processing procedure, the sharpening image processing procedure and the comparison procedure.
12. A keyboard detecting system is suitable for detecting whether a keyboard to be detected conforms to a standard keyboard, and comprises:
the image acquisition device is suitable for acquiring a to-be-detected image of the to-be-detected keyboard; and
a processor electrically connected to the image capturing device and adapted to receive the image to be detected, the processor being configured to:
positioning a plurality of key positions to be detected in the image to be detected;
performing a sharpening image processing procedure on a plurality of to-be-detected parts, positioned on the plurality of to-be-detected key positions, in the to-be-detected image to obtain a plurality of to-be-detected key images; and
and comparing whether the plurality of key images to be detected accord with a plurality of standard key images of the standard keyboard.
13. The keyboard detection system of claim 12, wherein the keyboard detection method further comprises:
the input device is electrically connected to the processor and used for inputting a material number of the keyboard to be tested; and the processor loads the standard key images of the standard keyboard corresponding to the material number from the database.
14. The keyboard detection system of claim 12, wherein the keyboard detection method further comprises:
the keyboard to be tested is configured to the positioning structure, wherein the positioning structure comprises a first positioning part extending along a first direction and a second positioning part extending along a second direction, and the keyboard to be tested is abutted to the first positioning part and the second positioning part.
15. The keyboard inspection system of claim 12, wherein the processor performs image processing on the image to obtain a key profile map, the key profile map includes a plurality of key profiles, the key profiles are arranged in a plurality of rows along a first direction, the pixel accumulation of the key profiles in the first direction is counted to define positions of the key profiles arranged in a second direction, and the positions of the key profiles in the first direction of each row are identified along the first direction according to the positions of the key profiles in the second direction of each row to obtain the positions of the keys to be inspected in the image to be inspected.
16. The keyboard detection system of claim 12, wherein the processor performs a graying process and a first adaptive binarization process on the plurality of portions to be detected to obtain a plurality of key images to be detected.
17. The keyboard detection system of claim 16, wherein after the first adaptive binarization processing, the processor performs blurring processing on the plurality of portions to be detected and performs a second adaptive binarization processing.
18. The keyboard detection system of claim 12, wherein the processor performs a filtering process to remove noise.
19. The keyboard inspection system of claim 12, wherein the processor compares whether the outline pattern of the key images to be inspected matches the outline pattern of the standard key images of the standard keyboard.
20. The keyboard inspection system of claim 12, wherein the processor compares whether the total length of the outline of the key images to be inspected matches the total length of the outline of the standard key images of the standard keyboard.
CN201810652142.4A 2018-06-22 2018-06-22 Keyboard detection method and system Pending CN110706195A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810652142.4A CN110706195A (en) 2018-06-22 2018-06-22 Keyboard detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810652142.4A CN110706195A (en) 2018-06-22 2018-06-22 Keyboard detection method and system

Publications (1)

Publication Number Publication Date
CN110706195A true CN110706195A (en) 2020-01-17

Family

ID=69192139

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810652142.4A Pending CN110706195A (en) 2018-06-22 2018-06-22 Keyboard detection method and system

Country Status (1)

Country Link
CN (1) CN110706195A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815452A (en) * 2005-01-31 2006-08-09 英群企业股份有限公司 Automatic vision identifying system for identifying keyboard
CN104866849A (en) * 2015-04-30 2015-08-26 天津大学 Food nutrition label identification method based on mobile terminal
CN106529592A (en) * 2016-11-07 2017-03-22 湖南源信光电科技有限公司 License plate recognition method based on mixed feature and gray projection
CN106570511A (en) * 2016-11-02 2017-04-19 上海大学 Keyboard character defect online detection system based on computer vision and keyboard character defect online detection method thereof
CN106596567A (en) * 2016-12-07 2017-04-26 英业达科技有限公司 Keyboard panel on-line detecting method and implementing system thereof
CN106886989A (en) * 2015-12-11 2017-06-23 东莞东聚电子电讯制品有限公司 The automatic optical detection method of keyboard

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1815452A (en) * 2005-01-31 2006-08-09 英群企业股份有限公司 Automatic vision identifying system for identifying keyboard
CN104866849A (en) * 2015-04-30 2015-08-26 天津大学 Food nutrition label identification method based on mobile terminal
CN106886989A (en) * 2015-12-11 2017-06-23 东莞东聚电子电讯制品有限公司 The automatic optical detection method of keyboard
CN106570511A (en) * 2016-11-02 2017-04-19 上海大学 Keyboard character defect online detection system based on computer vision and keyboard character defect online detection method thereof
CN106529592A (en) * 2016-11-07 2017-03-22 湖南源信光电科技有限公司 License plate recognition method based on mixed feature and gray projection
CN106596567A (en) * 2016-12-07 2017-04-26 英业达科技有限公司 Keyboard panel on-line detecting method and implementing system thereof

Similar Documents

Publication Publication Date Title
US8139117B2 (en) Image quality analysis with test pattern
CN107316047B (en) Image processing apparatus, image processing method, and storage medium
WO2017020829A1 (en) Resolution testing method and resolution testing device
KR100598381B1 (en) in-line typed apparatus for auto wafer-defect classification and control method thereof
TWI669519B (en) Board defect filtering method and device thereof and computer-readabel recording medium
US20050123195A1 (en) Image processing method and image processing apparatus
US10509934B1 (en) Methods and apparatus for improving QR code locator detectability and/or finding the corners of a locator pattern
CN111353992B (en) Agricultural product defect detection method and system based on textural features
US20180293425A1 (en) Symbol Detection for Desired Image Reconstruction
US8355546B2 (en) Method for identifying fingerprint image
US20120020535A1 (en) Unique, repeatable, and compact biometric identifier
JP2021039734A (en) Specification of module size of optical code
US20050271260A1 (en) Device, method and program for removing pores
JP5772675B2 (en) Gray image edge extraction method, edge extraction device, and gray image edge extraction program
KR101842535B1 (en) Method for the optical detection of symbols
TWI670683B (en) Keyboard inspection method and inspection system same
CN110706195A (en) Keyboard detection method and system
JP5379626B2 (en) Stack bar code information reading method and stack bar code information reading device
CN116597016A (en) Optical fiber endoscope image calibration method
JPH0210461B2 (en)
US20220051041A1 (en) Method for processing image, electronic device, and storage medium
CN115115596A (en) Electronic component detection method and device and automatic quality inspection equipment
CN113269758A (en) Cigarette appearance detection method and test device based on machine vision
CN114092542A (en) Bolt measuring method and system based on two-dimensional vision
KR101826637B1 (en) Apparatus and method for image brightness correction in identification recognizer

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200117