[go: up one dir, main page]

CN111915563A - Appearance inspection method, system, equipment and storage medium - Google Patents

Appearance inspection method, system, equipment and storage medium Download PDF

Info

Publication number
CN111915563A
CN111915563A CN202010626946.4A CN202010626946A CN111915563A CN 111915563 A CN111915563 A CN 111915563A CN 202010626946 A CN202010626946 A CN 202010626946A CN 111915563 A CN111915563 A CN 111915563A
Authority
CN
China
Prior art keywords
data
current
image
detection point
real
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.)
Withdrawn
Application number
CN202010626946.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.)
Shenzhen Fuyuan Software Co ltd
Original Assignee
Shenzhen Fuyuan Software 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 Shenzhen Fuyuan Software Co ltd filed Critical Shenzhen Fuyuan Software Co ltd
Priority to CN202010626946.4A priority Critical patent/CN111915563A/en
Publication of CN111915563A publication Critical patent/CN111915563A/en
Priority to CN202110693398.1A priority patent/CN113689323B/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01NINVESTIGATING OR ANALYSING MATERIALS BY DETERMINING THEIR CHEMICAL OR PHYSICAL PROPERTIES
    • G01N21/00Investigating or analysing materials by the use of optical means, i.e. using sub-millimetre waves, infrared, visible or ultraviolet light
    • G01N21/84Systems specially adapted for particular applications
    • G01N21/88Investigating the presence of flaws or contamination
    • G01N21/89Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles
    • G01N21/892Investigating the presence of flaws or contamination in moving material, e.g. running paper or textiles characterised by the flaw, defect or object feature examined

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Theoretical Computer Science (AREA)
  • Textile Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Quality & Reliability (AREA)
  • Chemical & Material Sciences (AREA)
  • Analytical Chemistry (AREA)
  • Biochemistry (AREA)
  • General Health & Medical Sciences (AREA)
  • Immunology (AREA)
  • Pathology (AREA)
  • Investigating Materials By The Use Of Optical Means Adapted For Particular Applications (AREA)

Abstract

The invention provides an appearance inspection method, which comprises the following steps: selecting an object to be checked; selecting a plurality of pre-stored illumination data according to an object to be checked; selecting a pre-stored lighting data; controlling an illuminating device of the appearance inspection system to illuminate an inspected surface of an object to be inspected according to the current wavelength data and the current brightness data, and controlling a focusing photographing device to photograph the inspected surface to obtain photographing data; judging whether the current photographing data is the same as the current image contrast data; the invention also provides an appearance inspection system, which comprises a selection module, a data selection module, an illumination photographing module and an image comparison module, and also provides computer equipment, which comprises a memory, a processor and a computer program which is stored in the memory and can run on the processor; the invention also provides a computer readable storage medium, which stores a computer program and achieves the purpose of improving the accuracy of checking whether the object is qualified.

Description

Appearance inspection method, system, equipment and storage medium
Technical Field
The present invention relates to the field of appearance inspection technology, and more particularly, to an appearance inspection method, apparatus, device, and storage medium.
Background
After the article is produced, the surface of the article needs to be inspected. If the surface of the object is detected to have defects, the object is unqualified. If the surface of the object is inspected to have no defects, the object is qualified. Typically, the blemishes include dirt, dust, scratches, oil stains, and the like. In the prior art, the surface of an object is usually inspected in a manual mode, and tiny flaws on the surface of the object are not easy to be inspected in a manual mode, so that the accuracy of judging whether the object is qualified is influenced.
Disclosure of Invention
One objective of the present invention is to provide an appearance inspection method to solve the technical problem of low accuracy in determining whether an inspection object is qualified in the prior art.
In order to realize one of the purposes, the invention adopts the technical scheme that: provided is an appearance inspection method including the steps of:
selecting an object to be checked;
selecting a plurality of pre-stored illumination data according to the object to be checked, wherein each pre-stored illumination data comprises wavelength data, brightness data, focal length data and image contrast data;
selecting one pre-stored lighting data;
controlling an illuminating device of an appearance inspection system to illuminate the inspected surface of the object to be inspected according to the current wavelength data and the current brightness data, and controlling a focus-adjustable photographing device of the appearance inspection system to photograph the inspected surface according to the focal length data to obtain photographing data;
judging whether the current photographing data is the same as the current image contrast data or not, if so, returning to the step of selecting one pre-stored illumination data until all the pre-stored illumination data are selected; and if the current photographing data is different from the current image contrast data, the object to be inspected is unqualified.
Further, before selecting a plurality of pre-stored illumination data according to the object to be inspected, the method further comprises the following steps:
selecting a standard reference object according to the object to be checked;
determining a plurality of detection points on the detected surface of the standard reference object according to a plurality of detection points on the detected surface of the object to be detected, wherein each detection point corresponds to each detection point one by one;
selecting a detection point;
adjusting the wavelength and the brightness of the illuminating device to illuminate one detection point, and simultaneously controlling the focal distance between the focusing photographing device and the current detection point to photograph so as to obtain a corresponding real-time image;
judging whether the current real-time image is the clearest image or not, if so, recording the current real-time image as image contrast data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming current prestored lighting data through the current focal length data, the current image contrast data, the current wavelength data and the current brightness data, and returning to execute the step of selecting a detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
Further, judging whether the current real-time image is the clearest image or not, if the current real-time image is the clearest image, recording the current real-time image as the image contrast data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming the current prestored lighting data by the current focal length data, the current image contrast data, the current wavelength data and the current brightness data, and returning to execute the step of selecting one detection point until the detection point is confirmed to be selected; if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point and controlling the focusable shooting device to shoot the current detection point to obtain the corresponding real-time image, wherein the step of:
judging whether an electric signal corresponding to the current real-time image is in a threshold value or not through the focusing photographing device, if so, recording the current real-time image as image comparison data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming current prestored lighting data through the current focal length data, the current image comparison data, the current wavelength data and the current brightness data, and returning to execute the step of selecting one detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
Further, judging whether the current photographing data is the same as the current image contrast data or not, if so, returning to the step of selecting one pre-stored lighting data until all the pre-stored lighting data are selected; if the current photographing data is different from the current image comparison data, the step that the object to be checked is unqualified is as follows:
judging whether the current photographing data is the same as the current image contrast data or not through an image contrast system, if so, returning to the step of selecting one pre-stored lighting data by the appearance inspection system until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image comparison data, the appearance inspection system outputs that the object to be inspected is unqualified.
The second purpose of the invention is to provide an appearance inspection system, and in order to realize the second purpose, the invention adopts the technical scheme that: an appearance inspection system comprising:
the selection module selects an object to be checked;
the data selection module is used for selecting a plurality of pre-stored illumination data according to the object to be checked, wherein each pre-stored illumination data comprises wavelength data, brightness data, focal length data and image contrast data;
the pre-storage selection module selects one pre-storage illumination data;
the illumination photographing module is used for controlling an illumination device of an appearance inspection system to illuminate the inspected surface of the object to be inspected according to the current wavelength data and the current brightness data, and controlling a focus-adjustable photographing device of the appearance inspection system to photograph the inspected surface according to the focal length data to obtain photographing data; the image comparison module is used for judging whether the current photographing data is the same as the current image comparison data or not, and if the current photographing data is the same as the current image comparison data, the step of selecting one pre-stored lighting data is returned until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image contrast data, the object to be inspected is unqualified.
Further, still include:
the reference selection module is used for selecting a standard reference object according to the object to be checked;
the detection point positioning module is used for determining a plurality of detection points on the detected surface of the standard reference object according to a plurality of detection points on the detected surface of the object to be detected, wherein each detection point corresponds to each detection point one by one;
the detection point selection module selects one detection point;
the real-time image acquisition module is used for adjusting the wavelength and the brightness of the lighting device to light one detection point and simultaneously controlling the focus between the focusing photographing device and the current detection point to photograph so as to obtain a corresponding real-time image;
a clearest image recognition module for judging whether the current real-time image is a clearest image, if so, recording the current real-time image as the image contrast data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming the current prestored lighting data by the current focal length data, the current image contrast data, the current wavelength data and the current brightness data, and returning to execute the step of selecting one detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
Further, the clearest image recognition module is set as: judging whether an electric signal corresponding to the current real-time image is in a threshold value or not through the focusing photographing device, if so, recording the current real-time image as image comparison data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming current prestored lighting data through the current focal length data, the current image comparison data, the current wavelength data and the current brightness data, and returning to execute the step of selecting one detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
Further, the image comparison module is configured to: judging whether the current photographing data is the same as the current image contrast data or not through an image contrast system, if so, returning to the step of selecting one pre-stored lighting data by the appearance inspection system until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image comparison data, the appearance inspection system outputs that the object to be inspected is unqualified.
The third purpose of the present invention is to provide a computer device, in order to achieve the third purpose, the technical solution adopted by the present invention is: there is provided a computer device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, the processor executing the computer program to implement the one overseeing method as described above.
The fourth objective of the present invention is to provide a computer-readable storage medium, in order to achieve the fourth objective, the technical solution adopted by the present invention is: there is provided a computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, carries out one of the above-mentioned methods of extrinsic examination.
The external inspection method, the external inspection system, the external inspection equipment and the storage medium have the advantages that: compared with the prior art, whether the inspected surface of the object to be inspected has flaws or not is judged, so that whether the object to be inspected is qualified or not is judged, and the speed of inspecting the object to be inspected is improved. Under the same wavelength data and brightness data, the photographing data corresponding to the qualified object to be inspected must be consistent with the image contrast data. If the photographing data and the image contrast data are inconsistent under the same wavelength data and brightness data, it is proved that the detected surface of the object to be detected has flaws, the object to be detected is regarded as a defective product, and the object to be detected is not suitable for leaving a factory.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a first schematic structural diagram of an inspection apparatus according to an embodiment of the present invention;
FIG. 2 is an enlarged schematic view of the structure at A in FIG. 1;
FIG. 3 is a first schematic structural diagram of a clamping end of a clamping device of an inspection apparatus according to an embodiment of the present invention;
FIG. 4 is a second schematic structural view of a clamping end of a clamping device of an inspection apparatus according to an embodiment of the present invention;
FIG. 5 is a third schematic structural view of a clamping end of a clamping device of an inspection apparatus according to an embodiment of the present invention;
FIG. 6 is a second schematic structural diagram of an inspection apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an inspection apparatus according to an embodiment of the present invention;
fig. 8 is a first schematic flow chart of an appearance inspection apparatus according to an embodiment of the present invention;
fig. 9 is a second schematic flow chart of an appearance inspection apparatus according to an embodiment of the present invention;
FIG. 10 is a block diagram of an appearance inspection system according to an embodiment of the present invention;
FIG. 11 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
FIG. 12 is a schematic structural diagram of a lens member according to an embodiment of the present invention;
fig. 13 is a cross-sectional view at B-B in fig. 12.
Wherein, in the figures, the respective reference numerals:
1. a graphic card device; 11. a monochrome graphic card; 12. an adjustment movement device; 13. a backlight device; 14. an illuminating member; 2. an image sensing device; 3. a distance increasing device; 31. a distance-increasing mirror; 32. adjusting the movable device; 4. detecting a region; 5. a conveying device; 6. a clamping device; 61. clamping the end; 611. a fixing plate; 612. a through hole; 613. an elastic sheet; 614. a finger cylinder; 62. a fixed end portion; 7. a focus adjustable photographing device; 8. an illumination device; 9. an examination region; 101. selecting a module; 102. a data selection module; 103. pre-storing a selection module; 104. an illumination photographing module; 105. an image comparison module; 106. a reference selection module; 107. a detection point positioning module; 108. a detection point selection module; 109. a real-time image acquisition module; 1010. a clearest image recognition module; 11a, a lens; 11b, a light through hole; 11c, a fixed seat; 11d, a detected surface; 11e, a first check point; 11f, a second checkpoint; 11g, third checkpoint.
Detailed Description
In order to make the technical problems, technical solutions and advantageous effects to be solved by the present invention more clearly apparent, the present invention is further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
It will be understood that when an element is referred to as being "secured to" or "disposed on" another element, it can be directly on the other element or be indirectly on the other element. When an element is referred to as being "connected to" another element, it can be directly connected to the other element or be indirectly connected to the other element.
It will be understood that the terms "length," "width," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like, as used herein, refer to an orientation or positional relationship indicated in the drawings that is solely for the purpose of facilitating the description and simplifying the description, and do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and is therefore not to be construed as limiting the invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present invention, "a plurality" means two or more unless specifically defined otherwise.
Referring to fig. 1 and fig. 2 together, an inspection apparatus according to the present invention will now be described. An inspection apparatus includes a card apparatus 1 and an image sensing apparatus 2;
the image card device 1 comprises a monochrome image card 11, wherein the monochrome image card 11 has a monochrome surface;
the acquisition end of the image sensing device 2 faces the monochromatic surface, the image sensing device 2 and the monochromatic graphic card 11 are arranged at intervals, a detection area 4 is arranged between the acquisition end of the image sensing device 2 and the monochromatic graphic card 11, and the detection area 4 is used for placing a lens piece.
A user places a lens piece in the detection area 4, controls the image sensing device 2, enables the acquisition end of the image sensing device 2 to acquire an inspection image of a single color surface through the current light through hole of the lens piece, and if no impurity image exists on the inspection image, the inspection image proves that no defect exists in the current light through hole of the lens piece; if the inspection image includes an image of foreign matter, it is verified that there is something wrong with the light-passing hole of the lens member at present. The inspection device has simple structure and low cost. Whether the corresponding lens piece is provided with the defective object or not is judged through the inspection image, the user does not need to directly observe the light through hole of the lens piece by eyes, and the efficiency of inspecting the light through hole of the lens piece is improved.
Specifically, the image card device 1 and the image sensing device 2 are disposed on a preset plane (not shown) which is set as a table top or an inner table top of a dust box.
In particular, the lens element is provided as a lens or a lens.
Specifically, the image sensing device 2 is set as an image sensing chip or an industrial camera. The image sensor device 2 is preferably electrically connected to a computing center (not shown) which comprises a memory, a processor and a computer program stored in the memory and executable on the processor. The calculation center stores a standard image of a single color surface, receives the inspection image and compares the inspection image with the standard image, if the inspection image is different from the standard image, the inspection image is proved to have a defective object in a light through hole of the lens piece corresponding to the inspection image, and the calculation center sends out reminding information; if the inspection image is the same as the standard image, the inspection image proves that no defect exists in the light through hole of the lens piece corresponding to the inspection image, and the calculation center does not send out reminding information.
Specifically, the foreign matter image is set as a spot image on the inspection image or/and a bar image on the inspection image.
Further, referring to fig. 1 and fig. 2 together, as an embodiment of the inspection apparatus provided by the present invention, the inspection apparatus further includes a distance-increasing device 3, the distance-increasing device 3 includes a distance-increasing mirror 31, the distance-increasing mirror 31 is disposed between the monochromatic surface and the image sensing apparatus 2, one end of the distance-increasing mirror 31 faces the collecting end of the image sensing apparatus 2, the other end faces the monochromatic surface, and the detection area 4 is located between the distance-increasing mirror 31 and the collecting end of the image sensing apparatus 2.
After the lens element is placed in the detection area 4, the distance increasing lens 31 increases the focal length of the lens element, so that the acquisition end of the image sensing device 2 acquires an inspection image of a monochromatic surface through the current light through hole of the lens element and the distance increasing lens 31. The acquisition end of the image sensing device 2, the light through hole of the lens piece and the range extender 31 are matched to simulate to carry out far-focus shooting on a single-color surface, the distance between the single-color image card 11 and the acquisition end of the image sensing device 2 does not need to be set far, and the size of the inspection device is reduced.
Specifically, the pitch device 3 is disposed on a preset plane.
Further, referring to fig. 1 and fig. 2, as a specific embodiment of the inspection apparatus provided by the present invention, the distance-increasing device 3 further includes an adjusting movable device 32, the distance-increasing lens 31 is fixed at an output end of the adjusting movable device 32, the adjusting movable device 32 avoids the detection area 4, the adjusting movable device 32 is used for driving the distance-increasing lens 31 to be far away from or close to the acquisition end of the image sensing apparatus 2, the adjusting movable device 32 does not affect the lens piece to be placed in the detection area 4, so as to conveniently adjust the distance between the distance-increasing lens 31 and the image sensing apparatus 2, and improve the convenience of using the inspection apparatus.
Specifically, the adjustment movement device 32 is fixed on a preset plane.
Optimally, the adjustment mechanism 32 is configured as an XYZ-axis adjustment mechanism or a Z-axis module.
Further, referring to fig. 1 and fig. 2, as a specific embodiment of the inspection apparatus provided by the present invention, the image card apparatus 1 further includes an adjusting movement apparatus 12, the monochrome image card 11 is fixed on an output end of the adjusting movement apparatus 12, the adjusting movement apparatus 12 is used for driving the monochrome image card 11 to move away from or close to a collecting end of the image sensing apparatus 2, the adjusting movement apparatus 12 avoids the detection area 4, the adjusting movement apparatus 12 does not affect the placement of the lens piece in the detection area 4, so as to conveniently adjust the distance between the image card apparatus 1 and the image sensing apparatus 2, and improve the convenience of using the inspection apparatus.
In particular, the adjustment movement means 12 are fixed on a preset plane.
Optimally, the adjusting movement device 12 is configured as an XYZ-axis adjusting device or a Z-axis module.
Further, referring to fig. 1 to fig. 2, as a specific embodiment of the inspection apparatus provided by the present invention, the inspection apparatus further includes a conveying device 5 and a clamping device 6, the clamping device 6 has a clamping end 61 and a fixing end 62, the clamping end 61 of the clamping device 6 is used for clamping the lens, the fixing end 62 of the clamping device 6 is fixed on the output end of the conveying device 5, the conveying device 5 is used for driving the clamping device 6 to drive the lens to move into the detection area 4 or away from the detection area 4, and the conveying device 5 and the clamping device 6 avoid the detection area 4.
The conveying device 5 is convenient for controlling the clamping device 6 to move, and then the lens piece on the clamping end part 61 moves along with the movement of the clamping device 6, so that the lens piece can conveniently enter and exit the detection area 4, and the use convenience of the inspection device is improved.
By clamping the lens member by the clamping end 61, the clamping end 61 does not affect the image sensing device 2
In particular, the conveying device 5 is fixed on a preset plane.
The transport device 5 is preferably an XYZ-axis adjustment device or an X-axis module.
Further, referring to fig. 1 and fig. 6, as an embodiment of the inspection apparatus provided by the present invention, the conveying device 5 has a plurality of output ends, the plurality of clamping devices 6 are provided, each clamping device 6 corresponds to one output end of the conveying device 5, and the clamping devices 6 are fixed on the output ends of the corresponding conveying devices 5.
When the lens member on one holding device 6 is in the detection area 4, the lens member on the other holding device 6 can be processed or the lens can be placed on the holding device 6 without the lens member, thereby improving the convenience of the inspection device.
Specifically, a plurality of output ends of the conveyor 5 are integrally provided, and in this case, the conveyor 5 is configured as a conveyor belt device.
Further, referring to fig. 2 to 5, as an embodiment of the inspection apparatus provided by the present invention, the clamping end 61 of the clamping device 6 is provided as a fixing plate 611 having a through hole 612, or two elastic pieces 613 disposed oppositely, or two output shafts of the finger cylinder 614.
When the lens is placed in the through hole 612, the lens is not easy to move on the fixing plate 611, and the lens is simple in structure and very practical; the distance between the two elastic pieces 613 is conveniently adjusted to hold lens pieces of different specifications. The finger cylinder 614 is convenient to use and facilitates clamping and releasing the lens piece.
Further, referring to fig. 1 and fig. 2, as an embodiment of an inspection apparatus provided by the present invention, the card apparatus 1 further includes a backlight device 13 with adjustable brightness, the monochrome card 11 is a light-transmitting card, the monochrome surface of the monochrome card 11 is a monochrome light-transmitting plane, the backlight device 13 is disposed on a side of the monochrome card 11 facing away from the monochrome surface, and a light-emitting side of the backlight device 13 faces the monochrome card 11.
The light emitted from the backlight device 13 passes through the light-transmitting graphic card, so that the image sensing device 2 can acquire a clear inspection image. The brightness of the backlight device 13 is adjusted according to the lens pieces with different specifications, so that the image sensing device 2 can acquire clear inspection images through the lens pieces with different specifications. The brightness of the backlight device 13 is kept unchanged, so that a user can conveniently check the lens piece with the same specification, and the difficulty of using the checking device is reduced.
Further, as a specific embodiment of the inspection apparatus provided by the present invention, the monochrome card 11 is fixed on the backlight device 13, so that the volume of the card apparatus 1 is reduced, and the monochrome card 11 and the backlight device 13 can be moved simultaneously.
Specifically, the backlight 13 may be fixed on an output shaft of the adjustment movement device 12.
Further, referring to fig. 6, as an embodiment of the inspection apparatus provided by the present invention, the card apparatus 1 further includes an illumination component 14 with adjustable brightness, the monochrome card 11 is an opaque card, the monochrome plane of the monochrome card 11 is a monochrome opaque plane, the illumination component 14 is used for illuminating the monochrome opaque plane, and the illumination component 14 is located at one side of the inspection area 4.
The light emitted by the illuminating element 14 is irradiated on the opaque picture card, so that the image sensing device 2 can acquire a clear inspection image conveniently. The brightness of the illuminating part 14 is adjusted according to the lens parts with different specifications, so that the image sensing device 2 can obtain clear inspection images through the lens parts with different specifications. The brightness of the illuminating piece 14 is kept unchanged, so that a user can conveniently inspect the lens piece with the same specification, and the difficulty of using the inspection device is reduced.
In particular, the illumination member 14 and the opaque chart are fixed to the output shaft of the adjustment movement device 12.
Further, as a specific embodiment of an inspection apparatus provided by the present invention, the monochrome surface is set to be a black plane or a white plane, and the background of the inspection image is black or white, so as to facilitate rapid identification of whether the inspection image is different from the standard image.
Referring to fig. 1, 6 and 7 together, an appearance inspection apparatus according to the present invention will now be described. The appearance inspection device comprises a focusing photographing device 7 and an illuminating device 8 capable of adjusting wavelength and brightness, wherein a photographing end of the focusing photographing device 7 and an illuminating end of the illuminating device 8 face an inspection area 9, a photographing end of the focusing photographing device 7 avoids the illuminating device 8, and the focusing photographing device 7 and the illuminating device 8 are electrically connected with a photo processing center.
Placing an object to be inspected in an inspection area 9, adjusting the brightness and wavelength of an illuminating device 8 according to prestored illumination data, illuminating the detected surface of the object to be inspected by the adjusted illuminating device 8, then photographing the illuminated detected surface by a focusable photographing device 7 to obtain photographing data, comparing the photographing data with image comparison data of the prestored illumination data, and if the photographing data is the same as the image comparison data, determining that the object to be inspected is qualified; if the photographing data is different from the image contrast data, the object to be inspected is unqualified. When the detected surface of the object to be inspected has tiny flaws, the difference between the photographing data and the image contrast data can be caused. The visual inspection device is simple in structure, whether the object to be inspected is qualified or not can be rapidly distinguished through comparison of the photographing data and the image comparison data, and the accuracy rate of whether the object to be inspected is qualified or not is improved. The photo processing center is convenient for rapidly comparing the photographing data with the image comparison data, the object to be checked does not need to be checked by eyes manually, and the speed and the accuracy of checking the object to be checked are improved. The check points with different heights on the detected surface of the object to be checked are photographed through the focusing photographing device 7, so that clear images of each check point are guaranteed to be obtained, and whether flaws exist at each check point is determined.
Specifically, the focus-adjustable photographing device 7 is set as a focus-adjustable camera or a fixed-focus camera mounted on an output shaft of the linear driving assembly. And the linear driving assembly drives the fixed-focus camera to focus with the object to be inspected. The focusing camera adjusts the focal length between the focusing camera and an object to be inspected through a focusing lens of the focusing camera.
Optimally, the linear driving assembly is set to be a Z-axis module or an air cylinder, the Z-axis module plays a role in accurately adjusting the fixed-focus camera, and the air cylinder is low in cost.
Specifically, the focus-adjustable photographing device 7 and the illumination device 8 are disposed on a preset plane.
Specifically, the image contrast data is set as a contrast picture, and the photographing data is set as a photographing picture.
Specifically, the object to be inspected is set as a lens piece or a mobile phone case or a mobile phone screen.
Further, referring to fig. 1 and fig. 2, as a specific embodiment of the appearance inspection apparatus provided by the present invention, the appearance inspection apparatus further includes a conveying device 5 and a clamping device 6, the clamping device 6 has a clamping end 61 and a fixing end 62, the clamping end 61 of the clamping device 6 is used for clamping the object to be inspected, the fixing end 62 of the clamping device 6 is fixed on the output end of the conveying device 5, the conveying device 5 is used for driving the clamping device 6 to drive the object to be inspected to move into the inspection area 9 or away from the inspection area 9, the conveying device 5 and the clamping device 6 avoid the inspection area 9, the convenience of moving the object to be inspected is improved, the object to be inspected is conveniently clamped on the clamping device 6, and the object to be inspected is detached from the clamping device 6.
Specifically, the conveying device 5 of the appearance inspection device is common to the conveying device 5 of the inspection device described above, that is, the conveying device 5 conveys the lens pieces into the detection area 4 and the inspection area 9, respectively.
Further, referring to fig. 3 to 5, as an embodiment of the visual inspection apparatus provided by the present invention, the clamping end 61 of the clamping device 6 is provided as a fixing plate 611 having a through hole 612, or two elastic pieces 613 disposed oppositely, or two output shafts of the finger cylinder 614.
The fixing plate 611 is convenient for placing a circular object to be inspected in the through hole 612, and the distance between the two elastic pieces 613 is adjustable, so that objects to be inspected with different sizes can be conveniently clamped. The finger cylinder 614 is convenient to use, and the convenience of clamping and releasing the object to be checked is improved.
Further, referring to fig. 1, fig. 6 and fig. 7 together, as a specific embodiment of the appearance inspection apparatus provided by the present invention, the lighting apparatus 8 is configured as an annular light source or an annular square light source or a planar light source, and when the lighting apparatus 8 is configured as an annular light source, the photographing end of the focus-adjustable photographing apparatus 7 faces the inner ring of the annular light source; when the lighting device 8 is set as an annular square light source, the shooting end of the focusable shooting device 7 faces the inner circle of the annular square light source.
The annular light source and the annular square light source can perform low-angle irradiation, and the focusing photographing device 7 can photograph tiny flaws conveniently. The shooting end of the focusing shooting device 7 faces towards the inner ring of the annular light source or the inner ring of the annular square light source, so that light reflected by an object to be checked can enter the shooting device conveniently, and clear pictures can be shot by the focusing shooting device 7. The plane light source is convenient to install. The cost is low, and the cost of the appearance inspection device is favorably reduced.
Further, as a specific embodiment of the appearance inspection apparatus provided by the present invention, the focus-adjustable photographing apparatus 7 is a visual camera or an industrial camera, the resolution of the visual camera is high, and a photographed picture is not easily distorted. The industrial camera is convenient for installing different lenses.
Further, referring to fig. 1, fig. 6 and fig. 7, as an embodiment of the appearance inspection apparatus according to the present invention, the appearance inspection apparatus further includes a linear driving mechanism (not shown), the illumination device 8 is fixed on an output shaft of the linear driving mechanism, the linear driving mechanism drives the illumination device 8 to move away from or close to the inspection area 9, and the linear driving mechanism avoids the inspection area 9, so that the distance between the illumination device 8 and the inspection area 9 can be adjusted according to the size of different objects to be inspected, thereby improving the convenience of the appearance inspection apparatus.
Further, as a specific embodiment of the appearance inspection apparatus provided by the present invention, the linear driving mechanism is set as an X-axis module or a Y-axis module, and the X-axis module and the Y-axis module have high precision, so that the distance between the illumination apparatus 8 and the inspection area 9 can be finely adjusted.
The invention also provides an appearance inspection system which comprises the appearance inspection device, and the appearance inspection system further comprises a photo processing center (not shown), wherein the focusing photographing device 7 and the illuminating device 8 are electrically connected with the photo processing center.
The photo processing center is convenient for rapidly comparing the photographing data with the image comparison data, the object to be checked does not need to be checked by eyes manually, and the speed and the accuracy of checking the object to be checked are improved.
Referring to fig. 8, a method for inspecting appearance according to the present invention will now be described. The appearance inspection method comprises the following steps:
s1-1: selecting an object to be checked;
s1-2: selecting a plurality of pre-stored illumination data according to the object to be checked, wherein each pre-stored illumination data comprises wavelength data, brightness data, focal length data and image contrast data;
s1-3: selecting one pre-stored lighting data;
s1-4: controlling an illuminating device of an appearance inspection system to illuminate the inspected surface of the object to be inspected according to the current wavelength data and the current brightness data, and controlling a focus-adjustable photographing device of the appearance inspection system to photograph the inspected surface according to the focal length data to obtain photographing data;
s1-5: judging whether the current photographing data is the same as the current image contrast data or not, if so, returning to execute the step S1-3 until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image contrast data, the object to be inspected is unqualified.
Through the steps S1-1 to S1-5, whether the inspected surface of the object to be inspected has flaws or not is judged, so that whether the object to be inspected is qualified or not is judged, and the speed of inspecting the object to be inspected is improved. Under the same wavelength data, focal length data and brightness data, the qualified photographing data corresponding to the object to be inspected must be consistent with the image contrast data. If the photographing data and the image contrast data are inconsistent under the same wavelength data, focal length data and brightness data, it is proved that the inspected surface of the object to be inspected has flaws, the object to be inspected is regarded as a defective product, and the object to be inspected is not suitable for leaving a factory.
Specifically, a plurality of objects to be inspected are provided, and each object to be inspected is inspected through the steps S1-1 to S1-5.
Specifically, a plurality of pre-stored illumination data are selected according to the object to be inspected, and each pre-stored illumination data corresponds to the inspection point with different heights on the object to be inspected.
Specifically, controlling the focus-adjustable photographing device according to the focal length data may be understood as adjusting a focal length between the focus-adjustable photographing device and the inspected surface according to the focal length data.
Further, referring to fig. 9, as a specific implementation of the appearance inspection method provided by the present invention, before the step S1-2, the method further includes the following steps:
s2-1: selecting a standard reference object according to the object to be checked;
s2-2: determining a plurality of detection points on the detected surface of the standard reference object according to a plurality of detection points on the detected surface of the object to be detected, wherein each detection point corresponds to each detection point one by one;
s2-3: selecting a detection point;
s2-4: adjusting the wavelength and the brightness of the illuminating device to illuminate one detection point, and simultaneously controlling the focal distance between the focusing photographing device and the current detection point to photograph so as to obtain a corresponding real-time image;
s2-5: judging whether the current real-time image is the clearest image, if so, recording the current real-time image as the image contrast data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming the current prestored lighting data by the current focal length data, the current image contrast data, the current wavelength data and the current brightness data, and returning to execute the step S2-3 until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of 2-4.
Several pre-stored illumination data are determined through the steps S2-1 to S2-5, so as to facilitate the inspection of the object to be inspected.
Specifically, the standard reference object is set as an object without defects, and if the object to be inspected is a lens piece, the standard reference object is set as a lens piece without defects; if the object to be inspected is the mobile phone shell, the standard reference object is set as the mobile phone shell without defects.
Further, as a specific embodiment of the appearance inspection method provided by the present invention, step S2-5 is set as:
judging whether an electric signal corresponding to the current real-time image is in a threshold value or not through the focusing photographing device, if so, recording the current real-time image as image comparison data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming current prestored lighting data through the current focal length data, the current image comparison data, the current wavelength data and the current brightness data, and returning to execute the step S2-3 until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of 2-4.
When the real-time image is clearest, the electric signal of the image sensor of the focusing photographing device reaches a threshold value. When the focusing photographing device photographs without changing the focal length, the wavelength condition and the brightness condition are changed, the electric signal generated by the focusing photographing device changes in a distribution function, the distribution function changes in a wave crest, and when the electric signal reaches a threshold value, the electric signal is in the position of the wave crest. Or when the focusing photographing device photographs without changing the wavelength, the focal length condition and the brightness condition are changed, the electric signal generated by the focusing photographing device changes in a distribution function, the distribution function changes in a wave crest, and when the electric signal reaches a threshold value, the electric signal is in the wave crest position. Or when the focusable photographing device photographs without changing the brightness, the focal length condition and the wavelength condition are changed, the electric signal generated by the focusable photographing device changes in a distribution function, the distribution function changes in a wave crest, and when the electric signal reaches a threshold value, the electric signal is positioned at the wave crest position
Specifically, step S2-4 is set to: selecting the wavelength of an illuminating device according to the material of an object to be inspected, keeping the wavelength of the illuminating device unchanged, adjusting the brightness of the illuminating device to illuminate a detection point, and simultaneously controlling the focal length of the focusing photographing device to photograph the current detection point to obtain a corresponding real-time image.
Specifically, the real-time image is obtained under the illumination with the same wavelength, so that whether the electric signal corresponding to the real-time image reaches the threshold value or not is rapidly confirmed under the condition of the same wavelength, and the pre-stored illumination data corresponding to each detection point is obtained.
Further, as a specific embodiment of the appearance inspection method provided by the present invention, step S1-5 is set as:
judging whether the current photographing data is the same as the current image contrast data or not through an image contrast system, if so, returning to execute the step S1-3 until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image comparison data, the appearance inspection system outputs that the object to be inspected is unqualified.
The image contrast system is convenient for rapidly comparing the photographing data with the image contrast data, the object to be checked does not need to be checked by eyes manually and directly, and the speed and the accuracy of checking the object to be checked are improved.
Specifically, the image contrast system is the same as the photo processing center of the appearance inspection system described above.
Referring to fig. 10, the present invention further provides an appearance inspection system, including:
a selection module 101 for selecting an object to be inspected;
the data selection module 102 is used for selecting a plurality of pre-stored illumination data according to the object to be checked, wherein each pre-stored illumination data comprises wavelength data, brightness data, focal length data and image contrast data;
a pre-storing selection module 103, which selects one of the pre-stored lighting data;
the illumination photographing module 104 is used for controlling an illumination device of an appearance inspection system to illuminate the inspected surface of the object to be inspected according to the current wavelength data and the current brightness data, and controlling a focus-adjustable photographing device of the appearance inspection system to photograph the inspected surface according to the focal length data to obtain photographing data;
the image comparison module 105 is configured to determine whether the current photographing data is the same as the current image comparison data, and if the current photographing data is the same as the current image comparison data, return to the step of selecting one of the pre-stored lighting data until all of the pre-stored lighting data are selected; and if the current photographing data is different from the current image contrast data, the object to be inspected is unqualified.
Further, referring to fig. 10, as an embodiment of the appearance inspection system provided by the present invention, the appearance inspection system further includes:
a reference selection module 106 for selecting a standard reference object according to the object to be checked;
a detection point positioning module 107, configured to determine a plurality of detection points on the detected surface of the standard reference object according to a plurality of detection points on the detected surface of the object to be detected, where each detection point corresponds to each detection point;
a detection point selection module 108 for selecting one of the detection points;
the real-time image acquisition module 109 is used for adjusting the wavelength and the brightness of the lighting device to light one detection point, and simultaneously controlling the focal distance between the focusing photographing device and the current detection point to photograph so as to obtain a corresponding real-time image;
a clearest image recognition module 1010, configured to determine whether the current real-time image is a clearest image, record the current real-time image as the image contrast data if the current real-time image is the clearest image, record the focal length data of the current focus-adjustable photographing device, the wavelength data of the current lighting device, and the brightness data corresponding to the current real-time image, form the current pre-stored lighting data according to the current focal length data, the current image contrast data, the current wavelength data, and the current brightness data, and return to the step of selecting one of the detection points until it is determined that the detection point is selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
Further, as a specific embodiment of the appearance inspection system provided in the present invention, the clearest image recognition module 1010 is configured to: judging whether an electric signal corresponding to the current real-time image is in a threshold value or not through the focusing photographing device, if so, recording the current real-time image as image comparison data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming current prestored lighting data through the current focal length data, the current image comparison data, the current wavelength data and the current brightness data, and returning to execute the step of selecting one detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
Further, as a specific embodiment of the appearance inspection system provided by the present invention, the image comparison module 105 is configured to: judging whether the current photographing data is the same as the current image contrast data or not through an image contrast system, if so, returning to the step of selecting one pre-stored lighting data by the appearance inspection system until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image comparison data, the appearance inspection system outputs that the object to be inspected is unqualified.
For a specific limitation of the visual inspection system, reference may be made to the above-mentioned limitation of a visual inspection method, which is not described herein again. The various modules in an appearance inspection system described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor of a computer device, and can also be stored in a storage in the computer in a software form, so that the processor can call and execute the modules.
Referring to fig. 11, the present invention further provides a computer device, where the computer device includes a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor executes the computer program to implement the steps of the appearance inspection method, such as steps S1-1 to S1-5 shown in fig. 9, or the computer program implements the functions of the modules of the inspection apparatus, such as the functions of modules 105 to 1010 shown in fig. 10, when executed by the processor. To avoid repetition, further description is omitted here.
Referring to fig. 11, the present invention further provides a computer-readable storage medium, which stores a computer program, and the computer program is executed by a processor to implement the steps of the visual inspection method. Such as steps S1-1 to S1-5 shown in fig. 9, or the computer program is executed by a processor to implement the functions of the respective modules of the above-described inspection apparatus, such as the functions of the modules 105 to 1010 shown in fig. 10. To avoid repetition, further description is omitted here.
It will be understood by those skilled in the art that all or part of the processes of implementing an appearance inspection method described above can be implemented by quality-related hardware through a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the method as described in the above embodiment ten. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. The non-volatile memory may include read only memory, programmable ROM, electrically erasable programmable ROM, or flash memory. Volatile memory may include random access memory or external cache memory IQ. Random access memory is available in a variety of forms such as, without limitation, static RAM, dynamic RAM, synchronous DRAM, double data rate SDRAM, enhanced SDRAM, synchronous DRAM, memory bus, direct RAM, direct memory bus dynamic RAM, and memory bus dynamic RAM.
Further, referring to fig. 12 and 13, the lens element according to the present invention is described, where the lens element includes a lens 11a and a fixing base 11c, the lens 11a is embedded in the fixing base 11c, a light-passing area of the lens 11a is a light-passing hole 11b, a detected surface 11d is disposed on an end surface of the fixing base 11c, the detection points include a first detection point 11e, a second detection point 11f, and a third detection point 11g, centers of the first detection point 11e, the second detection point 11f, and the third detection point 11g are located on a straight line, and the first detection point 11e, the second detection point 11f, and the third detection point 11g sequentially approach the lens 11a from an outer edge of the end surface of the fixing base 11 c. The first checkpoint 11e, the second checkpoint 11f and the third checkpoint 11g differ in height. The lens member can be inspected by using the above-described inspection apparatus, appearance inspection system, and appearance inspection method.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents and improvements made within the spirit and principle of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An appearance inspection method, comprising the steps of:
selecting an object to be checked;
selecting a plurality of pre-stored illumination data according to the object to be checked, wherein each pre-stored illumination data comprises wavelength data, brightness data, focal length data and image contrast data;
selecting one pre-stored lighting data;
controlling an illuminating device of an appearance inspection system to illuminate the inspected surface of the object to be inspected according to the current wavelength data and the current brightness data, and controlling a focus-adjustable photographing device of the appearance inspection system to photograph the inspected surface according to the focal length data to obtain photographing data;
judging whether the current photographing data is the same as the current image contrast data or not, if so, returning to the step of selecting one pre-stored illumination data until all the pre-stored illumination data are selected; and if the current photographing data is different from the current image contrast data, the object to be inspected is unqualified.
2. The visual inspection method of claim 1, further comprising, before said selecting a plurality of pre-stored illumination data based on said object to be inspected, the steps of:
selecting a standard reference object according to the object to be checked;
determining a plurality of detection points on the detected surface of the standard reference object according to a plurality of detection points on the detected surface of the object to be detected, wherein each detection point corresponds to each detection point one by one;
selecting a detection point;
adjusting the wavelength and the brightness of the illuminating device to illuminate one detection point, and simultaneously controlling the focal distance between the focusing photographing device and the current detection point to photograph so as to obtain a corresponding real-time image;
judging whether the current real-time image is the clearest image or not, if so, recording the current real-time image as image contrast data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming current prestored lighting data through the current focal length data, the current image contrast data, the current wavelength data and the current brightness data, and returning to execute the step of selecting a detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
3. The visual inspection method according to claim 2, wherein said determining whether the current real-time image is the clearest image is performed, and if the current real-time image is the clearest image, recording the current real-time image as the image contrast data, and simultaneously recording the current focal length data, the current wavelength data, and the current brightness data of the focusable photographing device corresponding to the current real-time image, and forming the current prestored lighting data by the current focal length data, the current image contrast data, the current wavelength data, and the current brightness data, and returning to the step of selecting one of the inspection points until the inspection point is confirmed to be selected; if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point and controlling the focusable shooting device to shoot the current detection point to obtain the corresponding real-time image, wherein the step of:
judging whether an electric signal corresponding to the current real-time image is in a threshold value or not through the focusing photographing device, if so, recording the current real-time image as image comparison data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming current prestored lighting data through the current focal length data, the current image comparison data, the current wavelength data and the current brightness data, and returning to execute the step of selecting one detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
4. The visual inspection method of claim 1, wherein said determining whether the current photo data is the same as the current image contrast data, if the current photo data is the same as the current image contrast data, returning to the step of selecting one of the pre-stored illumination data until all of the pre-stored illumination data are selected; if the current photographing data is different from the current image comparison data, the step that the object to be checked is unqualified is as follows:
judging whether the current photographing data is the same as the current image contrast data or not through an image contrast system, if so, returning to the step of selecting one pre-stored lighting data by the appearance inspection system until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image comparison data, the appearance inspection system outputs that the object to be inspected is unqualified.
5. An appearance inspection system, comprising:
the selection module selects an object to be checked;
the data selection module is used for selecting a plurality of pre-stored illumination data according to the object to be checked, wherein each pre-stored illumination data comprises wavelength data, brightness data, focal length data and image contrast data;
the pre-storage selection module selects one pre-storage illumination data;
the illumination photographing module is used for controlling an illumination device of an appearance inspection system to illuminate the inspected surface of the object to be inspected according to the current wavelength data and the current brightness data, and controlling a focus-adjustable photographing device of the appearance inspection system to photograph the inspected surface according to the focal length data to obtain photographing data; the image comparison module is used for judging whether the current photographing data is the same as the current image comparison data or not, and if the current photographing data is the same as the current image comparison data, the step of selecting one pre-stored lighting data is returned until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image contrast data, the object to be inspected is unqualified.
6. The visual inspection system of claim 5, further comprising:
the reference selection module is used for selecting a standard reference object according to the object to be checked;
the detection point positioning module is used for determining a plurality of detection points on the detected surface of the standard reference object according to a plurality of detection points on the detected surface of the object to be detected, wherein each detection point corresponds to each detection point one by one;
the detection point selection module selects one detection point;
the real-time image acquisition module is used for adjusting the wavelength and the brightness of the lighting device to light one detection point and simultaneously controlling the focus between the focusing photographing device and the current detection point to photograph so as to obtain a corresponding real-time image;
a clearest image recognition module for judging whether the current real-time image is a clearest image, if so, recording the current real-time image as the image contrast data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming the current prestored lighting data by the current focal length data, the current image contrast data, the current wavelength data and the current brightness data, and returning to execute the step of selecting one detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
7. The visual inspection system of claim 6, wherein the sharpest image recognition module is configured to: judging whether an electric signal corresponding to the current real-time image is in a threshold value or not through the focusing photographing device, if so, recording the current real-time image as image comparison data, simultaneously recording the focal length data, the wavelength data and the brightness data of the current focusing photographing device corresponding to the current real-time image, forming current prestored lighting data through the current focal length data, the current image comparison data, the current wavelength data and the current brightness data, and returning to execute the step of selecting one detection point until the detection point is confirmed to be selected; and if the current real-time image is not the clearest image, returning to the step of executing the step of adjusting the wavelength and the brightness of the lighting device to light one detection point, and controlling the focusing photographing device to photograph the current detection point to obtain the corresponding real-time image.
8. The visual inspection system of claim 5, wherein the image comparison module is configured to: judging whether the current photographing data is the same as the current image contrast data or not through an image contrast system, if so, returning to the step of selecting one pre-stored lighting data by the appearance inspection system until all the pre-stored lighting data are selected; and if the current photographing data is different from the current image comparison data, the appearance inspection system outputs that the object to be inspected is unqualified.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a visual inspection method as claimed in any one of claims 1 to 4.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out an examination method according to one of claims 1 to 4.
CN202010626946.4A 2020-07-02 2020-07-02 Appearance inspection method, system, equipment and storage medium Withdrawn CN111915563A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202010626946.4A CN111915563A (en) 2020-07-02 2020-07-02 Appearance inspection method, system, equipment and storage medium
CN202110693398.1A CN113689323B (en) 2020-07-02 2021-06-22 Appearance inspection method and system, inspection method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010626946.4A CN111915563A (en) 2020-07-02 2020-07-02 Appearance inspection method, system, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111915563A true CN111915563A (en) 2020-11-10

Family

ID=73227258

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010626946.4A Withdrawn CN111915563A (en) 2020-07-02 2020-07-02 Appearance inspection method, system, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111915563A (en)

Similar Documents

Publication Publication Date Title
CN109765234B (en) Device and method for simultaneously carrying out optical detection on front and back surfaces of object
KR101150755B1 (en) Apparatus for photographing image
CN104081192B (en) Apparatus and method for photographing glass defects in multiple layers
CN209978819U (en) Detection equipment and detection system
TW200423276A (en) Reading apparatus of probe trace and reading method of probe trace
CN110441323B (en) Product surface polishing method and system
CN107084993A (en) Double camera single-station positive and negative vision inspection apparatus
CN212514319U (en) Positioning column defect industrial vision detection equipment
JPWO2008149712A1 (en) Strain inspection apparatus and strain inspection method
JPH05160232A (en) Bonding wire inspection device
JPH05160233A (en) Inspecting method for bonding wire
US9638908B2 (en) Image measurement device
KR101653176B1 (en) Defect inspecting apparatus for ir filter with automatic focus control unit
JPH05160231A (en) Bonding wire inspecting apparatus
CN110873638A (en) A kind of optical module automatic detection equipment
US7289655B2 (en) Device for inspecting illumination optical device and method for inspecting illumination optical device
CN104154991B (en) A kind of illuminance measuring method for testing and this illuminance measuring electricity testing device
CN213121656U (en) Appearance inspection device and appearance inspection system
CN213544424U (en) Inspection equipment
CN113689323B (en) Appearance inspection method and system, inspection method and device
JP2009236760A (en) Image detection device and inspection apparatus
CN111915563A (en) Appearance inspection method, system, equipment and storage medium
CN110542393A (en) Plate inclination measuring device and measuring method
WO2021261149A1 (en) Surface inspection device and surface inspection system
KR20020093507A (en) Apparatus for inspecting parts

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20201110

WW01 Invention patent application withdrawn after publication