This application is based on and claims priority under 35 USC 119 from Japanese Patent Application No. 2021-153909 filed Sep. 22, 2021.
The present invention relates to a surface inspection apparatus, a non-transitory computer readable medium storing a program, and a surface inspection method.
Today, in various products, parts made by molding synthetic resin (hereinafter referred to as “molded products”) are used. Since a texture is one of items that determine the impression of an appearance, a process of inspecting ae texture of a molded product is provided in a development phase. Since the molded product often has a complicated three-dimensional shape and the inspection of the texture is required even after assembly, an inspection apparatus having a narrow imaging range may be used.
Incidentally, a partial region of the imaging range is used for the evaluation of the texture. In the inspection apparatus having the narrow imaging range, the region used for evaluating the texture is also narrowed. Therefore, it becomes difficult to correctly position a defect to be inspected in the region used for the evaluation of the texture. In a case where the defect is not in the correct position, the calculated value does not be a correct evaluation value of a defective portion. The imaging range may include an extremely dark portion or an extremely bright portion. In this case, the calculated value is not used for the evaluation of the defective portion.
In either case, an expert can notice an abnormality in an evaluation value from an imaged image used for the evaluation, but an operator who is not accustomed to the inspection cannot notice the abnormality in the calculated evaluation value.
Aspects of non-limiting embodiments of the present disclosure relate to a surface inspection apparatus, a non-transitory computer readable medium storing a program, and a surface inspection method that reliability of inspection is improved as compared with a case where an evaluation value is calculated without detecting the presence of reflection as a cause of erroneous calculation.
Aspects of certain non-limiting embodiments of the present disclosure overcome the above disadvantages and/or other disadvantages not described above. However, aspects of the non-limiting embodiments are not required to overcome the disadvantages described above, and aspects of the non-limiting embodiments of the present disclosure may not overcome any of the disadvantages described above.
According to an aspect of the present disclosure, there is provided a surface inspection apparatus including an imaging device that images a surface of an object to be inspected, and a processor configured to: calculate an evaluation value of a texture of the object through processing of an image imaged by the imaging device; and detect reflection of a cause of erroneous calculation of the image within a specific range based on at least brightness information of the image.
Exemplary embodiment(s) of the present invention will be described in detail based on the following figures, wherein:
Hereinafter, exemplary embodiments of the present invention will be described with reference to the drawings.
The surface inspection apparatus 1 used in the first exemplary embodiment is a so-called area camera, and a range to be imaged (hereinafter referred to as an “imaging range”) is defined by a surface.
In the case of
In the case of the inspection by the area camera, the inspection by the surface inspection apparatus 1 and the inspection target 10 is performed in a stationary state. In other words, the inspection of the surface of the inspection target 10 is performed in a state where the surface inspection apparatus 1 and the inspection target 10 do not move relatively.
In the case of
The actual inspection target 10 may have holes, notches, protrusions, steps, and the like.
The types of surface finishes of the inspection target 10 include untreated, mirror-finished, quasi-mirror-finished, and textured. The texturing is a process of intentionally forming minute irregularities on the surface of the inspection target 10. Textures of the textured surface change depending on an area ratio of a convex portion and a concave portion, a size of the convex portion, a pattern formed by the irregularities, a height difference between the irregularities, a surface material, a color, and the like.
The surface inspection apparatus 1 inspects defects and textures of the surface of the inspection target 10.
The defects include, for example, sink marks and welds. The sink mark refers to a dent on the surface generated in a thick portion or a rib portion, and the weld refers to a streak generated in a portion where tips of a molten resin join in a mold. The defects also include scratches and dents caused by hitting an object.
The texture is a visual or tactile impression, and is influenced by the color, luster, and irregularities of the surface of the object. The irregularities of the surface also include fine streaks generated in cutting the mold. This type of streak is different from the defect.
The description is referred back to
The surface inspection apparatus 1 has a function of quantifying a result of evaluating the texture of the surface of the inspection target 10 and displaying the result.
The texture is expressed by a numerical value (hereinafter also referred to as a “score”). The score is an example of a numerical value representing the quality of the surface of the inspection target 10.
For example, multivariate analysis is used to calculate the score. In the multivariate analysis, for example, features appearing in a brightness distribution are analyzed. An example of the feature includes a streaky pattern extending along a direction of the sink mark, for example.
In addition, there is also a method of using artificial intelligence to calculate the score. For example, a score of a partial region positioned within the inspection range is calculated by giving an image imaged by a camera to a learning model obtained by deep machine learning of a relationship between an image obtained by imaging the defect and a score.
The inspection target 10 shown in
The surface inspection apparatus 1 is arranged vertically above the inspection target 10. In the case of
Hereinafter, conditions required for imaging the surface of the inspection target 10 are also referred to as “imaging conditions”.
The surface inspection apparatus 1 is installed at a position that satisfies the imaging conditions. The surface inspection apparatus 1 may be fixed to a specific member or may be removable from a specific member.
However, the surface inspection apparatus 1 may be a portable apparatus. In a case where the surface inspection apparatus is the portable apparatus, a person in charge of inspection (hereinafter referred to as an “operator”) images the surface of the inspection target 10 by holding the surface inspection apparatus 1 in his or her hand and directing the camera toward the inspection target 10. Although the surface inspection apparatus 1 shown in
In
Configuration of Surface Inspection Apparatus
The surface inspection apparatus 1 shown in
The processor 101, the ROM 102, and the RAM 103 function as so-called computers. The processor 101 realizes various functions through the execution of the program. For example, the processor 101 performs the calculation or the like of the score for evaluating the texture of the imaged surface of the inspection target 10 through the execution of the program.
Image data obtained by imaging the surface of the inspection target 10 is stored in the auxiliary storage device 104. For the auxiliary storage device 104, for example, a semiconductor memory or a hard disk device is used. Firmware and application programs are also stored in the auxiliary storage device 104. Hereinafter, firmware and application programs are collectively referred to as a “program”.
The display 105 is, for example, a liquid crystal display or an organic EL display, and is used for displaying an image obtained by imaging the inspection target 10 and displaying information representing the texture. The display 105 is also used for positioning the imaging range with respect to the inspection target 10.
In the case of the present exemplary embodiment, the display 105 is integrally provided in the main body of the surface inspection apparatus, but may be a monitor connected through the communication IF 109 or may be a display of a terminal device connected through the communication IF 109. For example, the display 105 may be a display of another computer connected through the communication IF 109. For example, the other computer may be a notebook computer or a smartphone.
The operation reception device 106 is configured with a touch sensor arranged on the display 105, physical switches and buttons arranged on a housing, and the like.
In the case of the present exemplary embodiment, a power button and an imaging button are provided as an example of the physical buttons. In a case where the power button is operated, for example, the light source 108 is turned on and the imaging by the camera 107 is started. Further, in a case where the imaging button is operated, a specific image imaged by the camera 107 at the time of operation is acquired as an image for inspection.
A device that integrates the display 105 and the operation reception device 106 is called a touch panel. The touch panel is used to receive operations of the operator on keys displayed in software (hereinafter also referred to as “soft keys”).
In the case of the present exemplary embodiment, a color camera is used as the camera 107. For an image sensor of the camera 107, for example, a charge coupled device (CCD) imaging sensor or a complementary metal oxide semiconductor (CMOS) imaging sensor is used.
Since a color camera is used as the camera 107, it is possible in principle to observe not only the brightness of the surface of the inspection target 10 but also color information. The camera 107 is an example of an imaging device.
In the case of the present exemplary embodiment, a white light source is used as the light source 108. The white light source generates light in which light in a visible light band is evenly mixed.
In the case of the present exemplary embodiment, a parallel light source is used as the light source 108. A telecentric lens is used for an imaging lens 107A (see
The light source 108 in the present exemplary embodiment is arranged at an angle at which a light component mirror-reflected on the surface of the inspection target 10 is mostly incident on the camera 107.
The communication IF 109 is configured with a module conforming to a wired or wireless communication standard. For the communication IF 109, for example, an Ethernet (registered trademark) module, a universal serial bus (USB), a wireless LAN, or the like is used.
Structure of Optical System
An opening 100B into which illumination light illuminating the surface of the inspection target 10 and reflected light reflected by the surface of the inspection target 10 are input or output, and a flange 100C surrounding the periphery of the opening 100B are provided in the opening portion 100A. In other words, the opening 100B is provided as a hole provided near a center of the flat plate-shaped flange 100C.
In the case of
The opening 100B and the flange 100C may not have similar shapes, the opening 100B may have a circular shape, and the flange 100C may have a rectangular shape.
The flange 100C is used for positioning the surface inspection apparatus 1 in an imaging direction with respect to the surface of the inspection target 10. In other words, the flange 100C is used for positioning the camera 107 and the light source 108 with respect to the surface to be inspected. The flange 100C also serves to prevent or reduce the incident of external light or ambient light on the opening 100B.
The housing 100 shown in
Further, the display 105 and the operation reception device 106 are attached to an outer surface of the cylindrical member on the side where the camera 107 is attached.
The imaging lens 107A is arranged on an optical axis L2 of the camera 107 shown in
In
In
Incidentally, the surface of the actual inspection target 10 has structural or design irregularities, curved surfaces, steps, joints, fine irregularities formed in a molding process, and the like.
Therefore, in the present exemplary embodiment, an average value of orientations of the normal N of a region AR of interest in the inspection target 10 or the normal N of a specific position P of interest may be used as the normal N of the inspection target 10.
An image display field 121 for displaying an image imaged by the camera 107, a score field 122 for displaying a calculated score, and an explanatory note 123 for displaying a brightness value expressed by shade of a grayscale image displayed in the image display field 121 are arranged on the operation screen 120 shown in
In the case of the present exemplary embodiment, the grayscale image imaged in real time is displayed in the image display field 121 until the imaging button is operated. After the imaging button is operated, the grayscale image at a point in time at which the imaging button is operated is displayed.
The shade of the grayscale image displayed in the image display field 121 indicates a difference in a brightness level between pixels. In the case of the present exemplary embodiment, as the color of the pixel becomes darker, the brightness level becomes lower, and as the color of the pixel becomes lighter, the brightness level becomes higher.
Four lines 121A that give outer edges of the inspection range used for the calculation of the score are displayed in the image display field 121. A range surrounded by the four lines 121A is the inspection range. This is because a state of the surface other than the region to be inspected influences the score in a case where it is assumed that the entire imaged image is the inspection range.
In the case of
In the present exemplary embodiment, since the color camera is used as the camera 107, a color image may be displayed in the image display field 121.
Inspection Operation
The process shown in
In the surface inspection apparatus 1 according to the present exemplary embodiment, the light source 108 (see
In the present exemplary embodiment, in a case where the operator checking the image displayed on the display 105 operates the imaging button, the image used for evaluating the quality of the surface is confirmed.
Therefore, the processor 101, which has started the inspection operation by operating the power button, determines whether or not the operation of the imaging button has been received (step S1). The operation of the operation button is an example of an operation of giving an instruction to start an inspection.
While a negative result is obtained in step S1, the processor 101 repeats the determination in step S1.
In a case where a positive result is obtained in step S1, the processor 101 acquires an image to be used for inspection (step S2). Specifically, the image displayed on the display 105 at a point in time at which the imaging button is operated is acquired.
In the case of the present exemplary embodiment, in a case where the imaging button is operated, the update of the image displayed in the image display field 121 (see FIG. 5) is stopped even though the imaging by the camera 107 is continued.
Subsequently, the processor 101 obtains a brightness profile within the inspection range (step S3). The brightness profile is an example of brightness information of the image.
In the case of the present exemplary embodiment, the processor 101 determines whether or not a region as a cause of the erroneous calculation is reflected within the inspection range by using the acquired brightness profile (step S4).
In the image shown in
However, in the case of the image shown in
In the case of the present exemplary embodiment, the brightness profile is given as a change in an X-axis direction in a brightness value (hereinafter referred to as a “representative brightness value”) representing each coordinate on a paper surface in an X-axis direction.
In the case of the present exemplary embodiment, the representative brightness value represents an integrated value of the brightness values of the pixels having the same Y coordinate. As the representative brightness value becomes larger, the pixel becomes brighter than the surroundings, and as the representative brightness value becomes smaller, the pixel becomes darker than the surroundings.
In step S4, the processor 101 determines, for example, whether or not an image as the cause of the erroneous calculation is reflected within the inspection range by one or both of a rate of change of the representative brightness value within the inspection range in the Y-axis direction and an area or an area ratio of the region of the brightness value that satisfies a predetermined condition within the inspection range. For example, in a case where the area or the area ratio exceeds a predetermined criterion, the processor 101 determines that the cause of the erroneous calculation is reflected.
As the brightness value that satisfies the predetermined condition, for example, the brightness value may be lower than a threshold value for determining low brightness, or the brightness value may be higher than a threshold value for determining high brightness.
Low brightness of which the brightness value is lower than the threshold value tends to appear, for example, in a region where a structural step or a concave portion having a large height difference as compared with the sink mark is formed. High brightness of which the brightness value is higher than the threshold value tends to appear in a region where, for example, external light or ambient light is incident through a gap or the like.
In the case of the present exemplary embodiment, the color camera is used as the camera 107 (see
In the case of
In the image shown in
In the case of the image of
Since the score is calculated by using an image within the inspection range, the score is influenced by an image such as a structural hole having a larger rate of change in the brightness value than the scratch or the sink mark.
Incidentally, the rate of change of the brightness profile at the position of the point P1 exceeds the range of the predetermined rate of change or the threshold value. Therefore, the image shown in
In the case of the image shown in
The image shown in
However, in the image shown in
On the image shown in
Further, in the example of
The reflection of the sticky note made of paper may be determined by, for example, specifying the color of the surface of the inspection target 10 in advance from the color image and detecting a region having a color different from the specified color.
In the case of the image shown in
The description is referred back to
In a case where a positive result is obtained in step S4, the processor 101 ends the inspection operation without executing the calculation of the score or the like.
On the other hand, in a case where a negative result is obtained in step S4, the processor 101 calculates the score that quantifies the quality of the surface of the inspection range (step S5).
The score is calculated as, for example, a difference between a maximum value and a minimum value of the representative brightness value. The score depends on a width, a height, a depth, a number and the like of the irregularities formed on the surface. For example, even though the height of the convex portion and the depth of the concave portion are identical, the score of the partial region where the convex portion or the concave portion having a longer width is formed becomes high.
Further, even though the widths of the convex portion and the concave portion formed on the surface are identical, the score of the partial region where the higher convex portion and the deeper concave portion are formed becomes high. In the case of the present exemplary embodiment, a high score means poor quality.
The processor 101 that has calculated the score displays the calculated score in the score field 122 (see
Thereafter, the processor 101 stores the calculated score (step S7). The score is stored, for example, in the auxiliary storage device 104 (see
The image shown in
On the other hand, in the image shown in
In this manner, even though the imaging button is operated, since the score is not displayed, the operator can be aware of the reflection of the portion or the like having a possibility of being the cause of the erroneous calculation.
Since the score is not displayed even though the imaging button is operated, it is physically difficult for the operator who is not accustomed to the inspection to continue the inspection without noticing the abnormality of the score.
In a second exemplary embodiment, the surface inspection apparatus 1 (see
The process shown in
In the case of a processing operation shown in
Further, in a case where the score is calculated, the processor 101 determines whether or not the region as the cause of the erroneous calculation is reflected within the inspection range (step S4).
For the determination here, the same processing as in the first exemplary embodiment is used. However, since the score has already been calculated, the reflection of the structural features and the like that are not the target of the inspection may be determined by using the score. For example, in a case where the score is out of a predetermined range, the processor 101 may determine that the score is an abnormal value and may obtain a positive result in step S4. On the other hand, in a case where the score is in the predetermined range, the processor 101 may determine that the score is a normal value and may obtain a negative result in step S4.
On the other hand, in a case where a positive result is obtained in step S4, the processor 101 discards the score calculated in step S5 without displaying the score in the score field 122 (step S7A), and then ends the inspection operation.
In the case of the present exemplary embodiment, since the score having a possibility of including the cause of the erroneous calculation is not stored, a possibility of the erroneous determination based on recorded data is also avoided.
On the other hand, in a case where a negative result is obtained in step S4, the processor 101 displays the calculated score in the score field 122 (see
In the case of the present exemplary embodiment, an internal operation is different from the internal operation in the first exemplary embodiment, but the content displayed on the operation screen 120 is the same as the content in the first exemplary embodiment.
In a third exemplary embodiment, the surface inspection apparatus 1 (see
The process shown in
In the case of a processing operation shown in
On the other hand, in a case where a positive result is obtained in step S4, the processor 101 notifies the operator of the possibility of the reflection of the region as the cause of the erroneous calculation (step S8), and then ends the inspection operation.
Examples of the notification method include a method using a display, a method using a sound, and a method using an indicator.
In
In
In a case where an area where the small screen 125 and the image display field 121 overlap is small, the operator can confirm a location where there is a possibility of a problem through the confirmation of the image display field 121. However, even though the small screen 125 and the image display field 121 overlap, in a case where the overlapped portion is out of the inspection range, the confirmation by the operator is not substantially influenced.
A position where the small screen 125 is, for example, arranged can be moved on the screen by the operation by the operator.
A display size of the small screen 125 can be, for example, changed by the operation by the operator. Incidentally, a font size may be changed by changing the display size, or the switching between the notification of only the title and the notification including the text may be linked to the size change.
In
On the other hand,
In order to improve visibility, the frame line 126 may be displayed with high brightness, or may be displayed in color. It may be easier for the operator to notice by turning on and off the frame line 126.
In
In the case of
The display by the frame line 126 and the display by the small screen 125 (see
Although the above description is an example of “method using a display” for notification, in the case of “method using a sound”, for example, a warning sound or the like may be output, or a voice may be output. For example, a beep sound or a voice saying “there is a possibility that the region as the cause of the erroneous calculation is reflected” may be output.
In the case of “method using an indicator” for notification, for example, an indicator arranged in the vicinity of the operation screen 120 may be turned on, and the operator may be notified that the problem occurs in the inspection of the inspection target 10 (see
The indicator may be turned on in green in a case where there is no problem and may be turned on in yellow or red in a case where the problem is suspected. In this case, the color of the indicator allows the operator to know a cause that the score is not displayed.
The indicator is not limited to the case where the indicator is arranged as a physical device, and may be an indicator on the display 105 (see
In a fourth exemplary embodiment, the surface inspection apparatus 1 (see
The process shown in
In the case of a processing operation shown in
Subsequently, the processor 101 displays the calculated score in the score field 122 (see
Thereafter, the processor 101 determines whether or not the region as the cause of the erroneous calculation is reflected within the inspection range (step S4).
In a case where a negative result is obtained in step S4, the processor 101 stores the score and the reliability (step S7B), and then ends the inspection operation. The reliability here means “reliable”.
On the other hand, in a case where a positive result is obtained in step S4, the processor 101 notifies the operator of the possibility of the reflection of the region as the cause of the erroneous calculation (step S8), and then stores the score and the reliability. The reliability here means “unreliable”.
In the case of the present exemplary embodiment, although the score is displayed in the score field 122 even though the cause of the erroneous calculation is reflected, the fact that the displayed score is unreliable is simultaneously displayed on the operation screen.
In both the case of
However, in
In the case of
In the case of
In a fifth exemplary embodiment, the surface inspection apparatus 1 (see
The process shown in
In the case of a processing operation shown in
A difference is a processing operation after the determination in step S4.
In the present exemplary embodiment, in a case where a negative result is obtained in step S4, the processor 101 stores the calculated score (step S7) and ends the inspection operation. That is, in the case of the present exemplary embodiment, the score is stored without adding information on the reliability.
On the other hand, in a case where a positive result is obtained in step S4, as in the case of the fourth exemplary embodiment, the processor 101 notifies the operator of the possibility of the reflection of the region as the cause of the erroneous calculation (step S8), and discards the score (step S7A).
In the case of the present exemplary embodiment, the score is stored only in a case where the region as the cause of the erroneous calculation is not reflected in the inspection range, and the score is not stored in a case where the region as the cause of the erroneous calculation is reflected in the inspection range.
Therefore, in the present exemplary embodiment, as in the case of the above-described fourth exemplary embodiment, even though the score is recorded without giving the information on the reliability, the erroneous determination of the operator who confirms the recorded score is prevented.
In a sixth exemplary embodiment, the surface inspection apparatus 1 (see
The process shown in
In the case of the present exemplary embodiment, as in the case of the first exemplary embodiment, the processor 101 determines whether or not the region as the cause of the erroneous calculation is reflected within the inspection range before the score is calculated (step S4).
In a case where a negative result is obtained in step S4, the processor 101 calculates the score (step S5) and displays the calculated score in the score field 122 (step S6).
In the present exemplary embodiment, the processor 101 stores the calculated score (step S7) and ends the inspection operation.
On the other hand, in a case where a positive result is obtained in step S4, the processor 101 notifies the operator of the possibility of the reflection of the region as the cause of the erroneous calculation (step S8).
Incidentally, there is a possibility of the erroneous calculation in the determination in step S4. Therefore, the processor 101 in the present exemplary embodiment determines whether or not there is an instruction to calculate the score subsequently to the notification in step S8 (step S9).
For example, in a case where the operator determines that the cause of the erroneous calculation is reflected within the inspection range, the processor 101 obtains a negative result in step S9.
In a case where a negative result is obtained in step S9, the processor 101 ends the inspection operation as it is.
On the other hand, in a case where the operator determines that the cause of the erroneous calculation is not reflected within the inspection range, the processor 101 obtains a positive result in step S9.
In a case where a positive result is obtained in step S9, the processor 101 calculates the score (step S5), displays the calculated score in the score field 122 (step S6), stores the calculated score (step S7), and ends the inspection operation.
In the case of
On the small screen 128, buttons 128A and 128B used for receiving instructions to calculate the score are arranged. The button 128A is used for the instruction to calculate the score, and the button 128B is used for the instruction not to calculate the score.
In the case of
In this case, the operator can instruct the processor 101 that the score can be calculated by operating the button 128A.
In a case where the button 128A is operated, the operation screen 120 is switched to the operation screen 120 shown in
The operator can know the result of the inspection of the sink mark or the like which is the inspection target by displaying the score. The processor 101 stores the calculated score in the auxiliary storage device 104 (see
In a case where the button 128B is operated, the processor 101 switches the display of the image display field 121 to the display of the image being imaged in real time.
In a seventh exemplary embodiment, the surface inspection apparatus 1 (see
The process shown in
In the case of the present exemplary embodiment, the surface inspection apparatus 1 (see
Therefore, in a case where the light source 108 (see
Subsequently, the processor 101 determines whether or not the region as the cause of the erroneous calculation is reflected within the inspection range as in the first exemplary embodiment (step S4).
In a case where a negative result is obtained in step S4, the processor 101 calculates the score (step S5) and displays the calculated score in the score field 122 (step S6). Thereafter, the processor 101 determines whether or not the operation of the imaging button has been received (step S1).
On the other hand, in a case where a positive result is obtained in step S4, the processor 101 executes the determination in step S1 without calculating the score.
While a negative result is obtained in step S1, the processor 101 returns to step S3, and repeats the above-mentioned processing in step S1.
On the other hand, in a case where a positive result is obtained in step S1, the processor 101 stores the score at the time of operation (step S7C) and ends the inspection operation. In a case where the operation of the imaging button is received in a state where the score is displayed, the storing of the score in step S7C is skipped.
In the case of the present exemplary embodiment, in a case where the cause of the erroneous calculation is not included within the inspection range of the image being imaged in real time, the score is calculated and displayed in the score field 122. Even though the score is displayed, since the imaging in real time is continued, in a case where the imaged portion changes, the value of the score displayed in the score field 122 also changes.
In a case where the cause of the erroneous calculation is included in the inspection range in a process of changing the imaged portion, the score in the score field 122 is not displayed at this point in time.
Therefore, the operator can determine whether or not the cause of the erroneous calculation is reflected by confirming whether or not the score is displayed simultaneously with confirming the image being imaged in real time.
In the case of the present exemplary embodiment, the score to be stored as the result of the inspection can be instructed by operating the imaging button.
In an eighth embodiment, the surface inspection apparatus 1 (see
The process shown in
In the case of the present exemplary embodiment, in a case where the light source 108 (see
Subsequently, the processor 101 calculates the score (step S5) and displays the calculated score in the score field 122 (step S6).
In the case of the present exemplary embodiment, the score for the image being imaged in real time is constantly calculated and displayed in the score field 122. That is, the abnormal score is also displayed in the score field 122.
In this state, the processor 101 determines whether or not the operation of the imaging button has been received (step S1). The processor 101 obtains a negative result in step S1 and returns to step S3 while the operator does not determine the portion to be inspected.
On the other hand, in a case where the operator determines the portion to be inspected, the processor 101 obtains a positive result in step S1 and determines whether or not the region as the cause of the erroneous calculation is reflected within the inspection range (step S4).
In a case where a negative result is obtained in step S4, the processor 101 stores the score at the time of operation of the imaging button (step S7C), and ends the inspection operation.
On the other hand, in a case where a positive result is obtained in step S4, the processor 101 notifies the operator of the possibility of the reflection of the region as the cause of the erroneous calculation (step S8), and returns to step S3.
That is, in a case where the imaging button is operated in a state where the cause of the erroneous calculation is reflected, the processor 101 repeats the calculation and the display of the score for the image being imaged in real time after the operator of the attention is notified.
The above-described method can be used for the notification.
An outer frame of the image display field 121 may be displayed in red. In a case where the cause of the erroneous calculation is not reflected, the outer frame of the image display field 121 may be displayed in green.
Since the notification is executed simultaneously with the operation of the imaging button, the operator can notice that there is a problem in the reliability of the score in a case where the imaging button is pressed.
The present exemplary embodiment is the same as the first exemplary embodiment except that the structure of the optical system is different from the structure in the first exemplary embodiment.
Specifically, a point light source or a surface light source which is a non-parallel light source is used as the light source 108, and a non-telecentric lens is used as the imaging lens 107A.
The telecentric lens or the parallel light source is not used, and thus, the apparatus 1A used in the present exemplary embodiment can be downsized and the cost can be reduced as compared with the surface inspection apparatus 1 (see
The structure of the optical system described in the present exemplary embodiment can be used for any of the inspection operations of the above-described second to eighth exemplary embodiments.
A so-called line camera is used for the surface inspection apparatus 1B used in the present exemplary embodiment. Therefore, the imaging range is linear.
In the case of the present exemplary embodiment, at the time of inspection, the inspection target 10 is moved in a direction of an arrow while being installed on a uniaxial stage 20. By moving the uniaxial stage 20 in one direction, the entire inspection target 10 is imaged. The present exemplary embodiment is the same as the first exemplary embodiment except that the method for imaging the image is different from the first exemplary embodiment.
The positional relationship between the camera 107 (see
The surface inspection apparatus 1B described in the present exemplary embodiment can also be used for any of the inspection operations of the above-described second to eighth embodiments.
(1) Although the exemplary embodiments of the present invention have been described above, the technical scope of the present invention is not limited to the scope described in the above-described exemplary embodiments. It is clear from the description of the claims that the above-described exemplary embodiments with various modifications or improvements are also included in the technical scope of the present invention.
(2) In the above-described exemplary embodiments, the color camera is used as the camera 107 (see
(3) In the above-described exemplary embodiments, the white light source is used as the light source 108 (see
The illumination light is not limited to visible light, but may be infrared light, ultraviolet light, or the like.
(4) In the above-described exemplary embodiments, the surface inspection apparatus 1 (see
For example, two light sources may be used. In that case, one light source may be arranged at an angle at which a mirror-reflected light component is mostly incident on the camera 107 (see
(5) In the above-described exemplary embodiments, the processor 101 (see
(6) In the embodiments above, the term “processor” refers to hardware in a broad sense. Examples of the processor include general processors (e.g., CPU: Central Processing Unit) and dedicated processors (e.g., GPU: Graphics Processing Unit, ASIC: Application Specific Integrated Circuit, FPGA: Field Programmable Gate Array, and programmable logic device).
In the embodiments above, the term “processor” is broad enough to encompass one processor or plural processors in collaboration which are located physically apart from each other but may work cooperatively. The order of operations of the processor is not limited to one described in the embodiments above, and may be changed.
The foregoing description of the exemplary embodiments of the present invention has been provided for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise forms disclosed. Obviously, many modifications and variations will be apparent to practitioners skilled in the art. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications, thereby enabling others skilled in the art to understand the invention for various embodiments and with the various modifications as are suited to the particular use contemplated. It is intended that the scope of the invention be defined by the following claims and their equivalents.
Number | Date | Country | Kind |
---|---|---|---|
2021-153909 | Sep 2021 | JP | national |