Object detection device, machine learning execution device, object detection program, and machine learning execution program

By utilizing multiple wavelength groups to acquire and process images, the device enhances object detection accuracy by identifying objects with distinct brightness thresholds and generating multi-channel images for machine learning-based detection, overcoming the limitations of single-spectrum devices.

JP7574073B2Active Publication Date: 2024-10-28MAYEKAWA MFG CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2020213342
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2020-12-23
Publication Date
2024-10-28
Estimated Expiration
2040-12-23

AI Technical Summary

Technical Problem

Existing object detection devices struggle to accurately identify objects within a subject when the density difference between the object and its surroundings is small, as they rely on a single type of light spectrum, leading to poor brightness contrast in X-ray, fluorescence, or color images.

Method used

The device employs multiple wavelength groups to acquire and process images, using brightness information from both main and sub-wavelength images to enhance detection accuracy by identifying objects with distinct brightness thresholds and generating multi-channel images for machine learning-based detection.

Benefits of technology

This approach allows for precise detection of objects within a subject, even when they have similar densities or colors to their surroundings, by leveraging the unique reflectance properties of different wavelengths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007574073000001
    Figure 0007574073000001
  • Figure 0007574073000002
    Figure 0007574073000002
  • Figure 0007574073000003
    Figure 0007574073000003
Patent Text Reader

Abstract

To accurately detect an object included in a subject.SOLUTION: An object detection device comprises: a first image acquisition section for acquiring a first image that is generated by irradiating a subject with light belonging to a first wavelength group, and that depicts the subject; a second image acquisition section for acquiring a second image that is generated by irradiating the subject with light belonging to a second wavelength group different from the first wavelength group and having a wavelength different from a wavelength of the light with which the subject is irradiated in order to generate the first image, and that depicts the subject; and an object detection section for detecting an object included in the subject using the first image and the second image.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to an object detection device, a machine learning execution device, an object detection program, and a machine learning execution program. [Background technology]

[0002] When handling food in a factory or the like, a technology for detecting a specific part contained in food or a foreign object mixed in food may be required. An example of such a technology is the device disclosed in Patent Document 1. This device is for inspecting an object or item, and has a means for irradiating a line across the object or item and an observation means for observing all or an extended portion of the line and detecting a narrow band of radiation emitted by a specific object or item in an excited state by radiation, and the observation system has a narrow band pass filter means for filtering out substantially all but the narrow frequency band within a specific angle of incidence, a detection means for detecting radiation transmitted through the filter means, and a means for blocking light outside the angle of incidence that transmits through the filter means and reaches the detection means. Patent Document 1 also discloses that this device can be applied to inspecting the freshness or presence of bones in cut fish (using ultraviolet light). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] Japanese Patent Application Publication No. 02-85750 Summary of the Invention [Problem to be solved by the invention]

[0004] However, since the above-mentioned device only irradiates an item with one type of light having a specific spectrum, such as ultraviolet light, it may not be possible to properly detect specific parts or objects contained in the item, or foreign matter mixed into the item.

[0005] For example, when an object is detected by irradiating an object with X-rays and taking an X-ray image, if the difference between the density of the object and the density around the object is small, the contrast in brightness between the area depicting the object in the X-ray image and the area around the area is small, and the object may not be detected properly. Alternatively, when an object is detected by irradiating an object with excitation light and taking a fluorescent image, if the object contains other fluorescent objects, the object may not be detected correctly. Alternatively, when an object is detected by irradiating an object with white light and taking a color image, if the object and the area around the object are similar in color or shape, the object may not be detected properly even if the color image is used.

[0006] The present invention has been made in consideration of the above-mentioned circumstances, and aims to provide a target detection device, a machine learning execution device, a target detection program, and a machine learning execution program that are capable of accurately detecting targets contained in a subject. [Means for solving the problem]

[0007] One aspect of the present invention includes a first image acquisition unit that acquires a first image that depicts the subject, the first image being generated by irradiating a subject with light that belongs to a first wavelength group, the second image acquisition unit that acquires a second image that depicts the subject, the second image being generated by irradiating the subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light that was irradiated to the subject to generate the first image, and an object detection unit that detects an object included in the subject using the first image and the second image. At least one of the first image acquisition unit and the second image acquisition unit acquires an image in which each pixel represents a value calculated based on: luminance information of a main image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the main image being obtained based on a main wavelength belonging to the same wavelength group as the light irradiated to the subject; and luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being obtained based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the subject and has a wavelength different from the main wavelength. A target detection device.

[0008] One aspect of the present invention is the above-mentioned object detection device, wherein the object detection unit detects a first element that is depicted in the first image at a brightness exceeding a predetermined first brightness, and detects a second element that is depicted in the second image at a brightness exceeding a predetermined second brightness and is different from the first element, thereby detecting the object.

[0009] One aspect of the present invention is the above-mentioned object detection device, wherein the first image acquisition unit acquires the first image generated by irradiating the subject with light having a wavelength whose reflectance when irradiated onto the first element exceeds a predetermined first reflectance.

[0010] One aspect of the present invention is the above-mentioned object detection device, wherein the second image acquisition unit acquires the second image generated by irradiating the subject with light having a wavelength whose reflectance when irradiated onto the second element exceeds a predetermined second reflectance.

[0011] One aspect of the present invention is the above-mentioned object detection device, wherein the object detection unit selects a first point for each area in the first image in which the first element is depicted based on a predetermined first rule, selects a second point for each area in the second image in which the second element is depicted based on a predetermined second rule, and detects as the object a combination of the first element and the second element that provides the first point and the second point such that the length of the line segment connecting the first point and the second point is less than a predetermined length.

[0012] One aspect of the present invention is the above-mentioned object detection device, wherein the first image acquisition unit acquires the first image, in which each pixel represents a value calculated based on the luminance of each pixel included in a first main image that depicts the subject, which has a first dominant wavelength belonging to the first wavelength group, is irradiated onto the subject, and is photographed by detecting light reflected by the subject, and a first sub-image that depicts the subject, which has a first sub-wavelength belonging to the first wavelength group, is irradiated onto the subject, and is photographed by detecting light reflected by the subject.

[0013] One aspect of the present invention is the above-mentioned object detection device, wherein the second image acquisition unit acquires the second image, in which each pixel represents a value calculated based on the luminance of each pixel included in a second main image depicting the subject, which has a second dominant wavelength belonging to the second wavelength group, is irradiated onto the subject and photographed by detecting light reflected by the subject, and a second sub-image depicting the subject, which has a second sub-wavelength belonging to the second wavelength group, is irradiated onto the subject and photographed by detecting light reflected by the subject.

[0014] One aspect of the present invention is the above-mentioned object detection device, wherein the first image acquisition unit acquires the first image in which each pixel represents a value calculated based on the luminance of each pixel included in a first main image that depicts the subject, which is captured by irradiating the subject with light belonging to the first wavelength group, detecting light having a first dominant wavelength, and the luminance of each pixel included in a first sub-image that depicts the subject, which is captured by irradiating the subject with light belonging to the first wavelength group, detecting light having a first sub-wavelength, and the first image in which each pixel represents a value calculated based on ... depicts the subject.

[0015] One aspect of the present invention is the above-mentioned object detection device, wherein the second image acquisition unit acquires the second image in which each pixel represents a value calculated based on the luminance of each pixel included in a second main image that depicts the subject, which is captured by detecting light having a second dominant wavelength and is emitted from the subject by irradiating the subject with light belonging to the second wavelength group, and the luminance of each pixel included in a second sub-image that depicts the subject, which is captured by detecting light having a second sub-wavelength and is emitted from the subject by irradiating the subject with light belonging to the second wavelength group.

[0016] One aspect of the present invention includes a training multi-channel image generated using a first training image that is generated by irradiating a training subject with light belonging to a first wavelength group and that depicts the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the training subject to generate the first training image and that depicts the training subject, and a training data acquisition unit that acquires training data having as an answer the position of an area in which a training target included in the training subject depicted in the training multi-channel image is depicted, and a machine learning execution unit that inputs the training data to a machine learning model and trains the machine learning model. At least one of the first learning image and the second learning image is an image in which each pixel represents a value calculated based on luminance information of a main image obtained as a result of irradiating the learning subject with light belonging to the first wavelength group or the second wavelength group, the main image being obtained based on a main wavelength belonging to the same wavelength group as the light irradiated to the learning subject, and luminance information of a sub-image obtained as a result of irradiating a subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being obtained based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the learning subject and has a wavelength different from the main wavelength, the sub-image being obtained as a result of irradiating a subject with light belonging to the first wavelength group or the second wavelength group. It is a machine learning execution device.

[0017] One aspect of the present invention includes a first image for inference acquisition unit that acquires a first image for inference that is generated by irradiating an inference subject with light belonging to a first wavelength group and depicts the inference subject; a second image for inference acquisition unit that acquires a second image for inference that is generated by irradiating the subject for inference with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the subject for inference to generate the first image for inference, and depicts the subject for inference; an image for inference generation unit that generates a multi-channel image for inference using the first image for inference and the second image for inference; and a second image for inference that is generated by irradiating a training subject with light belonging to the first wavelength group and depicts the training subject. an inference object detection unit that inputs an inference multi-channel image to a machine learning model trained using teacher data in which a question is a training multi-channel image generated using one training image and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the training subject to generate the first training image and depicts the training subject, and that detects an inference object included in the inference subject by the machine learning model using training data in which an answer is a position of a region in which a training object included in the training subject depicted in the training multi-channel image is depicted; At least one of the first image-for-inference acquisition unit and the second image-for-inference acquisition unit acquires an image in which each pixel represents a value calculated based on luminance information of a main image obtained as a result of irradiating the subject for inference with light belonging to the first wavelength group or the second wavelength group, the main image being based on a main wavelength belonging to the same wavelength group as the light irradiated to the subject for inference, and luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the subject for inference and has a wavelength different from the main wavelength, the main image being based on luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group.A target detection device.

[0018] One aspect of the present invention is to provide a computer that realizes a first image acquisition function for acquiring a first image depicting the subject, the first image being generated by irradiating the subject with light belonging to a first wavelength group, a second image acquisition function for acquiring a second image depicting the subject, the second image being generated by irradiating the subject with light belonging to a second wavelength group different from the first wavelength group and having a different wavelength from the light irradiated to the subject to generate the first image, and an object detection function for detecting an object included in the subject using the first image and the second image. At least one of the first image acquisition function and the second image acquisition function acquires an image in which each pixel represents a value calculated based on: luminance information of a main image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the main image being obtained based on a main wavelength belonging to the same wavelength group as the light irradiated to the subject; and luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being obtained based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the subject and has a wavelength different from the main wavelength. It is a target detection program.

[0019] One aspect of the present invention provides a computer that realizes a training data acquisition function that acquires training data in which a position of an area in which a training target included in the training subject depicted in the training multi-channel image is depicted is an answer, the training data being a training multi-channel image generated using a first training image that is generated by irradiating a training subject with light belonging to a first wavelength group and depicting the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the training subject to generate the first training image, and a training data execution function that inputs the training data to a machine learning model and trains the machine learning model. At least one of the first learning image and the second learning image is an image in which each pixel represents a value calculated based on luminance information of a main image obtained as a result of irradiating the learning subject with light belonging to the first wavelength group or the second wavelength group, the main image being obtained based on a main wavelength belonging to the same wavelength group as the light irradiated to the learning subject, and luminance information of a sub-image obtained as a result of irradiating a subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being obtained based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the learning subject and has a wavelength different from the main wavelength, the sub-image being obtained as a result of irradiating a subject with light belonging to the first wavelength group or the second wavelength group. A machine learning execution program.

[0020] One aspect of the present invention provides a computer having a first inference image acquisition function for acquiring a first inference image that depicts an inference subject, the first inference image being generated by irradiating an inference subject with light belonging to a first wavelength group, the first inference image being acquired, a second inference image acquisition function for acquiring a second inference image that depicts the inference subject, the second inference image being generated by irradiating the inference subject with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the inference subject to generate the first inference image, an inference image generation function for generating an inference multi-channel image using the first inference image and the second inference image, and a second inference image generation function for generating an inference multi-channel image that depicts the inference subject, the second inference image being generated by irradiating a training subject with light belonging to the first wavelength group and the second inference image being acquired. and a second learning image that depicts the learning subject, the second learning image being generated by irradiating the learning subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the learning subject to generate the first learning image ... At least one of the first inference image acquisition function or the second inference image acquisition function acquires an image in which each pixel represents a value calculated based on luminance information of a main image obtained as a result of irradiating the subject for inference with light belonging to the first wavelength group or the second wavelength group, the main image being based on a dominant wavelength belonging to the same wavelength group as the light irradiated to the subject for inference, and luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being based on a subordinate wavelength which belongs to the same wavelength group as the light irradiated to the subject for inference and has a wavelength different from the dominant wavelength, the sub-image being obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group. It is a target detection program. One aspect of the present invention is an object detection device comprising a first image acquisition unit that acquires a first image depicting the subject, the first image being generated by irradiating the subject with light belonging to a first wavelength group; a second image acquisition unit that acquires a second image depicting the subject, the second image being generated by irradiating the subject with light belonging to a second wavelength group different from the first wavelength group and having a different wavelength from the light irradiated to the subject to generate the first image; and an object detection unit that detects objects included in the subject using the first image and the second image, wherein the first image acquisition unit acquires the first image, in which each pixel represents a value calculated based on the luminance of each pixel included in a first main image that has a first dominant wavelength belonging to the first wavelength group, that is irradiated to the subject and photographed by detecting light reflected by the subject, and the luminance of each pixel included in a first sub-image that has a first sub-wavelength belonging to the first wavelength group, that is irradiated to the subject and photographed by detecting light reflected by the subject. One aspect of the present invention is an object detection device comprising a first image acquisition unit that acquires a first image depicting the subject, the first image being generated by irradiating the subject with light belonging to a first wavelength group; a second image acquisition unit that acquires a second image depicting the subject, the second image being generated by irradiating the subject with light belonging to a second wavelength group different from the first wavelength group and having a different wavelength from the light irradiated to the subject to generate the first image; and an object detection unit that detects objects included in the subject using the first image and the second image, wherein the second image acquisition unit acquires the second image, in which each pixel represents a value calculated based on the luminance of each pixel included in a second main image that has a second dominant wavelength belonging to the second wavelength group, that is irradiated to the subject and photographed by detecting light reflected by the subject, and the luminance of each pixel included in a second sub-image that has a second sub-wavelength belonging to the second wavelength group, that is irradiated to the subject and photographed by detecting light reflected by the subject. According to one aspect of the present invention, a training multi-channel image is generated using a first training image that is generated by irradiating a training subject with light belonging to a first wavelength group and that depicts the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the training subject to generate the first training image and that depicts the training subject, and the training multi-channel image is generated using the first training image and the second training image is generated using the second training image and the second training image is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the training subject to generate the first training image, and the training multi-channel image is generated using the first training image and the second training image. and a machine learning execution unit that inputs data into a machine learning model and trains the machine learning model, wherein the first training image represents a value calculated for each pixel based on the luminance of each pixel included in a first main image that depicts the training subject, the first main image having a first main wavelength belonging to the first wavelength group, that is irradiated onto the training subject, and that is photographed by detecting light reflected by the training subject, and the luminance of each pixel included in a first sub-image that depicts the training subject, the first sub-image having a first sub-wavelength belonging to the first wavelength group, that is irradiated onto the training subject, and that is photographed by detecting light reflected by the training subject. According to one aspect of the present invention, a training multi-channel image is generated using a first training image that is generated by irradiating a training subject with light belonging to a first wavelength group and that depicts the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the training subject to generate the first training image and that depicts the training subject, and the training multi-channel image is generated using the first training image and the second training image is generated using the second training image and the second training image is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the training subject to generate the first training image, and the training multi-channel image is generated using the first training image and the second training image. and a machine learning execution unit that inputs data into a machine learning model and trains the machine learning model, wherein the second training image represents a value calculated for each pixel based on the luminance of each pixel included in a second main image that depicts the training subject, the second main image having a second main wavelength belonging to the second wavelength group, the second main image being irradiated onto the training subject and photographed by detecting light reflected by the training subject, and the second sub-image that depicts the training subject, the second sub-image having a second sub-wavelength belonging to the second wavelength group, the second main image being irradiated onto the training subject and photographed by detecting light reflected by the training subject. One aspect of the present invention includes a first inference image acquisition unit that acquires a first inference image that is generated by irradiating an inference subject with light belonging to a first wavelength group and that depicts the inference subject; a second inference image acquisition unit that acquires a second inference image that is generated by irradiating the inference subject with light that belongs to a second wavelength group different from the first wavelength group and that has a different wavelength from the light irradiated to the inference subject to generate the first inference image and that depicts the inference subject; an inference image generation unit that generates an inference multi-channel image using the first inference image and the second inference image; and a first learning image that is generated by irradiating a learning subject with light belonging to the first wavelength group and that depicts the learning subject, and a second learning image that is generated by irradiating the learning subject with light that belongs to the second wavelength group different from the first wavelength group and that has a different wavelength from the light irradiated to the learning subject to generate the first learning image and that depicts the learning subject. an inference target detection unit that inputs a learning multi-channel image into a machine learning model trained using teacher data in which a learning multi-channel image is used as a problem and the position of an area in which a learning target contained in the learning subject depicted in the learning multi-channel image is depicted as an answer, and causes the machine learning model to detect the inference target contained in the inference subject, wherein the first inference image acquisition unit acquires the first inference image, in which each pixel represents a value calculated based on the luminance of each pixel included in a first main image that has a first main wavelength belonging to the first wavelength group, is irradiated onto the inference subject and photographed by detecting light reflected by the inference subject, and the luminance of each pixel included in a first sub-image that has a first sub-wavelength belonging to the first wavelength group, is irradiated onto the inference subject and photographed by detecting light reflected by the inference subject. One aspect of the present invention includes a first inference image acquisition unit that acquires a first inference image that is generated by irradiating an inference subject with light belonging to a first wavelength group and that depicts the inference subject; a second inference image acquisition unit that acquires a second inference image that is generated by irradiating the inference subject with light that belongs to a second wavelength group different from the first wavelength group and that has a different wavelength from the light irradiated to the inference subject to generate the first inference image and that depicts the inference subject; an inference image generation unit that generates an inference multi-channel image using the first inference image and the second inference image; and a first learning image that is generated by irradiating a learning subject with light belonging to the first wavelength group and that depicts the learning subject, and a second learning image that is generated by irradiating the learning subject with light that belongs to the second wavelength group different from the first wavelength group and that has a different wavelength from the light irradiated to the learning subject to generate the first learning image and that depicts the learning subject. and an inference target detection unit that inputs a learning multi-channel image into a machine learning model trained using teacher data in which a learning multi-channel image is used as a problem and the position of an area in which a learning target contained in the learning subject depicted in the learning multi-channel image is depicted as an answer, and causes the machine learning model to detect the inference target contained in the inference subject, wherein the second inference image acquisition unit acquires the second inference image, in which each pixel represents a value calculated based on the luminance of each pixel included in a second main image that has a second main wavelength belonging to the second wavelength group, is irradiated onto the inference subject and photographed by detecting light reflected by the inference subject, and the luminance of each pixel included in a second sub-image that has a second sub-wavelength belonging to the second wavelength group, is irradiated onto the inference subject and photographed by detecting light reflected by the inference subject. Effect of the Invention

[0021] According to the present invention, an object included in a subject can be detected with high accuracy. [Brief description of the drawings]

[0022] [Figure 1]1 is a diagram illustrating an example of a hardware configuration of an object detection device according to a first embodiment. [Diagram 2] 1 is a diagram showing an example of an object detection device according to a first embodiment, a first light-emitting device, a first photographing device, a second light-emitting device, a second photographing device, and a food processing line. FIG. [Diagram 3] FIG. 2 is a diagram showing an example of a visible light region reflectance spectrum of cartilage, a visible light region reflectance spectrum of fat, and a visible light region reflectance spectrum of red meat of chicken thigh meat according to the first embodiment. [Figure 4] FIG. 2 is a diagram showing an example of a first principal image captured by detecting light emitted from a chicken thigh and having a first dominant wavelength in the first embodiment. [Diagram 5] A figure showing an example of a first sub-image captured by detecting light emitted from chicken thigh meat and having a first sub-wavelength in the first embodiment. [Figure 6] FIG. 2 is a diagram showing an example of a near-infrared reflectance spectrum of cartilage, a near-infrared reflectance spectrum of fat, and a near-infrared reflectance spectrum of red meat of chicken thigh meat according to the first embodiment. [Figure 7] FIG. 11 is a diagram showing an example of a second principal image captured by irradiating light having a second dominant wavelength onto chicken thigh meat according to the first embodiment. [Figure 8] FIG. 2 is a diagram showing an example of a second sub-image captured by irradiating light having a second sub-wavelength onto chicken thigh meat in the first embodiment. [Figure 9] FIG. 2 is a diagram illustrating an example of a functional configuration of an object detection device according to the first embodiment. [Figure 10] 6 is a diagram showing an example of a first image generated using the first main image shown in FIG. 4 and the first sub-image shown in FIG. 5. FIG. [Figure 11] 9 is a diagram showing an example of a second image generated using the second main image shown in FIG. 7 and the second sub-image shown in FIG. 8. FIG. [Figure 12] 4 is a diagram showing an example of a region depicted at a luminance exceeding a predetermined first luminance in a first image according to the first embodiment; FIG. [Figure 13]13 is a diagram showing an example of a region that may depict a first element according to the first embodiment; FIG. [Figure 14] 13 is a diagram showing an example of a region depicted at a luminance exceeding a predetermined second luminance in a second image according to the first embodiment; FIG. [Figure 15] 13 is a diagram showing an example of a region in which a second element may be depicted according to the first embodiment; FIG. [Figure 16] FIG. 2 is a diagram showing an example of a multi-channel image according to the first embodiment. [Figure 17] 5 is a flowchart illustrating an example of a process executed by the object detection device according to the first embodiment. [Figure 18] FIG. 11 is a diagram illustrating an example of a hardware configuration of a machine learning execution device according to a second embodiment. [Figure 19] FIG. 11 is a diagram illustrating an example of a functional configuration of a machine learning execution device according to a second embodiment. [Figure 20] FIG. 11 is a diagram showing an example of a learning multi-channel image according to the second embodiment. [Figure 21] 11 is a flowchart illustrating an example of processing executed by a machine learning execution device according to the second embodiment. [Figure 22] FIG. 11 is a diagram illustrating an example of a hardware configuration of an object detection device according to a second embodiment. [Figure 23] FIG. 11 is a diagram illustrating an example of a functional configuration of an object detection device according to a second embodiment. [Figure 24] 10 is a flowchart illustrating an example of a process executed by an object detection device according to a second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0023] [First embodiment] An object detection device and an object detection program according to a first embodiment will be described with reference to Fig. 1 to Fig. 17. In the description of the first embodiment, a case where the object detection device detects knee cartilage contained in chicken thigh meat will be described as an example. The knee cartilage is a part composed of a combination of cartilage and fat, and is cut out of the chicken thigh meat using, for example, a knife attached to the tip of an articulated robot.

[0024] First, the hardware constituting the object detection device according to the first embodiment and the hardware associated with the object detection device will be described with reference to FIGS. 1 to 8. FIG.

[0025] Fig. 1 is a diagram showing an example of a hardware configuration of an object detection device according to a first embodiment. As shown in Fig. 1, an object detection device 10 includes a processor 11, a main memory device 12, a communication interface 13, an auxiliary memory device 14, an input / output device 15, and a bus 16.

[0026] The processor 11 is, for example, a CPU (Central Processing Unit), which reads and executes an object detection program to realize each function of the object detection device 10. The processor 11 may also read and execute a program other than the object detection program to realize a function required to realize each function of the object detection device 10.

[0027] The main storage device 12 is, for example, a RAM (Random Access Memory), and stores in advance an object detection program and other programs that are read and executed by the processor 11.

[0028] The communication interface 13 is an interface circuit for communicating with the first image capturing device 155, the second image capturing device 157, the control device 200, and other devices via a network. The network referred to here is, for example, a Wide Area Network (WAN), a Local Area Network (LAN), the Internet, or an intranet.

[0029] The auxiliary storage device 14 is, for example, a hard disk drive (HDD), a solid state drive (SSD), a flash memory, or a read only memory (ROM).

[0030] The input / output device 15 is, for example, an input / output port. For example, the mouse 151, keyboard 152, and display 153 shown in FIG. 1 are connected to the input / output device 15. FIG. 2 is a diagram showing an example of an object detection device, a first light emitting device, a first image capturing device, a second light emitting device, a second image capturing device, and a food processing line according to the first embodiment. For example, the first image capturing device 155, the second image capturing device 157, and the control device 200 shown in FIG. 1 and FIG. 2 are connected to the input / output device 15. In addition, the control device 200 is connected to the first light emitting device 154 and the second light emitting device 156, and controls the first light emitting device 154 and the second light emitting device 156.

[0031] The mouse 151 and the keyboard 152 are used, for example, to input data required to operate the object detection device 10 .

[0032] The display 153 is, for example, a liquid crystal display. The display 153 displays, for example, a graphical user interface (GUI) of the object detection device 10. The display 153 also displays, for example, at least one of the images shown in Fig. 4, Fig. 5, Fig. 7, Fig. 8, Fig. 10, Fig. 11, Fig. 12, Fig. 13, Fig. 14, Fig. 15, and Fig. 16.

[0033] The first light-emitting device 154 is a device that irradiates a subject with light belonging to a first wavelength group, and includes, for example, an LED (light emitting diode), a halogen lamp, a tungsten lamp, or a laser. The subject is, for example, chicken thigh meat M shown in FIG. 2. The chicken thigh meat M is transported by a belt conveyor 201 constituting a food processing line 20, and is successively detected by a photoelectric sensor 202 and a photoelectric sensor 203. The belt conveyor 201, the photoelectric sensor 202, and the photoelectric sensor 203 are controlled by a control device 200. The first light-emitting device 154 is installed, for example, as shown in FIG. 2, at a position where it can irradiate the chicken thigh meat M transported by the belt conveyor 201 with light from above.

[0034] The first wavelength group includes at least one wavelength that belongs to a predetermined wavelength region. For example, the first wavelength group includes a wavelength of 365 nm or a wavelength of 340 nm. The wavelength of 460 nm is an example of a first dominant wavelength, which will be described later. Meanwhile, the wavelength of 520 nm is an example of a first sub-wavelength, which will be described later.

[0035] FIG. 3 is a diagram showing an example of the visible light region reflectance spectrum of the cartilage of chicken thigh meat according to the first embodiment, the visible light region reflectance spectrum of fat, and the visible light region reflectance spectrum of red meat. The solid line shown in FIG. 3 shows the visible light region reflectance spectrum of the cartilage of chicken thigh meat M. The dashed line shown in FIG. 3 shows the visible light region reflectance spectrum of the fat of chicken thigh meat M. The dashed line shown in FIG. 3 shows the reflectance spectrum of red meat of chicken thigh meat M. As shown by the arrow in FIG. 3, the wavelength of 460 nm is the wavelength that gives the peak of the reflectance spectrum of cartilage. In addition, the light having a wavelength of 460 nm is an example of light having a wavelength whose reflectance exceeds a predetermined first reflectance when irradiated to cartilage, which constitutes the knee cartilage and is an example of a first element.

[0036] The first light-emitting device 154 irradiates the chicken thigh meat M with light having a central wavelength of 365 nm, a shortest wavelength of 355 nm, and a longest wavelength of 375 nm at a timing after the chicken thigh meat M is detected by the photoelectric sensor 202 and before it is detected by the photoelectric sensor 203. Alternatively, the first light-emitting device 154 irradiates the chicken thigh meat M with light having a central wavelength of 340 nm, a shortest wavelength of 330 nm, and a longest wavelength of 350 nm at a timing after the chicken thigh meat M is detected by the photoelectric sensor 202 and before it is detected by the photoelectric sensor 203. These lights excite fluorescence having wavelengths of 460 nm and 520 nm on the surface of the chicken thigh meat M, and belong to the first wavelength group.

[0037] The first photographing device 155 is a camera equipped with a light receiving element capable of detecting light emitted from the chicken thigh meat M. The light emitted from the chicken thigh meat M here is emitted from the chicken thigh meat M itself, and is fluorescence having a wavelength of 460 nm and fluorescence having a wavelength of 520 nm. The wavelength of 460 nm is an example of a first main wavelength. Meanwhile, the wavelength of 520 nm is an example of a first sub-wavelength. The light emitted from the chicken thigh meat M may be light reflected on the surface of the chicken thigh meat M. For example, when the light emitted from the chicken thigh meat M is light belonging to the visible light region, the first photographing device 155 is equipped with a light receiving element using silicon (Si), gallium phosphide (GaP), or gallium arsenide phosphide (GaAsP) as a semiconductor. For example, as shown in FIG. 2, the first photographing device 155 is installed in a manner capable of photographing the chicken thigh meat M located between the photoelectric sensor 202 and the photoelectric sensor 203 from above.

[0038] The first photographing device 155 photographs the subject irradiated with light by the first light emitting device 154 to generate a first principal image. FIG. 4 is a diagram showing an example of a first principal image photographed by detecting light emitted from a chicken thigh meat according to the first embodiment and having a first principal wavelength. For example, when light is irradiated to the chicken thigh meat M by the first light emitting device 154 and fluorescence having a wavelength of 460 nm and fluorescence having a wavelength of 520 nm are emitted from the chicken thigh meat M, the first photographing device 155 detects the fluorescence having a wavelength of 460 nm from the chicken thigh meat M to generate the first principal image shown in FIG. 4. The first principal image shown in FIG. 4 depicts the chicken thigh meat M, and depicts the knee cartilage portion included in the chicken thigh meat M in the region indicated by a circle C4.

[0039] Further, the first photographing device 155 photographs the subject irradiated with light by the first light emitting device 154 to generate a first sub-image. FIG. 5 is a diagram showing an example of a first sub-image photographed by detecting light emitted from a chicken thigh meat according to the first embodiment and having a first sub-wavelength. For example, when light is irradiated onto the chicken thigh meat M by the first light emitting device 154 and fluorescence having a wavelength of 460 nm and fluorescence having a wavelength of 520 nm are emitted from the chicken thigh meat M, the first photographing device 155 detects the fluorescence having a wavelength of 520 nm from the chicken thigh meat M to generate the first sub-image shown in FIG. 5. The first sub-image shown in FIG. 5 depicts the chicken thigh meat M.

[0040] The second light-emitting device 156 is a device that irradiates the subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the subject to capture the first image, and includes, for example, an LED, a halogen lamp, a tungsten lamp, or a laser. The second light-emitting device 156 is installed in a position where it can irradiate light from above onto the chicken thighs M conveyed by the belt conveyor 201, for example, as shown in FIG.

[0041] The second wavelength group described above includes at least one wavelength that belongs to a predetermined wavelength region. For example, the second wavelength group includes wavelengths 1211 nm and 1287 nm that belong to the near-infrared region from wavelength 700 nm to wavelength 2500 nm. The wavelength 1211 nm is an example of a second sub-wavelength, which will be described later. Meanwhile, the wavelength 1287 nm is an example of a second main wavelength, which will be described later. Note that some of the wavelengths included in the second wavelength group may be included in the first wavelength group.

[0042] FIG. 6 is a diagram showing an example of the near-infrared reflectance spectrum of cartilage, fat, and red meat of chicken thigh meat according to the first embodiment. The solid line shown in FIG. 6 shows the near-infrared reflectance spectrum of cartilage of chicken thigh meat M. The dashed line shown in FIG. 6 shows the near-infrared reflectance spectrum of fat of chicken thigh meat M. The dashed line shown in FIG. 6 shows the reflectance spectrum of red meat of chicken thigh meat M. As shown by the arrows in FIG. 6, the above-mentioned wavelength of 1287 nm, fat The light having a wavelength of 1287 nm is an example of the second element, and is an example of light having a wavelength whose reflectance exceeds a second predetermined reflectance when irradiated to fat constituting the knee cartilage.

[0043] The second light emitting device 156 irradiates the chicken thigh meat M with light having wavelengths of 1287 nm and 1211 nm at a timing after the chicken thigh meat M is detected by the photoelectric sensor 203.

[0044] The second photographing device 157 is a camera equipped with a light receiving element capable of detecting light emitted from the chicken thigh M. The light emitted from the chicken thigh M here is light reflected from the surface of the chicken thigh M and having a wavelength of 1211 nm, and light reflected from the surface of the chicken thigh M and having a wavelength of 1287 nm. The wavelength 1211 nm is an example of a second sub-wavelength. On the other hand, the wavelength 1287 nm is an example of a second main wavelength. The light emitted from the chicken thigh M may be light emitted from the chicken thigh M itself. For example, when the light emitted from the chicken thigh M is light belonging to the near-infrared region, the second photographing device 157 is equipped with a light receiving element using indium gallium arsenide (InGaAs), lead sulfide (PbS), or lead selenide (PbSe) as a semiconductor. Further, the second photographing device 157 is installed in a manner that allows it to photograph the chicken thigh meat M located downstream of the photoelectric sensor 203 on the belt conveyor 201 from above, for example, as shown in FIG.

[0045] The second imaging device 157 is Second light emitting device 156 FIG. 7 shows a second main image of a chicken thigh according to the first embodiment. second dominant wavelength The photograph was taken by irradiating the subject with light having the following characteristics: Second main image For example, the second photographing device 157 photographs the chicken thigh M when light having a wavelength of 1211 nm and light having a wavelength of 1287 nm is irradiated onto the chicken thigh M and the light is reflected by the surface of the chicken thigh M, and the photograph is taken of the chicken thigh M as shown in FIG. Second main image As shown in Figure 7, Second main image depicts chicken thigh meat M, and the knee cartilage contained in the chicken thigh meat M is depicted in the area indicated by circle C7.

[0046] The second imaging device 157 is Second light emitting device 156 Shooting a subject illuminated by Second sub-image FIG. 8 shows the chicken thigh meat according to the first embodiment. Second subwavelength The photograph was taken by irradiating the subject with light having the following characteristics: Second sub-image For example, the second photographing device 157 photographs chicken thigh meat M. Wavelength 1211nmThe chicken thigh meat M was photographed while these lights were being reflected on the surface of the chicken thigh meat M, and the photograph was taken as shown in FIG. Second sub-image As shown in Figure 8, Second sub-image depicts chicken thigh M.

[0047] The bus 16 connects the processor 11, the main memory device 12, the communication interface 13, the auxiliary memory device 14, and the input / output device 15 so that they can transmit and receive data to and from one another.

[0048] Next, processing executed by the object detection device according to the first embodiment will be described with reference to Fig. 9 to Fig. 16. Fig. 9 is a diagram showing an example of a functional configuration of the object detection device according to the first embodiment. As shown in Fig. 9, the object detection device 10 includes a first image generation unit 101, a first image acquisition unit 102, a second image generation unit 103, a second image acquisition unit 104, and an object detection unit 105.

[0049] The first image generating unit 101 generates a first image using the first primary image and the first sub-image. Specifically, the first image generating unit 101 generates, as the first image, an image in which each pixel represents a value calculated based on the luminance of each pixel included in the first primary image and the luminance of each pixel included in the first sub-image.

[0050] Fig. 10 is a diagram showing an example of a first image generated using the first main image shown in Fig. 4 and the first sub-image shown in Fig. 5. For example, the first image generating unit 101 performs a process of calculating the ratio of the brightness represented by each of two pixels located at the same coordinates in the first main image shown in Fig. 4 and the first sub-image shown in Fig. 5 for all coordinates, and generates the first image shown in Fig. 10. Since each pixel in the first image shown in Fig. 10 represents a value obtained by dividing the brightness of each pixel in the first main image by the brightness of each pixel in the first sub-image, the first image is an image in which the influence of the variation in the light hitting state due to the unevenness of the surface of the chicken thigh meat M is reduced.

[0051] The first image acquisition unit 102 acquires a first image that is generated by irradiating a subject with light that belongs to a first wavelength group and depicts the subject. The first image acquisition unit 102 acquires, for example, the first image shown in FIG.

[0052] The second image generating unit 103 generates a second image using the second primary image and the second secondary image. Specifically, the second image generating unit 103 generates, as the second image, an image in which each pixel represents a value calculated based on the luminance of each pixel included in the second primary image and the luminance of each pixel included in the second secondary image.

[0053] FIG. 11 shows the Second main image As shown in Figure 8, Second sub-image 7 is a diagram showing an example of a second image generated by using the second image generation unit 103 shown in FIG. Second main image As shown in Figure 8 Second sub-image For two pixels located at the same coordinates, the process of calculating the difference in luminance represented by each of the two pixels is executed for all coordinates to generate the second image shown in Fig. 11. The second image shown in Fig. 11 is an image in which the effects of noise are reduced, since each pixel represents a value obtained by subtracting the luminance of the second sub-image from the luminance of the second primary image.

[0054] The second image acquisition unit 104 acquires a second image that depicts the subject and is generated by irradiating the subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated onto the subject to generate the first image. The second image acquisition unit 104 acquires, for example, the second image shown in FIG.

[0055] The object detection unit 105 detects an object included in the subject by using the first image and the second image. Specifically, the object detection unit 105 detects the knee cartilage included in the chicken thigh M shown in Fig. 2 by using the first image shown in Fig. 10 and the second image shown in Fig. 11. The object detection unit 105 also detects an object by detecting a first element depicted at a luminance exceeding a predetermined first luminance in the first image and detecting a second element depicted at a luminance exceeding a predetermined second luminance and different from the first element in the second image.

[0056] FIG. 12 is a diagram showing an example of a region depicted at a luminance exceeding a predetermined first luminance in the first image according to the first embodiment. The target detection unit 105 extracts the region R1, region R21, region R22, region R23, region R24, region R31, region R32, and region R33 shown in FIG. 12 based on the predetermined first luminance. These regions constitute the knee cartilage portion contained in the chicken thigh meat M, and are regions that may depict cartilage, which is an example of the first element described above. In addition, these regions may depict an object other than the cartilage that emits fluorescence having a wavelength similar to that of the cartilage. Alternatively, these regions may depict an object having a reflectance similar to that of the cartilage.

[0057] Then, the object detection unit 105 uses at least one narrowing down condition to exclude from the above-mentioned regions those regions that are relatively likely not to depict the first element.

[0058] The object detection unit 105 excludes at least one of an area less than a first lower threshold and an area greater than a first upper threshold from the areas depicted in the first image at a luminance greater than a predetermined first luminance. For example, the object detection unit 105 excludes an area R23 and an area R24 less than a first lower threshold from the areas depicted in Fig. 12. The areas of the areas R23 and R24 are small, and therefore are likely to be areas depicting noise rather than areas depicting the first element.

[0059] The object detection unit 105 excludes at least one of an area of ​​a circumscribing figure whose area is less than a first lower limit threshold and an area of ​​a circumscribing figure whose area is greater than a first upper limit threshold from the areas depicted in the first image with a luminance greater than a predetermined first luminance. For example, the object detection unit 105 excludes an area R31, an area R32, and an area R33 whose circumscribing circle whose area is greater than a first upper limit threshold from the areas depicted in Fig. 12. The areas R31, R32, and R33 are all elongated areas with long radii of circumscribing circles, and are therefore likely to be areas depicting muscles or fascia contained in the chicken thigh meat M.

[0060] Fig. 13 is a diagram showing an example of a region that may depict the first element according to the first embodiment. By using the narrowing-down conditions described above, the target detection unit 105 extracts regions R1, R21, and R22 as regions that may depict the cartilage constituting the knee cartilage, as shown in Fig. 13.

[0061] FIG. 14 is a diagram showing an example of a region depicted at a luminance exceeding a predetermined second luminance in the second image according to the first embodiment. The target detection unit 105 extracts the region R3, region R40, region R51, region R52, region R60, region R71, and region R72 shown in FIG. 14 based on the predetermined second luminance. These regions constitute the knee cartilage contained in the chicken thigh meat M, and are regions that may depict fat, which is an example of the second element described above. In addition, these regions may depict an object other than the fat, having a reflectance similar to that of the fat. Alternatively, these regions may depict an object that emits fluorescence having a wavelength similar to that of the fat.

[0062] Then, the object detection unit 105 uses at least one narrowing down condition to exclude from the above-mentioned regions those regions that are relatively likely not to depict the second element.

[0063] The object detection unit 105 excludes at least one of areas whose area is less than a predetermined second lower threshold and areas whose area is greater than a predetermined second upper threshold from among areas depicted in the second image with a luminance greater than a predetermined second luminance. For example, the object detection unit 105 excludes areas R51 and R52 whose areas are less than the predetermined second lower threshold from among the areas shown in FIG. 14. Areas R51 and R52 are relatively small, and therefore are likely to be areas depicting noise rather than areas depicting the second element. Also, for example, the object detection unit 105 excludes areas R51 and R52 whose areas exceed the predetermined second upper threshold from among the areas shown in FIG. 14. Area R72 Since the area of ​​the region R72 is relatively large, it is highly likely that the region R72 is not a region depicting the second element, but is a region depicting chicken skin included in the chicken thigh meat M.

[0064] The object detection unit 105 excludes at least one of an area in which the value obtained by dividing the length of the contour by the area is less than a second lower threshold value and an area in which the value obtained by dividing the length of the contour by the area is greater than a second upper threshold value from among the areas depicted in the second image with a luminance exceeding a second predetermined luminance. For example, the object detection unit 105 excludes from the areas shown in FIG. Contour Region R60 in which the value obtained by dividing the length by the area exceeds a predetermined first upper limit threshold is excluded. Region R60 is not a region depicting the second element, but is a region that is highly likely to depict fat that does not constitute the knee cartilage.

[0065] The object detection unit 105 excludes an area in the second image that is rendered with a luminance exceeding a predetermined second luminance and that is located less than a predetermined threshold distance from the contour of the subject. For example, the object detection unit 105 excludes an area R71 and an area R72 in the area shown in Fig. 14 that is located less than a predetermined threshold distance from the contour of the subject. The areas R71 and R72 are located relatively close to the contour of the chicken thigh M, and therefore are likely to be areas that are not areas that render the second element but that render chicken skin included in the chicken thigh M.

[0066] Fig. 15 is a diagram showing an example of a region that may depict the second element according to the first embodiment. By using the above-mentioned narrowing down condition, the target detection unit 105 extracts a region R3 and a region R40 as regions that may depict the cartilage constituting the knee cartilage, as shown in Fig. 15.

[0067] Next, the object detection unit 105 generates a multi-channel image using the first image and the second image. FIG. 16 is a diagram showing an example of a multi-channel image according to the first embodiment. For example, the object detection unit 105 executes a synthesis process for synthesizing the first image shown in FIG. 13 and the second image shown in FIG. 15, and generates the multi-channel image shown in FIG. 16. The multi-channel image shown in FIG. 16 depicts the regions R1, R21, and R22 also shown in FIG. 13, and the regions R3 and R40 also shown in FIG. 15. The synthesis process includes at least one of an enlargement process, a reduction process, a resolution matching process, a distortion removal process, and a registration process.

[0068] The enlargement process is a process of enlarging at least one of the first image and the second image in at least one direction for the purpose of matching the dimensions of the subject depicted in the first image with the dimensions of the subject depicted in the second image, whereas the reduction process is a process of reducing at least one of the first image and the second image in at least one direction for the purpose of matching the dimensions of the subject depicted in the first image with the dimensions of the subject depicted in the second image.

[0069] The resolution matching process is a process of adjusting at least one of the resolution of the first image and the resolution of the second image to match the resolution of the first image with the resolution of the second image. The distortion removal process includes at least one of a process of removing distortion of the first image caused by distortion of an optical component such as a lens used to capture the first image and a process of removing distortion of the second image caused by distortion of an optical component such as a lens used to capture the second image. The registration process is a process of adjusting at least one of the first image and the second image so that a reference point set on a specific portion of the subject depicted in the first image and a reference point set on a specific portion of the subject depicted in the second image are aligned.

[0070] Next, the object detection unit 105 selects a first point for each region in the first image where the first element is depicted, based on a predetermined first rule. For example, the object detection unit 105 calculates the position of the center of gravity of each of the regions R1, R21, and R22 shown in FIG. 16, and selects these centers of gravity as the first point. Also, the object detection unit 105 selects a second point for each region in the second image where the second element is depicted, based on a predetermined second rule. For example, the object detection unit 105 calculates the position of the center of gravity of each of the regions R3 and R40 shown in FIG. 16, and selects these centers of gravity as the second point.

[0071] Then, the object detection unit 105 detects as an object a combination of a first element and a second element that provides a first point and a second point such that the length of the line segment connecting the first point and the second point is less than a predetermined length.

[0072] for example, In the example shown in Figure 16, 16, the object detection unit 105 detects a combination of a first element depicted in the region R1 and a second element depicted in the region R3 as a knee cartilage portion included in the chicken thigh meat M.

[0073] Next, an example of processing executed by the object detection device according to the first embodiment will be described with reference to Fig. 17. Fig. 17 is a flowchart showing an example of processing executed by the object detection device according to the first embodiment.

[0074] In step S11, the first image generating unit 101 generates a first image using a first main image and a first sub-image.

[0075] In step S12, the first image acquisition unit 102 acquires a first image.

[0076] In step S13, the second image generating unit 103 generates a second image using the second main image and the second sub-image.

[0077] In step S14, the second image acquisition unit 104 acquires a second image.

[0078] In step S15, the object detection unit 105 detects objects included in the subject by using the first image and the second image.

[0079] The object detection device and the object detection program according to the first embodiment have been described above. The object detection device 10 includes a first image acquisition unit 102, a second image acquisition unit 104, and an object detection unit 105. The first image acquisition unit 102 acquires a first image that is generated by irradiating a subject with light belonging to a first wavelength group and depicts the subject. The second image acquisition unit 104 acquires a second image that is generated by irradiating a subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the subject to generate the first image and depicts the subject. The object detection unit 105 detects an object included in the subject using the first image and the second image.

[0080] In other words, object detection device 10 detects an object included in a subject by using a plurality of lights having mutually different wavelengths. Therefore, object detection device 10 can accurately detect an object included in a subject even if the object included in the subject is composed of a plurality of elements and each element has a different reflection spectrum.

[0081] In addition, the object detection device 10 detects a first element in the first image that is depicted at a brightness exceeding a predetermined first brightness, and detects a second element in the second image that is depicted at a brightness exceeding a predetermined second brightness and is different from the first element, thereby detecting an object.

[0082] This allows the object detection device 10 to detect an object with even greater accuracy when the object includes a first element and a second element. The first element may be an element that has a wavelength belonging to the first wavelength group and emits light having a certain intensity or higher, or an element that has a relatively high reflectance for light having a wavelength belonging to the first wavelength group. The second element may be an element that has a wavelength belonging to the second wavelength group and emits light having a certain intensity or higher, or an element that has a relatively high reflectance for light having a wavelength belonging to the second wavelength group.

[0083] Furthermore, the object detection device 10 obtains a first image generated by irradiating a subject with light having a wavelength whose reflectance when irradiated onto a first element exceeds a predetermined first reflectance. This enables the object detection device 10 to detect an object including a first element and a second element using the first image in which the first element included in the object is depicted more clearly.

[0084] Furthermore, the object detection device 10 obtains a second image generated by irradiating the subject with light having a wavelength whose reflectance when irradiated onto the second element exceeds a predetermined second reflectance, thereby enabling the object detection device 10 to detect an object including the first element and the second element using the second image in which the second element included in the object is depicted more clearly.

[0085] Furthermore, the object detection device 10 selects a first point for each region in the first image where the first element is depicted based on a predetermined first rule. Similarly, the object detection device 10 selects a second point for each region in the second image where the second element is depicted based on a predetermined second rule. Then, the object detection device 10 detects, as an object, a combination of a first element and a second element that provides a first point and a second point such that the length of a line segment connecting the first point and the second point is less than a predetermined length.

[0086] This enables the object detection device 10 to more reliably detect an object when it is known that the object contains both a first element and a second element, even if there are multiple areas where at least one of the first element and the second element may be depicted.

[0087] Furthermore, the object detection device 10 obtains a first image in which each pixel represents a value calculated based on the luminance of each pixel included in the first primary image and the luminance of each pixel included in the first secondary image. This allows the object detection device 10 to detect an object included in the subject using the first image in which the first element included in the object is more clearly depicted.

[0088] The object detection device 10 also obtains a second image in which each pixel represents a value calculated based on the luminance of each pixel included in the second primary image and the luminance of each pixel included in the second secondary image, thereby enabling the object detection device 10 to detect an object included in the subject using the second image in which a second element included in the object is more clearly depicted.

[0089] In the first embodiment, the object detection unit 105 excludes at least one of an area in which the area of ​​a circumscribing figure is less than a predetermined first lower threshold and an area in which the area of ​​a circumscribing figure exceeds a predetermined first upper threshold from among the areas depicted in the first image with a luminance exceeding a predetermined first luminance, but is not limited thereto. The object detection unit 105 may exclude at least one of an area in which the area of ​​a circumscribing figure is less than a predetermined second lower threshold and an area in which the area of ​​a circumscribing figure exceeds a predetermined second upper threshold from among the areas depicted in the second image with a luminance exceeding a predetermined second luminance.

[0090] In the first embodiment, the object detection unit 105 excludes at least one of the areas in which the contour length divided by the area is less than a predetermined second lower threshold and the area in which the contour length divided by the area is greater than a predetermined second upper threshold from among the areas in the second image that are rendered with a luminance greater than a predetermined second luminance, but this is not limiting. The object detection unit 105 may exclude at least one of the areas in which the contour length divided by the area is less than a predetermined first lower threshold and the area in which the contour length divided by the area is greater than a predetermined first upper threshold from among the areas in the first image that are rendered with a luminance greater than a predetermined first luminance.

[0091] In the first embodiment, the object detection unit 105 excludes an area in the second image that is rendered with a luminance exceeding a predetermined second luminance and that is less than a predetermined threshold distance from the contour of the subject, but the present invention is not limited to this. The object detection unit 105 may exclude an area in the first image that is rendered with a luminance exceeding a predetermined first luminance and that is less than a predetermined threshold distance from the contour of the subject.

[0092] [Second embodiment] A machine learning execution device, a target detection device, a machine learning execution program, and a target detection program according to the second embodiment will be described with reference to Figs. 18 to 21. In the description of the second embodiment, a case in which knee cartilage contained in chicken thigh meat is detected will be described as an example. Also, unlike the target detection device and the target detection program according to the first embodiment, the machine learning execution device, the target detection device, the machine learning execution program, and the target detection program according to the second embodiment detects an object contained in a subject by using machine learning. Therefore, in the description of the second embodiment, the parts different from the first embodiment will be mainly described, and the description of the contents overlapping with the first embodiment will be omitted as appropriate.

[0093] First, the hardware constituting the machine learning execution device according to the second embodiment and the hardware associated with the machine learning execution device will be described with reference to FIG.

[0094] Fig. 18 is a diagram showing an example of the hardware configuration of a machine learning execution device according to the second embodiment. As shown in Fig. 18, the machine learning execution device 30 includes a processor 31, a main memory device 32, a communication interface 33, an auxiliary memory device 34, an input / output device 35, and a bus 36.

[0095] The processor 31 is, for example, a CPU, which reads and executes a machine learning execution program to realize each function of the machine learning execution device 30. The processor 31 may also read and execute programs other than the machine learning execution program to realize functions necessary for realizing each function of the machine learning execution device 30.

[0096] The main memory device 32 is, for example, a RAM, and stores in advance a machine learning execution program and other programs that are read and executed by the processor 31.

[0097] The communication interface 33 is an interface circuit for communicating with the machine learning device 400 and other devices via a network NW. The network NW is, for example, a wide area network (WAN), a local area network (LAN), the Internet, or an intranet.

[0098] The auxiliary storage device 34 is, for example, a hard disk drive, a solid state drive, a flash memory, or a ROM.

[0099] The input / output device 35 is, for example, an input / output port. For example, a mouse 351, a keyboard 352, and a display 353 shown in FIG. 18 are connected to the input / output device 35. The mouse 351 and the keyboard 352 are used, for example, for inputting data necessary to operate the machine learning execution device 30. The display 353 is, for example, a liquid crystal display. The display 353 displays, for example, a graphical user interface of the machine learning execution device 30.

[0100] Next, processing executed by the machine learning execution device according to the second embodiment will be described with reference to Fig. 19 and Fig. 20. Fig. 19 is a diagram showing an example of the functional configuration of the machine learning execution device according to the second embodiment. As shown in Fig. 19, the machine learning execution device 30 includes a teacher data acquisition unit 301 and a machine learning execution unit 302.

[0101] The teacher data acquisition unit 301 acquires teacher data having a question of a learning multi-channel image generated using a first learning image and a second learning image, and an answer of the question being the position of an area in which a learning target included in a learning subject depicted in the learning multi-channel image is depicted. The teacher data acquisition unit 301 acquires the teacher data via the communication interface 33, for example.

[0102] The first learning image is an image that depicts the learning subject, generated by irradiating the learning subject with light belonging to a first wavelength group. The second learning image is an image that depicts the learning subject, generated by irradiating the learning subject with light belonging to a second wavelength group. The learning subject here is, for example, chicken thigh meat.

[0103] FIG. 20 is a diagram showing an example of a learning multi-channel image according to the second embodiment. The learning multi-channel image is an image generated by performing a synthesis process on the first learning image and the second learning image. In FIG. horizontal line The hatched region is a region where it is relatively likely that the first element is depicted, whereas the vertically hatched region in FIG. 20 is a region where it is relatively likely that the second element is depicted.

[0104] Moreover, a rectangle L shown in Fig. 20 indicates the size and position of a region in which a learning target included in a learning subject depicted in a learning multi-channel image is depicted. The size and position of the rectangle L may be determined, for example, by applying object recognition to the learning multi-channel image shown in Fig. 20. Alternatively, the size and position of the rectangle L may be determined by data input by a user or the like who is referring to the learning multi-channel image shown in Fig. 20 using a mouse 351, a keyboard 352, or the like.

[0105] The machine learning execution unit 302 inputs the teacher data to the machine learning model 400M implemented in the machine learning device 400, and causes the machine learning model 400M to learn. The machine learning model 400M is, for example, a convolutional neural network (CNN).

[0106] Next, an example of processing executed by the machine learning execution device according to the second embodiment will be described with reference to Fig. 21. Fig. 21 is a flowchart showing an example of processing executed by the machine learning execution device according to the second embodiment.

[0107] In step S31, the teacher data acquisition unit 301 acquires teacher data in which a learning multi-channel image is used as a problem and the answer is the position of the area in which a learning target contained in a learning subject depicted in the learning multi-channel image is depicted.

[0108] In step S32, the machine learning execution unit 302 inputs the teaching data to the machine learning model 400M and causes the machine learning model 400M to learn.

[0109] Next, the hardware constituting the object detection device according to the second embodiment and the hardware associated with the object detection device will be described with reference to FIG.

[0110] Fig. 22 is a diagram illustrating an example of a hardware configuration of an object detection device according to the second embodiment. As illustrated in Fig. 22, an object detection device 50 includes a processor 51, a main memory device 52, a communication interface 53, an auxiliary memory device 54, an input / output device 55, and a bus 56.

[0111] The processor 51 is, for example, a CPU, and reads and executes an object detection program to realize each function of the object detection device 50. The processor 51 may also read and execute a program other than the object detection program to realize a function required to realize each function of the object detection device 50.

[0112] The main storage device 52 is, for example, a RAM, and stores in advance an object detection program and other programs that are read and executed by the processor 51.

[0113] The communication interface 53 is an interface circuit for communicating with the machine learning device 400 and other devices via a network NW. The network NW is, for example, a WAN, a LAN, the Internet, or an intranet.

[0114] The auxiliary storage device 54 is, for example, a hard disk drive, a solid state drive, a flash memory, or a ROM.

[0115] The input / output device 55 is, for example, an input / output port. For example, a mouse 551, a display 552, and a keyboard 553 shown in FIG. 22 are connected to the input / output device 55. The mouse 551 and the keyboard 553 are used, for example, for inputting data required to operate the object detection device 50. The display 552 is, for example, a liquid crystal display. The display 552 displays, for example, a graphical user interface of the object detection device 50.

[0116] Next, a process executed by the object detection device according to the second embodiment will be described with reference to Fig. 23. Fig. 23 is a diagram showing an example of a functional configuration of the object detection device according to the second embodiment. As shown in Fig. 23, the object detection device 50 includes a first image for inference acquisition unit 501, a second image for inference acquisition unit 502, an image for inference generation unit 503, and an object detection unit for inference 504.

[0117] The first image-for-inference acquisition unit 501 acquires a first image-for-inference depicting the inference subject, which is generated by irradiating the inference subject with light belonging to a first wavelength group. The second image-for-inference acquisition unit 502 acquires a second image-for-inference depicting the inference subject, which is generated by irradiating the inference subject with light belonging to a second wavelength group. The inference subject referred to here is, for example, chicken thigh meat.

[0118] The image-for-inference generating unit 503 generates a multi-channel image for inference using the first image for inference and the second image for inference. For example, the image-for-inference generating unit 503 generates a multi-channel image for inference by performing the above-mentioned synthesis process on the first image for inference and the second image for inference.

[0119] The inference object detection unit 504 inputs the inference multi-channel image to the machine learning model 400M trained by the machine learning execution device 30, and causes the machine learning model to detect the inference object contained in the inference subject. In the case where the inference subject is chicken thigh, the inference object referred to here is the knee cartilage contained in the chicken thigh.

[0120] Next, an example of processing executed by the object detection device according to the second embodiment will be described with reference to Fig. 24. Fig. 24 is a flowchart showing an example of processing executed by the object detection device according to the second embodiment.

[0121] In step S51, the first inference-use image acquisition unit 501 acquires a first inference-use image.

[0122] In step S52, the second inference-use image acquisition unit 502 acquires a second inference-use image.

[0123] In step S53, the inference-use image generating unit 503 generates an inference-use multi-channel image using the first inference-use image and the second inference-use image.

[0124] In step S54, the inference object detection unit 504 inputs the inference multi-channel image to the machine learning model, and causes the machine learning model to detect the inference object included in the inference subject.

[0125] The machine learning execution device, the object detection device, the machine learning execution program, and the object detection program according to the second embodiment have been described above.

[0126] The machine learning execution device 30 includes a teacher data acquisition unit 301 and a machine learning execution unit 302. The teacher data acquisition unit 301 acquires teacher data in which a learning multi-channel image generated using a first learning image and a second learning image is used as a problem, and the answer is the position of an area in which a learning target included in a learning subject depicted in the learning multi-channel image is depicted. The machine learning execution unit 302 inputs the teacher data to a machine learning model 400M and trains the machine learning model 400M.

[0127] This allows the machine learning execution device 30 to generate a machine learning model 400M that executes the same processing as the object detection device 10 according to the first embodiment.

[0128] The object detection device 50 includes a first image for inference acquisition unit 501, a second image for inference acquisition unit 502, an image for inference generation unit 503, and an object for inference detection unit 504. The first image for inference acquisition unit 501 acquires a first image for inference that is generated by irradiating a subject for inference with light belonging to a first wavelength group and depicts the subject for inference. The second image for inference acquisition unit 502 acquires a second image for inference that is generated by irradiating a subject for inference with light belonging to a second wavelength group and depicts the subject for inference. Get it. The inference image generating unit 503 generates a multi-channel image for inference using the first image for inference and the second image for inference. The inference target detecting unit 504 inputs the multi-channel image for inference to the machine learning model 400M trained by the machine learning execution device 30, and causes the machine learning model to detect the target for inference included in the subject for inference.

[0129] As a result, the object detection device 50 can detect an inference object contained in an inference subject depicted in an inference multi-channel image using a machine learning model 400M that performs the same processing as the object detection device 10 of the first embodiment.

[0130] In the above-described first embodiment, the object detection device 10 shown in FIG. 1 is realized by a processor 11 that reads and executes an object detection program, but the present invention is not limited to this. At least a part of the object detection device 10 shown in FIG. 1 may be realized by hardware including a circuitry such as a large-scale integration (LSI), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or a graphics processing unit (GPU). Alternatively, at least a part of the object detection device 10 shown in FIG. 1 may be realized by cooperation between software and hardware. Moreover, these pieces of hardware may be integrated into one, or may be divided into multiple pieces.

[0131] Similarly, in the above-described second embodiment, the machine learning execution device 30 shown in FIG. 18 is implemented by a processor 31 that reads and executes a machine learning execution program, but the present invention is not limited to this. At least a part of the machine learning execution device 30 shown in FIG. 18 may be implemented by hardware including circuit units such as an LSI, an ASIC, an FPGA, or a GPU. Alternatively, at least a part of the machine learning execution device 30 shown in FIG. 18 may be implemented by a combination of software and hardware. Furthermore, these pieces of hardware may be integrated into one, or may be separated into multiple pieces.

[0132] In the second embodiment described above, the object detection device 50 shown in FIG. 22 is realized by the processor 51 that reads and executes an object detection program. However, the present invention is not limited to this. At least a part of the object detection device 50 shown in FIG. 22 may be realized by hardware including a circuit unit such as an LSI, an ASIC, an FPGA, or a GPU. Alternatively, at least a part of the object detection device 50 shown in FIG. 22 may be realized by a combination of software and hardware. These pieces of hardware may be integrated into one, or may be separated into multiple pieces.

[0133] In the above-described first embodiment, the first light-emitting device 154 includes an LED or the like, but is not limited thereto. The first light-emitting device 154 may include a light source and an optical filter that attenuates a part of the wavelength component included in the light emitted from the light source. In addition, in the above-described embodiment, the second light-emitting device 156 includes an LED or the like, but is not limited thereto. The second light-emitting device 156 may include a light source and an optical filter that attenuates a part of the wavelength component included in the light emitted from the light source. In addition, examples of the light source include a xenon lamp and a deuterium lamp.

[0134] The first image acquisition unit 102 may also acquire, as the first image, an image other than the first image generated using the first main image and the first sub-image. That is, the first image acquisition unit 102 does not necessarily need to acquire a first image in which each pixel represents a value calculated based on the luminance of each pixel included in the first main image and the luminance of each pixel included in the first sub-image. For example, the first image acquisition unit 102 may acquire, as the first image, an image captured by irradiating light having a wavelength belonging to the first wavelength group.

[0135] The first image acquisition unit 102 may also acquire a first image in which each pixel represents a value calculated based on the luminance of each pixel included in a first main image other than the above-mentioned first main image and the luminance of each pixel included in a first sub-image other than the above-mentioned first sub-image. Here, the first main image other than the above-mentioned first main image is, for example, a first main image having a first main wavelength belonging to a first wavelength group, which is irradiated on a subject and photographed by detecting light reflected by the subject, and which depicts the subject. Here, the first sub-image other than the above-mentioned first sub-image is, for example, a first sub-image having a first sub-wavelength belonging to a first wavelength group, which is irradiated on a subject and photographed by detecting light reflected by the subject, and which depicts the subject.

[0136] The second image acquisition unit 104 may also acquire, as the second image, an image other than the second image generated using the second primary image and the second sub-image. That is, the second image acquisition unit 104 does not necessarily need to acquire a second image in which each pixel represents a value calculated based on the luminance of each pixel included in the second primary image and the luminance of each pixel included in the second sub-image. For example, the second image acquisition unit 104 may acquire, as the second image, an image captured by irradiating light having a wavelength belonging to the second wavelength group.

[0137] The second image acquisition unit 104 may also acquire a second image in which each pixel represents a value calculated based on the luminance of each pixel included in a second main image other than the above-mentioned second main image and the luminance of each pixel included in a second sub-image other than the above-mentioned second sub-image. Here, the second main image other than the above-mentioned second main image is, for example, a second main image that depicts the subject, which is captured by irradiating the subject with light belonging to a second wavelength group, and is emitted from the subject, and is photographed by detecting light having a second dominant wavelength. Deputy Secondary non-image Deputy The image is, for example, a second sub-image depicting the subject, which is captured by irradiating the subject with light belonging to the second wavelength group, detecting light having a second sub-wavelength emitted from the subject, and depicting the subject.

[0138] In addition, the first image acquisition unit 102 does not necessarily need to acquire the first image generated by detecting light reflected by the subject with a light receiving element. For example, the first image acquisition unit 102 may acquire the first image generated by detecting light transmitted through the subject. With a photodetector A first image generated by the detection may be obtained.

[0139] In addition, the second image acquisition unit 104 does not necessarily need to acquire the first image generated by detecting light reflected by the subject with a light receiving element. For example, the second image acquisition unit 104 may acquire the first image generated by detecting light transmitted through the subject. With a photodetector A second image generated by the detection may be obtained.

[0140] In the above-described first and second embodiments, the subject is chicken thigh meat, and the target to be detected is knee cartilage, but the present invention is not limited to this.

[0141] For example, the subject may be a package of food or the like, and the object to be detected may be characters, pictures, etc. printed on the package. In this case, it is preferable that both the first wavelength group and the second wavelength group include wavelengths that belong to the visible light region.

[0142] Alternatively, the subject may be food and the object to be detected may be hair mixed in the food. In this case, since hair emits fluorescence when exposed to light in the ultraviolet region and has a characteristic absorption peak in the infrared region, it is preferable that the first wavelength group or the second wavelength group includes wavelengths in the ultraviolet region or the infrared region.

[0143] Alternatively, the subject may be a food product, and the detected object may be a portion having a different frozen state from the other portions of the food product. In this case, the wavelengths that give the absorption peaks in the infrared region change depending on the difference in the frozen state, so it is preferable that both the first wavelength group and the second wavelength group include wavelengths that belong to the infrared region.

[0144] Alternatively, the subject may be a hamburger steak, and the object to be detected may be the surface or back side of the hamburger steak. In this case, since a difference in absorbance occurs between the browned portion and the unbrown portion, it is preferable that one of the first wavelength group and the second wavelength group includes a wavelength of 1200 nm belonging to the near infrared region, and the other includes a wavelength of 600 nm belonging to the visible light region.

[0145] Alternatively, the subject may be a dumpling, and the object to be detected may be the filling of the dumpling. In this case, since the absorption peak of the filling of the dumpling exists in the near infrared region, it is preferable that the wavelengths belonging to the near infrared region are included in the first wavelength group or the second wavelength group. Also, in this case, since the absorption peak of the filling of the dumpling exists in the visible light region, it is preferable that the wavelengths belonging to the visible light region are included in the first wavelength group or the second wavelength group.

[0146] The embodiments of the present invention have been described above in detail with reference to the drawings. However, the specific configurations of the embodiments of the present invention are not limited to the above-mentioned embodiments, and at least one of various combinations, modifications, substitutions, and design changes may be added to the above-mentioned embodiments without departing from the scope of the present invention.

[0147] The effects of the present invention described in the above-mentioned embodiments are merely examples, and the present invention may have other effects that a person skilled in the art may recognize from the description of the above-mentioned embodiments in addition to the effects described above. [Explanation of symbols]

[0148] 10... object detection device, 11... processor, 12... main memory device, 13... communication interface, 14... auxiliary memory device, 15... input / output device, 16... bus, 101... first image generation unit, 102... first image acquisition unit, 103... second image generation unit, 104... second image acquisition unit, 105... object detection unit, 151... mouse, 152... keyboard, 153... display, 154... first light-emitting device, 155... first image capture device, 156... second light-emitting device, 157... second image capture device, 20... food processing line, 200... control device, 201... belt conveyor, 202, 203... photoelectric sensor, M... chicken thigh, 30... machine learning execution device, 31... processor, 32 ...Main memory device, 33...Communication interface, 34...Auxiliary memory device, 35...Input / output device, 36...Bus, 301...Teacher data acquisition unit, 302...Machine learning execution unit, 351...Mouse, 352...Keyboard, 353...Display, 400...Machine learning device, 400M...Machine learning model, 50...Object detection device, 51...Processor, 52...Main memory device, 53...Communication interface, 54...Auxiliary memory device, 55...Input / output device, 56...Bus, 501...First inference image acquisition unit, 502...Second inference image acquisition unit, 503...Inference image generation unit, 504...Inference object detection unit, 551...Mouse, 552...Display, 553...Keyboard

Claims

1. a first image acquisition unit that acquires a first image depicting a subject, the first image being generated by irradiating a subject with light belonging to a first wavelength group; a second image acquisition unit that acquires a second image depicting the subject, the second image being generated by irradiating the subject with light having a wavelength that is different from the wavelength of the light irradiated onto the subject to generate the first image, the second image acquisition unit belonging to a second wavelength group different from the first wavelength group; an object detection unit that detects an object included in the subject by using the first image and the second image; Equipped with At least one of the first image acquisition unit and the second image acquisition unit acquires an image in which each pixel represents a value calculated based on: luminance information of a main image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the main image being obtained based on a main wavelength belonging to the same wavelength group as the light irradiated to the subject; and luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being obtained based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the subject and has a wavelength different from the main wavelength. Object detection device.

2. the object detection unit detects a first element depicted in the first image with a luminance exceeding a predetermined first luminance, and detects a second element depicted in the second image with a luminance exceeding a predetermined second luminance and different from the first element, thereby detecting the object; The object detection device according to claim 1 .

3. The first image acquisition unit acquires the first image generated by irradiating the subject with light having a wavelength whose reflectance when irradiated to the first element exceeds a predetermined first reflectance. The object detection device according to claim 2 .

4. the second image acquisition unit acquires the second image generated by irradiating the subject with light having a wavelength whose reflectance when irradiated on the second element exceeds a predetermined second reflectance; The object detection device according to claim 2 or 3.

5. the object detection unit selects a first point for each region in the first image in which the first element is depicted based on a predetermined first rule, selects a second point for each region in the second image in which the second element is depicted based on a predetermined second rule, and detects as the object a combination of the first element and the second element that provides the first point and the second point such that a length of a line segment connecting the first point and the second point is less than a predetermined length; The object detection device according to any one of claims 2 to 4.

6. the first image acquisition unit acquires the first image, in which each pixel represents a value calculated based on a luminance of each pixel included in a first primary image that depicts the subject, the first primary image having a first dominant wavelength belonging to the first wavelength group, that is irradiated onto the subject, and that is photographed by detecting light reflected by the subject, and a luminance of each pixel included in a first secondary image that depicts the subject, the first secondary image having a first sub-wavelength belonging to the first wavelength group, that is irradiated onto the subject, and that is photographed by detecting light reflected by the subject, The object detection device according to any one of claims 1 to 5.

7. the second image acquisition unit acquires the second image, in which each pixel represents a value calculated based on the luminance of each pixel included in a second primary image that depicts the subject, the second image having a second dominant wavelength belonging to the second wavelength group, that is irradiated onto the subject, and that is photographed by detecting light reflected by the subject, and the luminance of each pixel included in a second secondary image that depicts the subject, the second image having a second sub-wavelength belonging to the second wavelength group, that is irradiated onto the subject, and that is photographed by detecting light reflected by the subject, The object detection device according to any one of claims 1 to 6.

8. the first image acquisition unit acquires the first image, in which each pixel represents a value calculated based on the luminance of each pixel included in a first main image that depicts the subject, which is captured by detecting light having a first main wavelength and is emitted from the subject by irradiating the subject with light belonging to the first wavelength group, and the luminance of each pixel included in a first sub-image that depicts the subject, which is captured by detecting light having a first sub-wavelength and is emitted from the subject by irradiating the subject with light belonging to the first wavelength group, and the luminance of each pixel included in a first sub-image that depicts the subject, The object detection device according to any one of claims 1 to 5.

9. the second image acquisition unit acquires the second image, in which each pixel represents a value calculated based on the luminance of each pixel included in a second primary image that depicts the subject, which is captured by detecting light having a second dominant wavelength and is emitted from the subject by irradiating the subject with light belonging to the second wavelength group, and the luminance of each pixel included in a second secondary image that depicts the subject, which is captured by detecting light having a second sub-wavelength and is emitted from the subject by irradiating the subject with light belonging to the second wavelength group, and the luminance of each pixel included in a second secondary image that depicts the subject. The object detection device according to any one of claims 1 to 6.

10. a training multi-channel image generated using a first training image that is generated by irradiating a training subject with light belonging to a first wavelength group and that depicts the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the training subject to generate the first training image and that depicts the training subject, and a training data acquisition unit that acquires training data having as an answer the position of an area in which a training object included in the training subject depicted in the training multi-channel image is depicted; a machine learning execution unit that inputs the teacher data into a machine learning model and trains the machine learning model; Equipped with At least one of the first learning image and the second learning image is an image in which each pixel represents a value calculated based on luminance information of a main image obtained as a result of irradiating the learning subject with light belonging to the first wavelength group or the second wavelength group, and based on a main wavelength belonging to the same wavelength group as the light irradiated to the learning subject, and luminance information of a sub-image obtained as a result of irradiating a subject with light belonging to the first wavelength group or the second wavelength group, and based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the learning subject and has a wavelength different from the main wavelength, Machine learning execution device.

11. a first inference image acquisition unit that acquires a first inference image depicting the inference subject, the first inference image being generated by irradiating the inference subject with light belonging to a first wavelength group; a second inference image acquisition unit that acquires a second inference image depicting the inference subject, the second inference image being generated by irradiating the subject with light having a wavelength different from that of the light irradiated onto the subject to generate the first inference image, the second inference image being generated by irradiating the subject with light having a wavelength different from that of the light irradiated onto the subject to generate the first inference image; an inference image generating unit that generates an inference multi-channel image using the first inference image and the second inference image; an inference target detection unit that takes a training multi-channel image generated using a first training image that is generated by irradiating a training subject with light belonging to the first wavelength group and depicting the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the training subject to generate the first training image and depicts the training subject, inputs the inference multi-channel image to a machine learning model trained using teacher data in which the answer is the position of a region in which a training target included in the training subject depicted in the training multi-channel image is depicted, and causes the machine learning model to detect an inference target included in the inference subject; Equipped with At least one of the first image for inference acquisition unit or the second image for inference acquisition unit acquires an image in which each pixel represents a value calculated based on luminance information of a main image obtained as a result of irradiating the subject for inference with light belonging to the first wavelength group or the second wavelength group, the main image being based on a dominant wavelength belonging to the same wavelength group as the light irradiated to the subject for inference, and luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being based on a subordinate wavelength which belongs to the same wavelength group as the light irradiated to the subject for inference and has a wavelength different from the dominant wavelength, the sub-image being obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group. Object detection device.

12. On the computer, a first image acquisition function that acquires a first image depicting the subject, the first image being generated by irradiating a subject with light belonging to a first wavelength group; a second image acquisition function that acquires a second image depicting the subject, the second image being generated by irradiating the subject with light having a wavelength that is different from the wavelength of the light irradiated onto the subject to generate the first image, the second image being generated by irradiating the subject with light that belongs to a second wavelength group different from the first wavelength group and that is different from the wavelength of the light irradiated onto the subject to generate the first image; an object detection function that detects an object included in the subject by using the first image and the second image; Realize this, At least one of the first image acquisition function and the second image acquisition function acquires an image in which each pixel represents a value calculated based on: luminance information of a main image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the main image being obtained based on a main wavelength belonging to the same wavelength group as the light irradiated to the subject; and luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being obtained based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the subject and has a wavelength different from the main wavelength. Target detection program.

13. On the computer, a training multi-channel image generated using a first training image that is generated by irradiating a training subject with light belonging to a first wavelength group and that depicts the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the training subject to generate the first training image and that depicts the training subject, and a training data acquisition function that acquires training data having as an answer the position of an area in which a training object included in the training subject depicted in the training multi-channel image is depicted; A machine learning execution function that inputs the teacher data into a machine learning model and trains the machine learning model; Realize this, At least one of the first learning image and the second learning image is an image in which each pixel represents a value calculated based on luminance information of a main image obtained as a result of irradiating the learning subject with light belonging to the first wavelength group or the second wavelength group, and based on a main wavelength belonging to the same wavelength group as the light irradiated to the learning subject, and luminance information of a sub-image obtained as a result of irradiating a subject with light belonging to the first wavelength group or the second wavelength group, and based on a sub-wavelength which belongs to the same wavelength group as the light irradiated to the learning subject and has a wavelength different from the main wavelength, Machine learning execution program.

14. On the computer, a first inference image acquisition function that acquires a first inference image depicting the inference subject, the first inference image being generated by irradiating the inference subject with light belonging to a first wavelength group; a second inference image acquisition function for acquiring a second inference image depicting the inference subject, the second inference image being generated by irradiating the inference subject with light having a wavelength different from that of the light irradiated onto the inference subject to generate the first inference image, the second inference image being generated by irradiating the inference subject with light having a wavelength different from that of the light irradiated onto the inference subject to generate the first inference image; an inference image generating function for generating an inference multi-channel image generated by using the first inference image and the second inference image; an inference target detection function that takes a training multi-channel image generated using a first training image that is generated by irradiating a training subject with light belonging to the first wavelength group and depicting the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the training subject to generate the first training image and depicts the training subject, inputs the inference multi-channel image to a machine learning model trained using teacher data in which the answer is the position of an area in which a training target included in the training subject depicted in the training multi-channel image is depicted, and causes the machine learning model to detect an inference target included in the inference subject; Realize this, At least one of the first inference image acquisition function or the second inference image acquisition function acquires an image in which each pixel represents a value calculated based on luminance information of a main image obtained as a result of irradiating the subject for inference with light belonging to the first wavelength group or the second wavelength group, the main image being based on a dominant wavelength belonging to the same wavelength group as the light irradiated to the subject for inference, and luminance information of a sub-image obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group, the sub-image being based on a subordinate wavelength which belongs to the same wavelength group as the light irradiated to the subject for inference and has a wavelength different from the dominant wavelength, the sub-image being obtained as a result of irradiating the subject with light belonging to the first wavelength group or the second wavelength group. Target detection program.

15. A first image acquisition unit that acquires a first image depicting a subject by irradiating the subject with light belonging to a first wavelength group; a second image acquisition unit that acquires a second image depicting the subject, the second image being generated by irradiating the subject with light having a wavelength that is different from the wavelength of the light irradiated onto the subject to generate the first image, the second image acquisition unit belonging to a second wavelength group different from the first wavelength group; an object detection unit that detects an object included in the subject by using the first image and the second image; Equipped with the first image acquisition unit acquires the first image, in which each pixel represents a value calculated based on a luminance of each pixel included in a first primary image that depicts the subject, the first primary image having a first dominant wavelength belonging to the first wavelength group, that is irradiated onto the subject, and that is photographed by detecting light reflected by the subject, and a luminance of each pixel included in a first secondary image that depicts the subject, the first secondary image having a first sub-wavelength belonging to the first wavelength group, that is irradiated onto the subject, and that is photographed by detecting light reflected by the subject, Object detection device.

16. A first image acquisition unit that acquires a first image depicting a subject by irradiating a subject with light belonging to a first wavelength group; a second image acquisition unit that acquires a second image depicting the subject, the second image being generated by irradiating the subject with light having a wavelength that is different from the wavelength of the light irradiated onto the subject to generate the first image, the second image acquisition unit belonging to a second wavelength group different from the first wavelength group; an object detection unit that detects an object included in the subject by using the first image and the second image; Equipped with the second image acquisition unit acquires the second image, in which each pixel represents a value calculated based on the luminance of each pixel included in a second primary image that depicts the subject, the second image having a second dominant wavelength belonging to the second wavelength group, that is irradiated onto the subject, and that is photographed by detecting light reflected by the subject, and the luminance of each pixel included in a second secondary image that depicts the subject, the second image having a second sub-wavelength belonging to the second wavelength group, that is irradiated onto the subject, and that is photographed by detecting light reflected by the subject, Object detection device.

17. A training multi-channel image is generated using a first training image that is generated by irradiating a training subject with light belonging to a first wavelength group and depicting the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the training subject to generate the first training image and depicting the training subject, and a training data acquisition unit is configured to acquire training data whose answer is the position of an area in which a training object included in the training subject depicted in the training multi-channel image is depicted; a machine learning execution unit that inputs the teacher data into a machine learning model and trains the machine learning model; Equipped with The first learning image represents, for each pixel, a value calculated based on the luminance of each pixel included in a first main image having a first dominant wavelength belonging to the first wavelength group, which is irradiated onto the learning subject and photographed by detecting light reflected by the learning subject, and the luminance of each pixel included in a first sub-image having a first sub-wavelength belonging to the first wavelength group, which is irradiated onto the learning subject and photographed by detecting light reflected by the learning subject, and Machine learning execution device.

18. A training multi-channel image is generated using a first training image that is generated by irradiating a training subject with light belonging to a first wavelength group and depicting the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a different wavelength from the light irradiated to the training subject to generate the first training image and depicting the training subject, and a training data acquisition unit is configured to acquire training data whose answer is the position of an area in which a training object included in the training subject depicted in the training multi-channel image is depicted; a machine learning execution unit that inputs the teacher data into a machine learning model and trains the machine learning model; Equipped with The second learning image represents, for each pixel, a value calculated based on the luminance of each pixel included in a second main image having a second main wavelength belonging to the second wavelength group, which is irradiated onto the learning subject and photographed by detecting light reflected by the learning subject, and the luminance of each pixel included in a second sub-image having a second sub-wavelength belonging to the second wavelength group, which is irradiated onto the learning subject and photographed by detecting light reflected by the learning subject, and Machine learning execution device.

19. A first inference image acquisition unit that acquires a first inference image depicting an inference subject, the first inference image being generated by irradiating the inference subject with light belonging to a first wavelength group; a second inference image acquisition unit that acquires a second inference image depicting the inference subject, the second inference image being generated by irradiating the subject with light having a wavelength different from that of the light irradiated onto the subject to generate the first inference image, the second inference image being generated by irradiating the subject with light having a wavelength different from that of the light irradiated onto the subject to generate the first inference image; an inference image generating unit that generates an inference multi-channel image using the first inference image and the second inference image; an inference target detection unit that takes a training multi-channel image generated using a first training image that is generated by irradiating a training subject with light belonging to the first wavelength group and depicting the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the training subject to generate the first training image and depicts the training subject, inputs the inference multi-channel image to a machine learning model trained using teacher data in which the answer is the position of a region in which a training target included in the training subject depicted in the training multi-channel image is depicted, and causes the machine learning model to detect an inference target included in the inference subject; Equipped with The first inference image acquisition unit acquires the first inference image, in which each pixel represents a value calculated based on the luminance of each pixel included in a first main image that depicts the inference subject, the first main image having a first main wavelength belonging to the first wavelength group, that is irradiated to the inference subject, and that is photographed by detecting light reflected by the inference subject, and the luminance of each pixel included in a first sub-image that depicts the inference subject, the first sub-image having a first sub-wavelength belonging to the first wavelength group, that is irradiated to the inference subject, and that is photographed by detecting light reflected by the inference subject. Object detection device.

20. A first inference image acquisition unit that acquires a first inference image depicting an inference subject, the first inference image being generated by irradiating the inference subject with light belonging to a first wavelength group; a second inference image acquisition unit that acquires a second inference image depicting the inference subject, the second inference image being generated by irradiating the subject with light having a wavelength different from that of the light irradiated onto the subject to generate the first inference image, the second inference image being generated by irradiating the subject with light having a wavelength different from that of the light irradiated onto the subject to generate the first inference image; an inference image generating unit that generates an inference multi-channel image using the first inference image and the second inference image; an inference target detection unit that takes a training multi-channel image generated using a first training image that is generated by irradiating a training subject with light belonging to the first wavelength group and depicting the training subject, and a second training image that is generated by irradiating the training subject with light that belongs to a second wavelength group different from the first wavelength group and has a wavelength different from the light irradiated to the training subject to generate the first training image and depicts the training subject, inputs the inference multi-channel image to a machine learning model trained using teacher data in which the answer is the position of a region in which a training target included in the training subject depicted in the training multi-channel image is depicted, and causes the machine learning model to detect an inference target included in the inference subject; Equipped with The second inference image acquisition unit acquires the second inference image, in which each pixel represents a value calculated based on the luminance of each pixel included in a second main image that depicts the inference subject, the second main image having a second main wavelength belonging to the second wavelength group, that is irradiated to the inference subject, and that is photographed by detecting light reflected by the inference subject, and the luminance of each pixel included in a second sub-image that depicts the inference subject, the second sub-image having a second sub-wavelength belonging to the second wavelength group, that is irradiated to the inference subject, and that is photographed by detecting light reflected by the inference subject. Object detection device.

Citation Information

Patent Citations

  • Radiation having narrow frequency band and detection of gem

    JP1990085750A

  • Inspection device of substrate

    JP2007024510A

  • Inspection apparatus

    JP2012112688A

  • Defect detection apparatus and defect detection method

    JP2015190898A

  • Device for discriminating bone part in meat and method for discriminating bone part in meat

    JP2018066649A