Image generating device, quality judgement device, image generating method, quality judgement method and program
By using aligned and resized multi-channel input images generated from synchronized line sensor measurements, the system addresses the challenge of improving determination accuracy in trained models, enhancing defect or quality identification.
Patent Information
- Application Number
- JP2020179437
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2020-10-27
- Publication Date
- 2024-10-30
- Estimated Expiration
- 2040-10-27
AI Technical Summary
Existing methods struggle to generate multi-channel input images where each pixel is associated with multiple desired physical quantities, which is necessary for improving determination accuracy using trained discriminators or machine learning models.
The system employs a first and second line sensor to measure different physical quantities at varying time intervals, generating multi-channel input images by aligning and resizing line images based on calibration data, and inputting these to a trained machine learning model for quality determination.
This approach enables the generation of multi-channel input images that enhance the accuracy of quality determination by associating each pixel with multiple physical quantities, improving the performance of trained models in identifying defects or object quality.
Smart Images

Figure 0007575664000001 
Figure 0007575664000002 
Figure 0007575664000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to an image generating device, a quality determining device, an image generating method, a quality determining method, and a program. [Background technology]
[0002] Patent Document 1 describes a defect inspection method that uses a trained classifier to determine the presence or absence of defects in a tire from an inspection image in which each pixel is associated with a pixel value that represents the height (position in the unevenness direction) at a position along the inner surface of the tire. This inspection image is generated using light-section technology based on an image captured by a camera using a slit light irradiated from a light source.
[0003] Patent Document 2 describes an information processing system that can extract features of the shape of an object using a trained neural network. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Publication No. 2019-27826 [Patent Document 2] Japanese Patent Application Publication No. 2019-95827 Summary of the Invention [Problem to be solved by the invention]
[0005] When determining whether or not a tire has a defect using a trained classifier, if it is possible to obtain a multi-channel input image in which each pixel is associated with not only height as described in Patent Document 1 but also other physical quantities such as temperature, it is expected that the accuracy of the determination will improve.
[0006] However, it is difficult to obtain a multi-channel input image in which each pixel is associated with a desired number of physical quantities from a single sensor such as a camera.
[0007] Note that the above applies not only to determining whether or not there is a defect in a tire using a trained classifier, but also generally to situations where multi-channel images are input to a trained machine learning model, such as determining whether a given object is good or bad using a trained machine learning model.
[0008] The present invention has been made in consideration of the above-mentioned situation, and one of its objectives is to provide an image generation device, a pass / fail determination device, an image generation method, a pass / fail determination method, and a program that can easily generate a multi-channel input image in which a desired number of physical quantities are associated with each pixel, and that is input to a trained machine learning model. [Means for solving the problem]
[0009] In order to solve the above problem, the image generating device according to the present invention is an image generating device that generates multi-channel input images to be input to a trained machine learning model, and that is capable of communicating with a first line sensor that sequentially generates first type line images showing a first physical quantity at measurement timings at a first time interval and a second line sensor that sequentially generates second type line images showing a second physical quantity at measurement timings at a second time interval, the first line sensor and the second line sensor being arranged at a distance from each other along the moving direction of an object moving in one direction at a constant speed, the image generating device comprising: a first type line image acquisition means that acquires the first type line images; a line image selection means for selecting at least one of the first type line images and at least one of the second type line images corresponding to a given pixel array in accordance with a measurement timing difference determined based on the separation distance between the first line sensor and the second line sensor and the moving speed of the object; and an input image generation means for generating the multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image that corresponds to the pixel, and a pixel value of a pixel included in the selected second type line image that corresponds to the pixel.
[0010] In one aspect of the present invention, the image processing device further includes a resizing means for performing a resizing operation on at least one of the selected first type line image or the selected second type line image at a given resizing rate, and the input image generation means generates the input image based on the first type line image or the second type line image on which the resizing operation has been performed.
[0011] In one aspect of the present invention, the first physical quantity and the second physical quantity are different from each other and are either temperature, height, amount of reflected light, unevenness, gloss, or color.
[0012] Furthermore, a quality determination device according to the present invention is a quality determination device capable of communicating with a first line sensor that sequentially generates first-type line images indicating a first physical quantity at measurement timings at first time intervals and a second line sensor that sequentially generates second-type line images indicating a second physical quantity at measurement timings at second time intervals, the first line sensor and the second line sensor being arranged at a distance from each other along the moving direction of an object moving at a constant speed in one direction, the first line sensor and the second line sensor being arranged at a distance from each other along the moving direction of an object moving at a constant speed in one direction, the quality determination device comprising: a first-type line image acquisition means that acquires the first-type line images; a second-type line image acquisition means that acquires the second-type line images; and a measurement time interval that is determined based on a separation distance between the first line sensor and the second line sensor and the moving speed of the object. The system includes a line image selection means for selecting at least one of the first type line images and at least one of the second type line images corresponding to a given pixel array according to a measurement timing difference; an input image generation means for generating a multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image that corresponds to the pixel, and a pixel value of a pixel included in the selected second type line image that corresponds to the pixel; and a pass / fail determination means for determining the pass / fail of the object based on an output from a trained machine learning model when the input image is input into the machine learning model.
[0013] Furthermore, an image generation method according to the present invention is an image generation method in which an image generation device capable of communicating with a first line sensor that sequentially generates line images of a first type indicating a first physical quantity at measurement timings at a first time interval and a second line sensor that sequentially generates line images of a second type indicating a second physical quantity at measurement timings at a second time interval, the line sensors being arranged at a distance from each other along the movement direction of an object moving in one direction at a constant speed, generates multi-channel input images to be input to a trained machine learning model, the image generation method including the steps of: acquiring the first type line images; acquiring the second type line images; selecting at least one line image of the first type and at least one line image of the second type that correspond to a given pixel array according to a measurement timing difference determined based on the separation between the first line sensor and the second line sensor and the movement speed of the object; and generating the multi-channel input image by associating, with each pixel included in the pixel array, the pixel value of a pixel included in the selected first type line image that corresponds to the pixel, and the pixel value of a pixel included in the selected second type line image that corresponds to the pixel.
[0014] Furthermore, a quality determination method according to the present invention is a quality determination method executed by a quality determination device capable of communicating with a first line sensor that sequentially generates first-type line images indicating a first physical quantity at measurement timings at first time intervals and a second line sensor that sequentially generates second-type line images indicating a second physical quantity at measurement timings at second time intervals, the first line sensor and the second line sensor being arranged at a distance from each other along the moving direction of an object moving at a constant speed in one direction, the quality determination method including the steps of acquiring the first-type line images, acquiring the second-type line images, and determining a quality determination time based on a separation distance between the first line sensor and the second line sensor and the moving speed of the object. The method includes the steps of: selecting at least one of the first type line images and at least one of the second type line images corresponding to a given pixel array according to a measurement timing difference to be measured; generating a multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image that corresponds to the pixel, and a pixel value of a pixel included in the selected second type line image that corresponds to the pixel; and judging the quality of the object based on an output from a trained machine learning model when the input image is input into the machine learning model.
[0015] Furthermore, the program of the present invention causes a computer that generates multi-channel input images to be input into a trained machine learning model and that is capable of communicating with a first line sensor that sequentially generates a first type of line image indicating a first physical quantity at a measurement timing at a first time interval and a second line sensor that sequentially generates a second type of line image indicating a second physical quantity at a measurement timing at a second time interval, the first line sensor and the second line sensor being arranged at a distance from each other along the movement direction of an object moving in one direction at a constant speed, to execute the following steps: acquiring the first type of line images; acquiring the second type of line images; selecting at least one of the first type of line images and at least one of the second type of line images that correspond to a given pixel array according to a measurement timing difference determined based on the separation between the first line sensor and the second line sensor and the movement speed of the object; and generating the multi-channel input image by associating, with each pixel included in the pixel array, the pixel value of a pixel included in the selected first type of line image that corresponds to the pixel and the pixel value of a pixel included in the selected second type of line image that corresponds to the pixel.
[0016] Another program according to the present invention causes a computer capable of communicating with a first line sensor that sequentially generates first-type line images indicating a first physical quantity at measurement timings of a first time interval and a second line sensor that sequentially generates second-type line images indicating a second physical quantity at measurement timings of a second time interval, the first line sensor and the second line sensor being arranged spaced apart from each other along the movement direction of an object moving in one direction at a constant speed, to execute the following steps: acquiring the first-type line images; acquiring the second-type line images; selecting at least one of the first-type line images and at least one of the second-type line images corresponding to a given pixel array according to a measurement timing difference determined based on the separation between the first line sensor and the second line sensor and the movement speed of the object; generating a multi-channel input image by associating, with each pixel included in the pixel array, the pixel value of a pixel included in the selected first-type line image that corresponds to the pixel and the pixel value of a pixel included in the selected second-type line image that corresponds to the pixel; and judging the quality of the object based on the output from a trained machine learning model when the input image is input into the machine learning model. [Brief explanation of the drawings]
[0017] [Figure 1] 1 is a diagram illustrating an example of the configuration of a quality determination system according to an embodiment of the present invention. [Figure 2A] FIG. 10 is a diagram schematically illustrating an example of how an object is transported. [Figure 2B] FIG. 10 is a diagram schematically illustrating an example of how an object is transported. [Figure 2C] FIG. 10 is a diagram schematically illustrating an example of how an object is transported. [Figure 2D] FIG. 10 is a diagram schematically illustrating an example of how an object is transported. [Figure 3] 10A to 10C are diagrams showing examples of a temperature measurement result image, a height measurement result image, and a reflected light amount photographing result image generated in the calibration process. [Figure 4A]10A to 10C are diagrams showing examples of a temperature measurement result image, a height measurement result image, and a reflected light amount photographing result image generated in the pass / fail determination process. [Figure 4B] 10A to 10C are diagrams showing examples of a temperature measurement result image, a height measurement result image, and a reflected light amount photographing result image generated in the pass / fail determination process. [Figure 4C] 10A to 10C are diagrams showing examples of a temperature measurement result image, a height measurement result image, and a reflected light amount photographing result image generated in the pass / fail determination process. [Figure 4D] 10A to 10C are diagrams showing examples of a temperature measurement result image, a height measurement result image, and a reflected light amount photographing result image generated in the pass / fail determination process. [Figure 5] FIG. 2 is a functional block diagram showing an example of functions of an information processing device according to an embodiment of the present invention. [Figure 6] FIG. 2 is a diagram illustrating an example of a data structure of training data. [Figure 7] FIG. 1 is a diagram illustrating an example of learning of a machine learning model. [Figure 8] FIG. 10 is a diagram illustrating an example of pass / fail determination using a trained machine learning model. [Figure 9] FIG. 10 is a flowchart showing an example of the flow of a learning process performed by an information processing device according to an embodiment of the present invention. [Figure 10] 1 is a flowchart showing an example of the flow of a quality determination process performed in a quality determination system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0018] Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
[0019] 1 is a diagram showing an example of the configuration of a quality determination system 1 according to one embodiment of the present invention. The quality determination system 1 according to this embodiment includes, for example, an information processing device 10, a conveying unit 12, an encoder 14, a temperature line sensor 16, and a light section line sensor 18.
[0020] The information processing device 10 is, for example, a computer such as a personal computer. As shown in Fig. 1, the information processing device 10 includes, for example, a processor 10a, a storage unit 10b, a communication unit 10c, a display unit 10d, and an operation unit 10e.
[0021] The processor 10a is a program-controlled device such as a CPU that operates according to a program installed in the information processing device 10, for example.
[0022] The storage unit 10b is, for example, a storage element such as a ROM or RAM, a hard disk drive, etc. The storage unit 10b stores programs executed by the processor 10a, etc.
[0023] The communication unit 10c is a communication interface such as a network board. In this embodiment, the information processing device 10 is capable of communicating with the transport unit 12, the temperature line sensor 16, and the light section line sensor 18 via the communication unit 10c.
[0024] The display unit 10d is a display device such as a liquid crystal display, and displays various images according to instructions from the processor 10a.
[0025] The operation unit 10e is a user interface such as a keyboard or a mouse, which receives operation inputs from the user and outputs signals indicating the contents of the inputs to the processor 10a.
[0026] The information processing device 10 may include an optical disc drive that reads optical discs such as DVD-ROMs and Blu-ray (registered trademark) discs, a USB (Universal Serial Bus) port, and the like.
[0027] The transport unit 12 is a transport device such as a conveyor, and transports the object 20 to be subjected to quality determination according to this embodiment, as shown in FIGS. 2A to 2D. In this embodiment, the object 20 is transported at a constant speed in one specific direction. That is, in this embodiment, the degree of freedom of the transport direction of the object 20 is one. Therefore, the object 20 moves at a constant speed in one direction.
[0028] 2A to 2D, the transport unit 12 transports the object 20 at a constant speed from left to right in FIGS. 2A to 2D in response to a signal received from the information processing device 10. In this embodiment, the object 20 is transported from the position shown in FIG. 2A to the positions shown in FIG. 2B and FIG. 2C, and then to the position shown in FIG. 2D.
[0029] An example of the object 20 according to this embodiment is a tire.
[0030] The temperature line sensor 16 according to this embodiment is a line sensor such as an infrared line sensor that can measure temperatures at a plurality of positions on a line.
[0031] The light section line sensor 18 according to this embodiment is a sensor device capable of measuring heights at a plurality of positions on a line. For example, the light section line sensor 18 includes a camera 18a and a laser light source 18b that emits a linear slit laser beam. The light section line sensor 18 is then configured to use a light section method to measure heights at a plurality of positions on the line based on the positions of the laser beam emitted by the laser light source 18b in an image captured by the camera 18a.
[0032] In this embodiment, above the object 20 being transported by the transport unit 12, multiple line sensors (here, for example, a temperature line sensor 16 and an optical cutting line sensor 18) are arranged spaced apart from each other along the movement direction of the object 20.
[0033] In this embodiment, the temperature line sensor 16 is installed so that the line direction in which the temperature sensors are arranged in a row in the temperature line sensor 16 is perpendicular to the movement direction of the object 20 (the scanning direction of the temperature line sensor 16). Also, in this embodiment, the light section line sensor 18 is installed so that the direction in which the light sources are arranged in a row in the light section line sensor 18 is perpendicular to the movement direction of the object 20 (the scanning direction of the light section line sensor 18).
[0034] As shown in FIG. 2B, when the object 20 passes the sensing position of the temperature line sensor 16, the temperature line sensor 16 scans the surface temperature of the object 20.
[0035] 2C, when the object 20 passes a sensing position of the light section line sensor 18, the height of the object 20 (the position of the object 20 in the up-down direction in FIGS. 2A to 2D) is scanned by the light section line sensor 18. In this embodiment, unevenness is formed on the surface of the object 20, such as a tire, and the light section line sensor 18 measures this unevenness.
[0036] Furthermore, the light section line sensor 18 according to this embodiment measures not only the height of the object 20 but also the amount of reflected light at the position where the irradiated laser light appears in the image captured by the camera 18a. By also measuring the amount of reflected light, it is possible to obtain measurement results that cannot be obtained by measuring the height alone.
[0037] In this embodiment, the distance traveled by the transport unit 12 to transport the object 20 is measured by an encoder 14 such as a linear encoder. The encoder 14 may be a rotary encoder, and the encoder 14 may measure the rotation angle of a drive motor that drives the transport unit 12.
[0038] In this embodiment, each time the transport unit 12 transports the object 20 a predetermined transport distance, a signal generated by the encoder 14 is input from the encoder 14 to the temperature line sensor 16 and the light section line sensor 18. Here, for example, the signal may be input from the encoder 14 to the temperature line sensor 16 and the light section line sensor 18 via a signal distributor (not shown).
[0039] The temperature line sensor 16 measures the temperature at the measurement timing of the first time interval, and sequentially generates temperature line images that indicate the temperatures that are the results of the measurements.
[0040] Here, the temperature line image is an image in which pixels representing a measurement result are arranged in a line, which is generated based on the result of a single temperature measurement by the temperature line sensor 16. The pixel value of each pixel included in the temperature line image is associated with a temperature.
[0041] In addition, the light cutting line sensor 18 performs measurements of the height and the amount of reflected light at the measurement timing at the second time interval, and sequentially generates a height line image showing the height as a result of the measurement, and a reflected light amount line image showing the amount of reflected light as a result of the measurement.
[0042] Here, the height line image is an image in which pixels representing a single measurement result are arranged in a line, and is generated based on the result of a single height measurement by the light section line sensor 18. The pixel value of each pixel included in the height line image is associated with the height.
[0043] The reflected light amount line image is an image in which pixels representing the measurement result are arranged in a line, and is generated based on the result of one measurement of the reflected light amount by the light section line sensor 18. The pixel value of each pixel included in the reflected light amount line image is associated with the reflected light amount.
[0044] For example, the temperature line sensor 16 may measure the temperature in response to a signal input from the encoder 14. The light section line sensor 18 may measure the height and the amount of reflected light in response to a signal input from the encoder 14. In this manner, in this embodiment, the timing of measurements by the multiple line sensors may be synchronized. The measurements by the multiple line sensors may be performed at the same time. In the following description, it is assumed that the measurements by the multiple line sensors are performed at the same time.
[0045] In this embodiment, the quality of the object 20 is determined based on the temperature line image, height line image, and reflected light amount line image that show the measurement results of the object 20.
[0046] In this embodiment, a calibration process is performed in advance when determining whether the target object 20 is good or bad. The calibration process will be described below.
[0047] In the calibration process, for example, an object for calibration (hereinafter referred to as a calibration object) moves in one direction at a constant speed, similar to the above-mentioned target object 20. Then, a plurality of line images (here, for example, a plurality of temperature line images, a plurality of height line images, and a plurality of reflected light amount line images) showing the measurement results of the calibration object are generated.
[0048] In this embodiment, a measurement result image is generated based on the line image generated in this manner. Fig. 3 shows a temperature measurement result image 30, a height measurement result image 32, and a reflected light amount measurement result image 34, which are examples of measurement result images for the calibration object.
[0049] In this embodiment, for example, a temperature measurement result image 30 is generated in which a plurality of temperature line images generated by the temperature line sensor 16 are arranged side by side. In the temperature measurement result image 30 shown in the example of Fig. 3, temperature line images in which pixels representing the result of one temperature measurement are arranged vertically in a row are arranged from left to right in order of earliest measurement timing.
[0050] In this embodiment, for example, a height measurement result image 32 is generated in which a plurality of height line images generated by the light section line sensor 18 are arranged side by side. In the temperature measurement result image 30 shown in the example of Fig. 3, height line images in which pixels representing a single height measurement result are arranged vertically in a row are arranged from left to right in order of earliest measurement timing.
[0051] In this embodiment, for example, a reflected light amount measurement result image 34 is generated in which a plurality of reflected light amount line images are arranged side by side, which are generated by the light section line sensor 18. In the reflected light amount measurement result image 34 shown in the example of Fig. 3, the reflected light amount line images, in which pixels representing the measurement results of one reflected light amount are arranged vertically in a row, are arranged from left to right in order of earliest measurement timing.
[0052] In the following description, for each measurement result image, the upper left corner is the origin, the right direction is the positive X-axis direction, and the downward direction is the positive Y-axis direction.
[0053] 3 also shows a calibration area, which is an area within the measurement result image that corresponds to the measurement result of the calibration object. For example, FIG. 3 shows a temperature calibration area 36, which is an area within the temperature measurement result image 30 that corresponds to the measurement result of the surface temperature of the calibration object. In this embodiment, for example, a closed area within the temperature measurement result image 30 that includes pixels with pixel values within a predetermined range is identified as the temperature calibration area 36. Note that the temperature calibration area 36 within the temperature measurement result image 30 may also be identified using a known image recognition technique.
[0054] 3 also shows a height calibration area 38, which is an area corresponding to the measurement result of the height of the calibration object in the height measurement result image 32. In this embodiment, for example, a closed area including pixels with pixel values within a predetermined range in the height measurement result image 32 is identified as the height calibration area 38. Note that the height calibration area 38 in the height measurement result image 32 may be identified using a known image recognition technique.
[0055] 3 also shows a reflected light intensity calibration area 40, which is an area corresponding to the measurement result of the reflected light intensity of the calibration object in the reflected light intensity measurement result image 34. In this embodiment, for example, a closed area including pixels with pixel values within a predetermined range in the reflected light intensity measurement result image 34 is identified as the reflected light intensity calibration area 40. Note that the reflected light intensity calibration area 40 in the reflected light intensity measurement result image 34 may be identified using a known image recognition technique.
[0056] In this embodiment, as described above, measurements by the temperature line sensor 16 and measurements by the light section line sensor 18 are performed synchronously each time the calibration object is transported a predetermined transport distance by the transport unit 12. Therefore, the number of horizontal pixels (width) of the temperature calibration area 36, the height calibration area 38, and the reflected light amount calibration area 40 are all the same. In the example of Fig. 3, the number of pixels in this width is represented by w.
[0057] Then, a short time after the calibration object passes under the temperature line sensor 16 as shown in Fig. 2B, the calibration object passes under the light section line sensor 18 as shown in Fig. 2C. Therefore, as shown in Fig. 3, the position of the temperature calibration area 36 in the temperature measurement result image 30 is to the left of the position of the height calibration area 38 in the height measurement result image 32. Furthermore, the position of the temperature calibration area 36 in the temperature measurement result image 30 is to the left of the position of the reflected light intensity calibration area 40 in the reflected light intensity measurement result image 34.
[0058] In the calibration process, the number of pixels D of the left-right deviation between the position of the temperature calibration area 36 and the position of the height calibration area 38 shown in the example of Fig. 3 is identified as the shift amount D. Note that in this embodiment, the number of pixels of the left-right deviation between the position of the temperature calibration area 36 and the position of the reflected light intensity calibration area 40 is also D.
[0059] Furthermore, due to the difference in resolution between the temperature line sensor 16 and the light section line sensor 18, the number of vertical pixels in the temperature calibration area 36 differs from the number of vertical pixels in the height calibration area 38 and the reflected light intensity calibration area 40. In Fig. 3, the number of vertical pixels in the temperature calibration area 36 is represented by h, and the number of vertical pixels in the height calibration area 38 and the reflected light intensity calibration area 40 is represented by H.
[0060] Then, in the calibration process, the resizing rate r is determined based on the number of pixels h and the number of pixels H. Here, for example, the value of h / H is determined as the resizing rate r.
[0061] In this embodiment, calibration data indicating the shift amount D and the resize rate r determined by the calibration process as described above is stored in the storage unit 10b. This calibration data is then used to determine the quality of the object 20. This calibration data can be commonly used in determining the quality of each of the multiple objects 20. The quality determination process will be described below.
[0062] In the process of determining whether the object 20 is good or bad, multiple line images (here, for example, multiple temperature line images, multiple height line images, and multiple reflected light intensity line images) are generated showing the measurement results of the object 20 moving at a constant speed in one direction.
[0063] In this embodiment, a measurement result image is generated based on the line image generated in this manner. Fig. 4A shows a temperature measurement result image 50, a height measurement result image 52, and a reflected light amount measurement result image 54, which are examples of measurement result images for the object 20.
[0064] 4A also shows an object region that is an area within the measurement result image that corresponds to the measurement result of the object 20. For example, FIG. 4A shows a temperature object region 56 that is an area within the temperature measurement result image 50 that corresponds to the measurement result of the surface temperature of the object 20. FIG. 4A also shows a height object region 58 that is an area within the height measurement result image 52 that corresponds to the measurement result of the height of the object 20. FIG. 4A also shows a reflected light amount object region 60 that is an area within the reflected light amount measurement result image 54 that corresponds to the measurement result of the reflected light amount of the object 20.
[0065] As described with reference to FIG. 3, the temperature object region 56, the height object region 58, and the reflected light amount object region 60 all have the same number of horizontal pixels (width).
[0066] In this embodiment, the temperature measurement result image 50, the height measurement result image 52, and the reflected light intensity measurement result image 54 are aligned based on the calibration data. For example, the alignment is performed by shifting the height measurement result image 52 and the reflected light intensity measurement result image 54 left and right based on a shift amount D indicated by the calibration data. For example, the alignment is performed by deleting D line images from the left of the height measurement result image 52 and the reflected light intensity measurement result image 54. FIG. 4B shows the height measurement result image 52 and the reflected light intensity measurement result image 54 after this deletion. Note that FIG. 4B also shows a temperature measurement result image 50 similar to FIG. 4A. This deletion results in the same range of X coordinate values for the temperature object region 56, the height object region 58, and the reflected light intensity object region 60.
[0067] Then, in this embodiment, for example, based on the resizing rate r indicated by the calibration data, the height measurement result image 32 and the reflected light quantity measurement result image 34 are resized (here, reduced) so that their vertical lengths become r times larger. The state after this resizing is shown in FIG. 4C. As a result, the vertical lengths of the temperature object region 56, the height object region 58, and the reflected light quantity object region 60 become the same.
[0068] In this embodiment, for example, portions of the temperature measurement result image 50, height measurement result image 52, and reflected light quantity measurement result image 54 shown in Fig. 4C that share a common range of X coordinate values are cut out. For example, portions of the temperature measurement result image 50, height measurement result image 52, and reflected light quantity measurement result image 54 shown in Fig. 4C that share an X coordinate value range of x1 or more and x2 or less are cut out. The temperature measurement result image 50, height measurement result image 52, and reflected light quantity measurement result image 54 cut out in this manner are shown in Fig. 4D.
[0069] Here, for example, for any one of the measurement result images, the object region within the measurement result image may be identified. For example, a temperature object region 56 within a temperature measurement result image 50 shown in FIG. 4C may be identified. Here, for example, a closed region within the temperature measurement result image 50 that includes pixels with pixel values within a predetermined range may be identified as the temperature object region 56. Alternatively, for example, the temperature object region 56 within the temperature measurement result image 50 may be identified using a known image recognition technique.
[0070] In this embodiment, for example, the X coordinate value x1 of the left side and the X coordinate value x2 of the right side of the temperature object region 56 are identified in this manner.
[0071] Then, from each of the temperature measurement result image 50, the height measurement result image 52, and the reflected light amount measurement result image 54, portions having an X coordinate value of not less than x1 and not more than x2 may be cut out.
[0072] In this embodiment, a multi-channel input image in which each pixel is associated with multiple pixel values is generated based on the temperature measurement result image 50, height measurement result image 52, and reflected light amount measurement result image 54 shown in FIG. 4D , which are extracted in this manner. Here, for example, a multi-channel input image is generated in which each pixel is associated with a pixel value corresponding to temperature, a pixel value corresponding to height, and a pixel value corresponding to reflected light amount. Here, for example, a multi-channel input image having a predetermined number of vertical and horizontal pixels may be generated. Note that the implementation of the multi-channel input image is not particularly limited. For example, the input image may be a single image in which each pixel has multiple pixel values, or may be a plurality of images associated with each other, in which each associated pixel has a single pixel value.
[0073] Here, for example, a height object region 58 may be identified within the height measurement result image 52 shown in Fig. 4D. Here, for example, a closed region that includes pixels with pixel values within a predetermined range within the height measurement result image 52 may be identified as the height object region 58. Alternatively, for example, the height object region 58 may be identified within the height measurement result image 52 using a known image recognition technique.
[0074] 4D , a reflected light quantity object region 60 may be identified. Here, for example, a closed region including pixels with pixel values within a predetermined range within the reflected light quantity measurement result image 54 is identified as the reflected light quantity object region 60. Alternatively, for example, the reflected light quantity object region 60 may be identified within the reflected light quantity measurement result image 54 using a known image recognition technique.
[0075] The temperature object region 56, the height object region 58, and the reflected light amount object region 60 specified as described above all have the same number of vertical and horizontal pixels.
[0076] A multi-channel input image may then be generated in which each pixel is associated with the pixel value of the pixel associated with that pixel in the temperature object region 56, the pixel value of the pixel associated with that pixel in the height object region 58, and the pixel value of the pixel associated with that pixel in the reflected light intensity object region 60.
[0077] 4D by a predetermined shift amount in the vertical direction, cut out rectangular areas with the same coordinate values, and associate pixels with the same coordinate values to generate a multi-channel input image. Here, for example, the multi-channel input image may be generated by transforming or resizing the image of the cut-out rectangular area so that the number of vertical and horizontal pixels becomes the predetermined number of pixels described above.
[0078] According to this embodiment, by doing as described above, it is possible to easily generate a multi-channel input image in which a desired number of physical quantities are associated with each pixel.
[0079] In this embodiment, the quality of the object 20 is determined based on the output when the multi-channel input image is input to a trained convolutional neural network (CNN).
[0080] The functions implemented in the information processing device 10 and the processes performed by the quality determination system 1 will be further described below.
[0081] Fig. 5 is a functional block diagram showing an example of functions implemented in the information processing device 10 according to this embodiment. Note that the information processing device 10 according to this embodiment does not need to implement all of the functions shown in Fig. 5, and functions other than the functions shown in Fig. 5 may also be implemented.
[0082] As shown in FIG. 5, the information processing device 10 functionally includes, for example, a machine learning model 70, a training data storage unit 72, a learning unit 74, a calibration data storage unit 76, a line image acquisition unit 78, a line image selection unit 80, an input image generation unit 82, and a pass / fail determination unit 84.
[0083] The machine learning model 70 is implemented mainly using the processor 10a and the storage unit 10b. The training data storage unit 72 and the calibration data storage unit 76 are implemented mainly using the storage unit 10b. The learning unit 74, the line image selection unit 80, the input image generation unit 82, and the pass / fail judgment unit 84 are implemented mainly using the processor 10a. The line image acquisition unit 78 is implemented mainly using the communication unit 10c.
[0084] The above functions may be implemented by executing a program including instructions corresponding to the above functions, which is installed in the information processing device 10, which is a computer, by the processor 10a. This program may be supplied to the information processing device 10 via a computer-readable information storage medium such as an optical disk, a magnetic disk, a magnetic tape, a magneto-optical disk, or a flash memory, or via the Internet, for example.
[0085] Furthermore, in the information processing device 10 according to this embodiment, learning is performed on the machine learning model 70. Then, the trained machine learning model 70 is used to determine whether the target object 20 is good or bad.
[0086] The functions of the information processing device 10 in learning the machine learning model 70 will be described below.
[0087] The machine learning model 70 is a machine learning model such as a CNN. Note that the machine learning model 70 does not have to be a CNN.
[0088] In this embodiment, the training data storage unit 72 stores a plurality of training data, an example of which is shown in FIG.
[0089] As shown in FIG. 6, the training data according to this embodiment includes, for example, a training data ID, a learning input image, and teacher data.
[0090] In this embodiment, multi-channel input images are generated for each of a plurality of positive example samples and a plurality of negative example samples in the same manner as described above. Hereinafter, input images generated in this manner for training the machine learning model 70 will be referred to as training input images. Hereinafter, for example, a training input image is generated in which each pixel is associated with a pixel value corresponding to temperature, a pixel value corresponding to height, and a pixel value corresponding to the amount of reflected light based on measurement results of temperature, height, and reflected light amount. Each of the training input images according to this embodiment has the same number of vertical and horizontal pixels as an input image generated based on measurement results of the object 20 to be subjected to pass / fail judgment. Hereinafter, a training input image having the predetermined number of vertical and horizontal pixels described above may be generated as described above.
[0091] Here, a positive example sample refers to a sample of the object 20 that should be determined as good in a quality determination using the trained machine learning model 70. A negative example sample refers to a sample of the object 20 that should be determined as bad in a quality determination using the trained machine learning model 70.
[0092] Then, training data is generated, including a training data ID associated with the sample, a learning input image generated based on the sample, and training data corresponding to the sample. Here, for example, a value indicating a positive example (e.g., 1) is set as the value of the training data associated with the positive example sample. Also, a value indicating a negative example (e.g., 0) is set as the value of the training data associated with the negative example sample.
[0093] The training data storage unit 72 stores training data associated with each of the plurality of positive example samples generated as described above, and training data associated with each of the plurality of negative example samples.
[0094] The above-described method is merely one example of a method for generating training data, and the training data storage unit 72 may store training data generated by a method different from the above-described method.
[0095] In this embodiment, the learning unit 74 executes learning of the machine learning model 70 using, for example, training data stored in the training data storage unit 72.
[0096] As shown in FIG. 7 , the learning unit 74 inputs, for example, a training input image included in training data to the machine learning model 70. Then, the learning unit 74 obtains output data indicating an output from the machine learning model 70 corresponding to the input. Then, the learning unit 74 identifies the difference between the value of the output data and the value of the teacher data included in the training data. Then, the learning unit 74 performs supervised learning, updating the parameter values of the machine learning model 70 using backpropagation so as to minimize the value of a loss function associated with the identified difference.
[0097] In this way, a trained machine learning model 70 is generated. Then, as described above, the trained machine learning model 70 is used to determine whether the target object 20 is good or bad.
[0098] Hereinafter, the function of the information processing device 10 in determining whether the object 20 is good or bad using the trained machine learning model 70 will be described.
[0099] In this embodiment, the calibration data storage unit 76 stores the above-mentioned calibration data generated by a preliminary calibration process, for example.
[0100] In this embodiment, the line image acquisition unit 78 acquires, for example, a first type line image (temperature line image in the above example) generated by a first line sensor (temperature line sensor 16 in the above example).
[0101] In addition, in this embodiment, the line image acquisition unit 78 acquires, for example, a second type of line image (in the above example, a height line image and a reflected light intensity line image) generated by a second line sensor (in the above example, the light cutting line sensor 18).
[0102] In this embodiment, the line image selection unit 80 selects at least one first-type line image and at least one second-type line image corresponding to a given pixel array corresponding to the input image. Here, for example, a temperature line image, a height line image, and a reflected light amount line image whose X coordinate values are in the range of x1 to x2 shown in FIG. 4C are selected.
[0103] As described above, the line image selection unit 80 may generate a measurement result image, and then select at least one line image that is a part of the measurement result image.
[0104] In this embodiment, the selected line image corresponds to a measurement timing difference that is determined based on the separation distance between the first line sensor and the second line sensor and the moving speed of the target object 20. This measurement timing difference corresponds to, for example, the shift amount D indicated by the calibration data stored in the calibration data storage unit 76. In other words, the line image selection unit 80 may select a line image based on the shift amount D indicated by the calibration data stored in the calibration data storage unit 76.
[0105] As described above, the difference in measurement timing (shift amount D in the above example) may be determined based on the measurement result image generated in the calibration process. Alternatively, the user may determine the shift amount D by calculation based on the separation distance between the temperature line sensor 16 and the light section line sensor 18 and the movement speed of the object 20 (the conveying speed of the object 20 by the conveying unit 12).
[0106] In this embodiment, the input image generation unit 82 generates a multi-channel input image by, for example, associating each pixel included in a pixel array corresponding to the input image with a pixel value included in the selected first-type line image and a pixel value included in the selected second-type line image, which is associated with the pixel. Here, for example, the input image is generated by associating each pixel included in the pixel array corresponding to the input image with a pixel value included in the selected temperature line image, a pixel value included in the selected height line image, and a pixel value included in the selected reflected light intensity line image, which is associated with the pixel.
[0107] The physical quantities measured by the line sensor are not limited to the above-mentioned temperature, height, and amount of reflected light. For example, the line sensor may identify unevenness, gloss, or color. The physical quantities indicated by the pixel values of pixels included in the input image may be unevenness, gloss, or color. In other words, the pixel values of the input image indicate physical quantities such as temperature, height, amount of reflected light, unevenness, gloss, color, etc.
[0108] Furthermore, as described above, the line image selection unit 80 may resize at least one line image at a given resize rate (here, for example, the resize rate r indicated by the calibration data stored in the calibration data storage unit 76). In the above example, resize is performed on the vertical lengths of the height measurement result image 52 including multiple height line images and the reflected light amount measurement result image 54 including multiple reflected light amount line images at the resize rate r.
[0109] Then, the input image generating unit 82 may generate an input image based on the resized line image.
[0110] In this embodiment, the pass / fail determination unit 84 determines whether the object 20 is pass / fail based on the output from the trained machine learning model 70 when a multi-channel input image is input to the trained machine learning model 70. Here, for example, as shown in FIG. 8 , a multi-channel input image generated based on measurement results of physical quantities of the object 20 is input to the trained machine learning model 70. Then, the pass / fail of the object 20 is determined based on the value of output data output from the machine learning model 70 in response to the input. Here, for example, if the value of the output data is equal to or greater than a predetermined threshold (e.g., 0.5), the object 20 is determined to be pass / fail, and if not, the object 20 is determined to be fail / fail. The pass / fail determination unit 84 may notify the user of the pass / fail determination result.
[0111] Here, an example of the flow of the learning process performed by the information processing device 10 according to this embodiment will be described with reference to the flow diagram shown in Fig. 9. In this processing example, it is assumed that a plurality of training data are stored in advance in the training data storage unit 72.
[0112] First, the learning unit 74 selects one piece of training data that has not been subjected to the process shown in S102 from among the training data stored in the training data storage unit 72 (S101).
[0113] Then, the learning unit 74 uses the training data selected in the process shown in S101 to perform learning of the machine learning model 70 (S102).
[0114] Then, the learning unit 74 checks whether the process shown in S102 has been executed for all the training data stored in the training data storage unit 72 (S103). If it is confirmed that the process has not been executed (S103: N), the process returns to S101. On the other hand, if it is confirmed that the process has been executed (S103: Y), the process shown in this processing example ends.
[0115] Next, an example of the flow of the quality determination process for the object 20 using the trained machine learning model 70, which is performed in the quality determination system 1 according to this embodiment, will be described with reference to the flow diagram illustrated in Fig. 10. Note that in this processing example, it is assumed that the above-described calibration process has been performed in advance, and calibration data indicating the shift amount D and the resize rate r has been stored in the calibration data storage unit 76.
[0116] When the conveyance of the object 20 starts, the temperature line sensor 16 and the light section line sensor 18 wait for the arrival of the measurement timing by waiting for the input of a signal from the encoder 14 (S201).
[0117] When the temperature line sensor 16 and the light section line sensor 18 detect the arrival of measurement timing by receiving a signal from the encoder 14 (S201: Y), the temperature line sensor 16 and the light section line sensor 18 execute a measurement process (S202). In this process example, a line image is generated by this measurement process. As described above, the timing of execution of the measurement process is synchronized between the temperature line sensor 16 and the light section line sensor 18.
[0118] Then, the temperature line sensor 16 checks whether the number of times the measurement process shown in S202 has been performed reaches a predetermined number (S203).
[0119] If the number of times the measurement process has been executed has not reached the predetermined number of times (S203: N), the process returns to S201.
[0120] If the number of times the measurement process has been executed reaches a predetermined number (S203: Y), the line image acquisition unit 78 acquires line images generated by the predetermined number of measurements up to that point from the temperature line sensor 16 and the light section line sensor 18 (S204). In the process shown in S204, for example, the temperature line sensor 16 may transmit a plurality of temperature line images to the information processing device 10. Then, the line image acquisition unit 78 of the information processing device 10 may receive the transmitted plurality of temperature line images. Alternatively, the light section line sensor 18 may transmit a plurality of height line images and a plurality of reflected light intensity line images to the information processing device 10. Then, the line image acquisition unit 78 of the information processing device 10 may receive the plurality of height line images and a plurality of reflected light intensity line images. Note that a timestamp indicating the generation order of the line image or the generation time of the line image is associated with each line image.
[0121] Then, the line image selection unit 80 generates a measurement result image based on the line images acquired in the process shown in S204 (S205). Here, for example, a temperature measurement result image 50 is generated based on a plurality of temperature line images, a height measurement result image 52 is generated based on a plurality of height line images, and a reflected light amount measurement result image 54 is generated based on a plurality of reflected light amount line images.
[0122] Then, the line image selection unit 80 aligns the height measurement result image 52 and the reflected light amount measurement result image 54 based on the shift amount D indicated by the calibration data stored in the calibration data storage unit 76 (S206). Here, as described above, alignment is performed by deleting D line images from the left for the height measurement result image 52 and the reflected light amount measurement result image 54.
[0123] Then, the line image selection unit 80 changes the size of the height measurement result image 52 and the reflected light amount measurement result image 54 based on the size change rate r indicated by the calibration data stored in the calibration data storage unit 76 (S207). Here, as described above, the vertical lengths of the height measurement result image 52 and the reflected light amount measurement result image 54 are multiplied by r.
[0124] Then, the line image selection unit 80 selects a line image (S208). As described above, the line image selection is performed by cutting out the portions of the temperature measurement result image 50, the height measurement result image 52, and the reflected light amount measurement result image 54 shown in FIG. 4C, each having an X coordinate value of x1 or more and x2 or less.
[0125] Then, the input image generating unit 82 generates a multi-channel input image based on the line image selected in the process shown in S208 (S209).
[0126] Then, the quality determining unit 84 inputs the multi-channel input image generated in the process shown in S209 to the trained machine learning model 70 (S210).
[0127] Then, the quality determination unit 84 determines whether the transported object 20 is good or bad based on the output from the machine learning model 70 in response to the input in the process shown in S210 (S211). Here, for example, the quality of the object 20 is determined based on the value of the output data output from the machine learning model 70 in response to the input of an input image.
[0128] Then, the process shown in this processing example is terminated.
[0129] The present invention is not limited to the above-described embodiment.
[0130] For example, the above-described process may be performed for each of a plurality of objects 20 that are continuously conveyed, and the quality determination process for the plurality of objects 20 may be performed continuously.
[0131] Furthermore, a plurality of multi-channel input images may be generated based on one measurement result image that shows the results of successively measuring a plurality of objects 20.
[0132] Furthermore, it is not necessary to synchronize the measurement timing between the temperature line sensor 16 and the light section line sensor 18, and at least one first type line image and at least one second type line image may be selected such that the measurement positions on the object 20 correspond to each other. Then, a multi-channel input image may be generated based on the first type line image and the second type line image selected in this manner.
[0133] In addition, in this embodiment, the number of line sensors that generate line images is not limited to two, and a multi-channel input image may be generated based on line images generated by each of three or more line sensors arranged at a distance from each other.
[0134] Furthermore, the division of roles among the information processing device 10, the temperature line sensor 16, and the light section line sensor 18 is not limited to the above. For example, the temperature line sensor 16 may generate the temperature measurement result image 30 and the temperature measurement result image 50 instead of the information processing device 10. Furthermore, the light section line sensor 18 may generate the height measurement result image 32, the reflected light amount measurement result image 34, the height measurement result image 52, and the reflected light amount measurement result image 54 instead of the information processing device 10.
[0135] Furthermore, the specific numerical values and character strings described above, as well as the specific numerical values and character strings in the drawings, are merely examples, and the present invention is not limited to these numerical values and character strings. [Explanation of symbols]
[0136] 1 Good / bad judgment system, 10 information processing device, 10a processor, 10b memory unit, 10c communication unit, 10d display unit, 10e operation unit, 12 conveying unit, 14 encoder, 16 temperature line sensor, 18 light cutting line sensor, 18a camera, 18b laser light source, 20 object, 30 temperature measurement result image, 32 height measurement result image, 34 reflected light amount measurement result image, 36 temperature calibration area, 38 height calibration area, 40 reflected light amount calibration area, 50 temperature measurement result image, 52 height measurement result image, 54 reflected light amount measurement result image, 56 temperature object area, 58 height object area, 60 reflected light amount object area, 70 machine learning model, 72 training data memory unit, 74 learning unit, 76 calibration data memory unit, 78 line image acquisition unit, 80 line image selection unit, 82 Input image generation unit, 84 pass / fail judgment unit.
Claims
1. An image generating device capable of communicating with a first line sensor that sequentially generates a first type of line image indicating a first physical quantity at a measurement timing at a first time interval, and a second line sensor that sequentially generates a second type of line image indicating a second physical quantity at a measurement timing at a second time interval, the first line sensor and the second line sensor being spaced apart from each other along a moving direction of an object moving in one direction at a constant speed, the image generating device generating a multi-channel input image to be input to a trained machine learning model, a first type line image acquisition means for acquiring the first type line image; a second type line image acquisition means for acquiring the second type line image; a means for generating a first type measurement result image in which the first type line images acquired in the order of measurement timing at the first time interval are arranged in the order of the measurement timing; a means for generating a second type measurement result image in which the second type line images acquired in the order of measurement timing at the second time interval are arranged in the order of the measurement timing; a means for identifying a first region of the object for calibration based on the first type measurement result image showing the object for calibration, and for identifying a second region of the object for calibration based on the second type measurement result image showing the object for calibration; a means for specifying a measurement timing difference determined based on a separation distance between the first line sensor and the second line sensor and a moving speed of the object, based on a position of the first area in the first type measurement result image and a position of the second area in the second type measurement result image; a line image selection means for selecting at least one of the first type line image and at least one of the second type line image, which indicate the object for pass / fail judgment and correspond to a given pixel array according to the measurement timing difference; an input image generating means for generating the multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image and associated with the pixel, and a pixel value of a pixel included in the selected second type line image and associated with the pixel; 13. An image generating device comprising:
2. a resizing unit for performing resizing on at least one of the selected first type line image and the selected second type line image by a given resizing ratio; the input image generating means generates the input image based on the first type line image or the second type line image on which the size change has been performed.
2. The image generating device according to claim 1.
3. The first physical quantity and the second physical quantity are different from each other and are any one of temperature, height, amount of reflected light, unevenness, gloss, and color.
3. An image generating device according to claim 1 or 2.
4. A quality determination device capable of communicating with a first line sensor that sequentially generates a first type of line image indicating a first physical quantity at a measurement timing at a first time interval, and a second line sensor that sequentially generates a second type of line image indicating a second physical quantity at a measurement timing at a second time interval, the first line sensor and the second line sensor being spaced apart from each other along a moving direction of an object moving in one direction at a constant speed, a first type line image acquisition means for acquiring the first type line image; a second type line image acquisition means for acquiring the second type line image; a means for generating a first type measurement result image in which the first type line images acquired in the order of measurement timing at the first time interval are arranged in the order of the measurement timing; a means for generating a second type measurement result image in which the second type line images acquired in the order of measurement timing at the second time interval are arranged in the order of the measurement timing; a means for identifying a first region of the object for calibration based on the first type measurement result image showing the object for calibration, and for identifying a second region of the object for calibration based on the second type measurement result image showing the object for calibration; a means for specifying a measurement timing difference determined based on a separation distance between the first line sensor and the second line sensor and a moving speed of the object, based on a position of the first area in the first type measurement result image and a position of the second area in the second type measurement result image; a line image selection means for selecting at least one of the first type line image and at least one of the second type line image, which indicate the object for pass / fail judgment and correspond to a given pixel array according to the measurement timing difference; an input image generating means for generating a multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image and associated with the pixel, and a pixel value of a pixel included in the selected second type line image and associated with the pixel; a quality determination means for determining whether the object for quality determination is good or bad based on an output from a trained machine learning model when the input image is input to the trained machine learning model; A quality determination device comprising:
5. An image generation method in which an image generation device capable of communicating with a first line sensor that is arranged spaced apart from each other along a moving direction of an object moving in one direction at a constant speed and that sequentially generates a first type of line image indicating a first physical quantity at a measurement timing at a first time interval, and a second line sensor that sequentially generates a second type of line image indicating a second physical quantity at a measurement timing at a second time interval, generates multi-channel input images to be input to a trained machine learning model, the method comprising: acquiring the first type line image; acquiring the second type line image; generating a first type measurement result image in which the first type line images acquired in the order of measurement timing at the first time interval are arranged in the order of the measurement timing; generating a second type measurement result image in which the second type line images acquired in the order of measurement timing at the second time interval are arranged in the order of the measurement timing; identifying a first region of the object for calibration based on the first type measurement result image showing the object for calibration, and identifying a second region of the object for calibration based on the second type measurement result image showing the object for calibration; specifying a measurement timing difference determined based on a separation distance between the first line sensor and the second line sensor and a moving speed of the object based on a position of the first area in the first type measurement result image and a position of the second area in the second type measurement result image; selecting at least one of the first type line images and at least one of the second type line images, which correspond to a given pixel array according to the measurement timing difference and indicate the object for pass / fail determination; generating the multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image and associated with the pixel, and a pixel value of a pixel included in the selected second type line image and associated with the pixel; 13. An image generating method comprising:
6. A quality determination method executed by a quality determination device capable of communicating with a first line sensor that is arranged apart from each other along a moving direction of an object moving in one direction at a constant speed, the first line sensor sequentially generating a first type of line image indicating a first physical quantity at a measurement timing at a first time interval, and a second line sensor that sequentially generates a second type of line image indicating a second physical quantity at a measurement timing at a second time interval, the first line sensor and the second line sensor being disposed apart from each other along a moving direction of an object moving in one direction at a constant speed, the method comprising: acquiring the first type line image; acquiring the second type line image; generating a first type measurement result image in which the first type line images acquired in the order of measurement timing at the first time interval are arranged in the order of the measurement timing; generating a second type measurement result image in which the second type line images acquired in the order of measurement timing at the second time interval are arranged in the order of the measurement timing; identifying a first region of the object for calibration based on the first type measurement result image showing the object for calibration, and identifying a second region of the object for calibration based on the second type measurement result image showing the object for calibration; specifying a measurement timing difference determined based on a separation distance between the first line sensor and the second line sensor and a moving speed of the object based on a position of the first area in the first type measurement result image and a position of the second area in the second type measurement result image; selecting at least one of the first type line images and at least one of the second type line images, which correspond to a given pixel array according to the measurement timing difference and indicate the object for pass / fail determination; generating a multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image and associated with the pixel, and a pixel value of a pixel included in the selected second type line image and associated with the pixel; A step of determining whether the object for quality determination is good or bad based on an output from a trained machine learning model when the input image is input into the trained machine learning model; A method for determining acceptability, comprising:
7. a computer that generates a multi-channel input image to be input to a trained machine learning model and that is capable of communicating with a first line sensor that sequentially generates a first type of line image indicating a first physical quantity at a measurement timing at a first time interval, and a second line sensor that sequentially generates a second type of line image indicating a second physical quantity at a measurement timing at a second time interval, the first line sensor and the second line sensor being spaced apart from each other along a moving direction of an object moving in one direction at a constant speed; obtaining the first type line image; obtaining the second type line image; a step of generating a first type measurement result image in which the first type line images acquired in the order of measurement timing at the first time interval are arranged in the order of the measurement timing; a step of generating a second type measurement result image in which the second type line images acquired in the order of measurement timing at the second time interval are arranged in the order of the measurement timing; specifying a first region of the object for calibration based on the first type measurement result image showing the object for calibration, and specifying a second region of the object for calibration based on the second type measurement result image showing the object for calibration; specifying a measurement timing difference determined based on a separation distance between the first line sensor and the second line sensor and a moving speed of the object, based on a position of the first area in the first type measurement result image and a position of the second area in the second type measurement result image; selecting at least one of the first type line images and at least one of the second type line images, which correspond to a given pixel array according to the measurement timing difference and indicate the object for quality determination; a step of generating the multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image and associated with the pixel, and a pixel value of a pixel included in the selected second type line image and associated with the pixel; A program characterized by executing the above.
8. a computer capable of communicating with a first line sensor that is arranged apart from each other along a moving direction of an object moving in one direction at a constant speed, the first line sensor sequentially generating a first type of line image indicating a first physical quantity at a measurement timing of a first time interval, and a second line sensor that sequentially generates a second type of line image indicating a second physical quantity at a measurement timing of a second time interval; obtaining the first type line image; obtaining the second type line image; a step of generating a first type measurement result image in which the first type line images acquired in the order of measurement timing at the first time interval are arranged in the order of the measurement timing; a step of generating a second type measurement result image in which the second type line images acquired in the order of measurement timing at the second time interval are arranged in the order of the measurement timing; specifying a first region of the object for calibration based on the first type measurement result image showing the object for calibration, and specifying a second region of the object for calibration based on the second type measurement result image showing the object for calibration; specifying a measurement timing difference determined based on a separation distance between the first line sensor and the second line sensor and a moving speed of the object, based on a position of the first area in the first type measurement result image and a position of the second area in the second type measurement result image; selecting at least one of the first type line images and at least one of the second type line images, which correspond to a given pixel array according to the measurement timing difference and show the object for quality determination; a step of generating a multi-channel input image by associating, with each pixel included in the pixel array, a pixel value of a pixel included in the selected first type line image and associated with the pixel, and a pixel value of a pixel included in the selected second type line image and associated with the pixel; A step of judging the quality of the object for quality judgment based on an output from a trained machine learning model when the input image is input into the trained machine learning model; A program characterized by executing the above.
Citation Information
Patent Citations
Tire state determination device and its method
JP2007038730A
Device of measuring performance of tire and method of measuring performance of racing tire
JP2008082709A
Tire inspection device and tire inspection method
JP2011247639A
Infrared survey method of structure and infrared survey arithmetic device
JP2013096741A
Defect inspection method and defect inspection device
JP2019027826A
