Yarn or woven fabric image-taking device

The yarn or woven fabric photography device addresses the issue of variable fabric color and illumination degradation by dynamically adjusting brightness based on detected fabric color and brightness, enhancing recognition and image clarity.

WO2024219018A1PCT designated stage expired Publication Date: 2024-10-24TOYOTA INDUSTRIES CORP
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/JP2023/046078
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-04-19
Filing Date
2023-12-22
Publication Date
2024-10-24

AI Technical Summary

Technical Problem

Existing fabric inspection devices struggle to maintain optimal brightness for recognizing yarn or woven fabrics in images, leading to potential misrecognition due to overexposure or underexposure, especially when the fabric color varies, and illumination brightness may decrease over time due to dust accumulation.

Method used

A yarn or woven fabric photography device that includes a camera, a light source, a brightness setting unit that adjusts illumination based on the detected color of the fabric, and a control unit that continuously monitors and adjusts brightness to maintain a target value, ensuring the fabric is recognizable in the image.

Benefits of technology

This solution allows for easier recognition of yarn or woven fabrics by adjusting illumination according to fabric color and brightness, reducing misrecognition and maintaining image clarity even during prolonged photography sessions, even as dust affects the light source.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure JP2023046078_24102024_PF_FP_ABST
    Figure JP2023046078_24102024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention provides a yarn or woven fabric image-taking device in which the image-taking subject is yarn or woven fabric, said device comprising: a camera that takes an image of the image-taking subject; illumination that illuminates the image-taking subject; a luminance setting unit that sets a suitable value of luminance corresponding to the color of the image-taking subject as a target value; a luminance detection unit that detects the luminance of the image-taking subject from an image taken by the camera; and a brightness control unit that controls the brightness of the illumination on the basis of the target value set by the luminance setting unit and the luminance of the image-taking subject detected by the luminance detection unit, such that the luminance of the image-taking subject in the taken image is the target value.
Need to check novelty before this filing date? Find Prior Art

Description

Thread or fabric photography device

[0001] The present invention relates to an apparatus for photographing yarn or woven fabric, the object of which is to be photographed being yarn or woven fabric.

[0002] The photographing device is equipped with a camera that photographs the subject and a light that illuminates the subject. The photographing device is sometimes used to inspect the shedding state of warp threads in a loom. In this case, the subject photographed by the photographing device is the warp thread. An operator or an inspection device inspects whether the shedding state of the warp threads is appropriate by recognizing the warp threads in the photographed image. The photographing device is sometimes used to inspect the flight state of the weft thread. In this case, the subject photographed by the photographing device is the weft thread. An operator or an inspection device inspects whether the flight state of the weft thread is appropriate by recognizing the weft threads in the photographed image. The photographing device is sometimes used to inspect woven fabric. In this case, the subject photographed by the photographing device is the woven fabric. An operator or an inspection device inspects whether there are any abnormalities in the woven fabric by recognizing the woven fabric in the photographed image.

[0003] The automatic fabric inspection device described in Patent Document 1 includes a woven fabric photographing device. The woven fabric photographing device includes a brightness control unit that controls the brightness of lighting. The brightness control unit receives a video signal output from the camera. The brightness control unit increases or decreases the brightness of lighting so that the average level of the video signal reaches a preset level.

[0004] Japanese Patent Application Publication No. 8-254503

[0005] In Patent Document 1, the brightness of the entire captured image is adjusted by controlling the brightness of the lighting based on the brightness of the entire captured image. However, the brightness of the subject in the captured image is not always appropriate for an operator or inspection device to recognize the subject in the captured image. For this reason, for example, if the lighting is too bright, the subject may appear whitish in the captured image, resulting in so-called blown-out highlights. In this case, the operator or inspection device may have difficulty recognizing the subject in the captured image, which could lead to misrecognition of the subject. Furthermore, if the lighting is too dark, the subject may appear dark in the captured image. In this case, the operator or inspection device may have difficulty recognizing the subject in the captured image, which could lead to misrecognition of the subject.

[0006] The yarn or woven fabric photographing device for solving the above problems is a yarn or woven fabric photographing device in which the subject to be photographed is yarn or woven fabric, and is equipped with a camera that photographs the subject, lighting that illuminates the subject, a brightness setting unit that sets an appropriate brightness value corresponding to the color of the subject as a target value, a brightness detection unit that detects the brightness of the subject from an image photographed by the camera, and a brightness control unit that controls the brightness of the lighting so that the brightness of the subject in the photographed image becomes the target value, based on the target value set by the brightness setting unit and the brightness of the subject detected by the brightness detection unit.

[0007] According to the above configuration, the brightness setting unit sets an appropriate brightness value corresponding to the color of the object to be photographed as a target value. The brightness control unit controls the brightness of the lighting so that the brightness of the object in the photographed image reaches the target value. In this way, the brightness of the lighting is controlled based on the color of the object to be photographed. Therefore, the photographing device can photograph the object while taking into consideration that the ease of recognition of the object in the photographed image varies depending on the color of the object. This makes it easier for an operator or an inspection device to recognize the yarn or woven fabric in the photographed image.

[0008] Furthermore, the brightness detection unit detects the brightness of the subject from the image captured by the camera. The brightness control unit controls the brightness of the lighting so that the brightness of the subject in the captured image reaches a target value. In this way, the brightness of the lighting is controlled based on the brightness of the subject. Therefore, compared to when the brightness of the lighting is controlled based on the brightness of the entire captured image, it is easier to make the brightness of the subject in the captured image suitable for an operator or inspection device to recognize the subject in the captured image. This also makes it easier for an operator or inspection device to recognize the yarn or woven fabric in the captured image. As a result, the operator or inspection device is less likely to mistakenly recognize the yarn or woven fabric in the captured image.

[0009] In the above-mentioned yarn or woven fabric photographing device, while the camera continues photographing, the brightness detection unit may repeatedly detect the brightness of the subject to be photographed, and the brightness control unit may repeatedly control the brightness of the lighting.

[0010] When the shooting period is long, the illuminance may gradually decrease due to dust or the like adhering to the lighting. With the above configuration, while the camera continues shooting, the brightness detection unit repeatedly detects the brightness of the subject, and the brightness control unit repeatedly controls the brightness of the lighting. Therefore, even at the end of the shooting period, it is easy to recognize the thread or woven fabric in the captured image.

[0011] The above-mentioned yarn or woven fabric photographing device may include a color detection unit that detects the color of the subject from the photographed image, and the brightness setting unit may store the relationship between the color of the subject and the appropriate value, and may set the appropriate value corresponding to the color of the subject detected by the color detection unit as the target value.

[0012] According to the above configuration, the target value can be automatically set by the imaging device, which eliminates the need for the operator to input the color of the subject to be imaged or the appropriate brightness value corresponding to the color of the subject to the imaging device.

[0013] The above-mentioned yarn or woven fabric photographing device may include an area setting unit that sets an area of ​​the photographed image that includes the subject to be photographed as a target area, and the color detection unit may detect the color of the subject to be photographed by detecting the color of the target area, and the brightness detection unit may detect the brightness of the subject to be photographed by detecting the brightness of the target area.

[0014] In the above-described yarn or woven fabric photographing device, the photographed object may be a portion of the warp yarn that forms an opening into which the weft yarn is inserted. With the above configuration, an operator or an inspection device can easily recognize the portion that forms the opening for the warp yarn in the photographed image. Therefore, the operator or the inspection device can easily inspect the opening state of the warp yarn.

[0015] According to the present invention, it is possible to easily recognize threads or woven fabric in a photographed image.

[0016] FIG. 1 is a block diagram showing the configuration of a loom and a photographing device. FIG. 2 is a diagram showing the relationship between an external input signal and a trigger signal. FIG. 3 is a block diagram showing the functional elements of a control unit. FIG. 4 is a schematic diagram showing an example of a photographed image. FIG. 5 is a diagram showing the relationship between yarn color and appropriate brightness values. FIG. 6 is a flowchart showing a method for adjusting the brightness of lighting.

[0017] An embodiment of a yarn or woven fabric photographing device will be described below with reference to Figures 1 to 6. The yarn or woven fabric photographing device of this embodiment is used by an operator or an inspection device to inspect the shedding state of warp yarns. Therefore, the subject of photographing in this embodiment is the warp yarns, more specifically, the portion of the warp yarns that forms the shedding into which the weft yarns are inserted. Hereinafter, the yarn or woven fabric photographing device will be simply referred to as the "photographing device."

[0018] <Loom> As shown in FIG. 1 , the loom 100 includes a loom base 101. The loom base 101 has a weft insertion nozzle (not shown) and a main shaft 102. The weft insertion nozzle is located at a first end of the loom base 101 in the width direction. The loom 100 of this embodiment is an air jet loom. The weft insertion nozzle ejects air from the first end to the second end of the loom base 101 in the width direction, thereby inserting a weft into a shed Ta (see FIG. 4 ) for warp threads T. The main shaft 102 is driven to rotate by a main motor (not shown). The timing at which the weft insertion nozzle inserts a weft corresponds to the rotation angle of the main shaft 102. Specifically, the weft insertion nozzle inserts a weft when the main shaft 102 has rotated a predetermined angle from a specific angle. In the following description, the specific angle of the main shaft 102 is referred to as a reference angle. Furthermore, the delay angle relative to the reference angle is referred to as a delay angle.

[0019] The loom 100 includes an angle detection unit 103 and a signal output unit 104. The angle detection unit 103 detects the rotation angle of the main shaft 102. The angle detection unit 103 is, for example, a rotary encoder. The angle detection unit 103 is connected to the signal output unit 104. The angle detection unit 103 transmits the detected rotation angle of the main shaft 102 to the signal output unit 104. The signal output unit 104 outputs a signal to the imaging device 10 every time the rotation angle of the main shaft 102 received from the angle detection unit 103 reaches a preset reference angle.

[0020] <Photographing Device> The photographing device 10 includes a camera 11, a light 12, a trigger unit 13, and a personal computer 14.

[0021] The camera 11 is a digital camera. The camera 11 has an imaging element. Examples of imaging elements include a charge coupled device (CCD) image sensor and a complementary metal oxide semiconductor (CMOS) image sensor. The camera 11 is an RGB camera. Therefore, the image captured by the camera 11 is an RGB image.

[0022] The camera 11 is provided at a position where it can photograph the subject. In this embodiment, the camera 11 is provided at a position where it can photograph the portion of the warp threads T that forms the opening Ta where the weft thread is inserted. Specifically, the camera 11 is disposed at a first end, which is the end on the side where the weft insertion nozzle is located in the width direction of the machine frame 101. The camera 11 photographs the warp threads T from the upstream side to the downstream side in the weft insertion direction.

[0023] The lighting 12 in this embodiment is an LED light. The lighting 12 is provided in a position where it illuminates the subject to be photographed. The lighting 12 in this embodiment is provided in a position where it illuminates the portion of the warp threads T that forms the opening Ta where the weft thread is inserted. Specifically, the lighting 12 is disposed at a first end, which is the end in the width direction of the machine 101 on the side where the weft insertion nozzle is located. The lighting 12 illuminates the warp threads T from the upstream side to the downstream side in the weft insertion direction.

[0024] The trigger unit 13 includes a processor 13a and a memory 13b. The processor 13a may be, for example, a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). The memory 13b includes a random access memory (RAM) and a read-only memory (ROM). The memory 13b stores program code or instructions configured to cause the processor 13a to execute processing. The memory 13b, i.e., a computer-readable medium, includes any available medium accessible by a general-purpose or special-purpose computer. The trigger unit 13 may be configured with a hardware circuit such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA). The trigger unit 13, which is a processing circuit, may include one or more processors operating according to a computer program, one or more hardware circuits such as ASICs or FPGAs, or a combination thereof.

[0025] The trigger unit 13 is connected to the camera 11 and the lighting 12. The trigger unit 13 controls the timing at which the camera 11 takes an image and the timing at which the lighting 12 emits light. The trigger unit 13 is connected to a signal output unit 104 of the loom 100. A signal output from the signal output unit 104 is input to the trigger unit 13 as an external input signal. The trigger unit 13 is connected to a personal computer 14. A shooting delay angle is input to the trigger unit 13 from the personal computer 14. The shooting delay angle determines the timing at which the camera 11 takes an image. The trigger unit 13 controls the timing at which the camera 11 takes an image and the timing at which the lighting 12 emits light, based on the external input signal input from the loom 100 and the shooting delay angle input from the personal computer 14.

[0026] 2, the trigger unit 13 determines the rotation period Tm of the main shaft 102 from the interval at which the external input signal is input. The trigger unit 13 converts the imaging delay angle into a delay time Td using the rotation period Tm of the main shaft 102 and the reference angle. The trigger unit 13 outputs trigger signals simultaneously to the camera 11 and the lighting 12 at a time ts when the delay time Td has elapsed from the time tr when the external input signal was input. In other words, the trigger unit 13 outputs trigger signals simultaneously to the camera 11 and the lighting 12 at the timing when the main shaft 102 has rotated by the imaging delay angle from the reference angle.

[0027] The camera 11 takes an image when a trigger signal is input from the trigger unit 13. The lighting 12 emits light when a trigger signal is input from the trigger unit 13. Therefore, the lighting 12 illuminates the warp threads T at the same time that the camera 11 takes an image of the warp threads T. The trigger unit 13 causes the photographing device 10 to take images for a predetermined photographing period and at predetermined photographing intervals.

[0028] The trigger unit 13 also controls the brightness of the lighting 12. A brightness control value for controlling the brightness of the lighting 12 is input to the trigger unit 13 from the personal computer 14. The trigger unit 13 controls the brightness of the lighting 12 by controlling the lighting 12 in accordance with the brightness control value of the lighting 12 input from the personal computer 14. In this embodiment, the brightness control value of the lighting 12 is the value of a current supplied to the LED light. The greater the value of the current supplied to the LED light, the brighter the lighting 12 becomes.

[0029] 1 , the personal computer 14 has an input unit 15, a display unit 16, and a control unit 17. The input unit 15 is, for example, a keyboard or a mouse. The input unit 15 is connected to the control unit 17. The display unit 16 is a display. The display unit 16 is connected to the control unit 17. The display unit 16 is controlled by the control unit 17.

[0030] The control unit 17 includes a processor 17a and a memory unit 17b. The processor 17a may be, for example, a central processing unit (CPU), a graphics processing unit (GPU), or a digital signal processor (DSP). The memory unit 17b includes a random access memory (RAM) and a read-only memory (ROM). The memory unit 17b stores program code or instructions configured to cause the processor 17a to execute processing. The memory unit 17b, i.e., a computer-readable medium, includes any available medium accessible by a general-purpose or special-purpose computer. The control unit 17 may be configured with a hardware circuit such as an application-specific integrated circuit (ASIC) or a field-programmable gate array (FPGA). The control unit 17, which is a processing circuit, may include one or more processors operating according to a computer program, one or more hardware circuits such as an ASIC or FPGA, or a combination thereof.

[0031] The operator inputs the imaging delay angle to the control unit 17 using the input unit 15. The personal computer 14 transmits the imaging delay angle input by the operator to the trigger unit 13.

[0032] The personal computer 14 is connected to the camera 11. The personal computer 14 acquires captured images from the camera 11. The personal computer 14 stores the acquired captured images. In this embodiment, the personal computer 14 displays the captured images by the camera 11 on the display unit 16. The worker can check the captured images on the display unit 16. When the worker inspects the shedding state of the warp threads T, the worker inspects the shedding state of the warp threads T by recognizing the state of the warp threads T in the captured images.

[0033] When the inspection device inspects the shedding state of the warp threads T, the personal computer 14 transmits the captured image to the inspection device. The inspection device has, for example, a trained model that has been trained to output the state of the warp threads T in the captured image when the captured image is input. The inspection device recognizes the state of the warp threads T in the captured image using the trained model. The inspection device then inspects the shedding state of the warp threads T from the recognized state of the warp threads T. Note that the control unit 17 of the personal computer 14 may function as the inspection device. In this case, it is not necessary to transmit the captured image to the inspection device.

[0034] The worker uses the input unit 15 to select an area that includes the subject to be photographed in the image captured by the camera 11. In this embodiment, the worker uses, for example, a mouse as the input unit 15 to select an area that includes the warp threads T in the image captured by the camera 11 and displayed on the display unit 16.

[0035] 3, the control unit 17 has an area setting unit 21, a color detection unit 22, a luminance setting unit 23, a luminance detection unit 24, a determination unit 25, and a brightness setting unit 26. The area setting unit 21, the color detection unit 22, the luminance setting unit 23, the luminance detection unit 24, the determination unit 25, and the brightness setting unit 26 are functional elements that function when the processor 17a executes a program stored in the storage unit 17b.

[0036] 4 is a schematic diagram showing an example of an image P captured by the camera 11. The captured image P includes not only the portion of the warp threads T that forms the shed Ta, which is the subject of the image capture, but also components of the loom 100, such as the reed 105, and the background.

[0037] The area setting unit 21 sets an area of ​​the image P captured by the camera 11 that includes the subject to be photographed as the target area A. In this embodiment, the area setting unit 21 sets an area of ​​the image P captured by the camera 11 that includes a portion that forms the shed Ta of the warp threads T as the target area A.

[0038] As described above, in this embodiment, the worker selects an area in the captured image P that includes the warp threads T using the input unit 15. The area setting unit 21 in this embodiment sets the area selected by the worker as the target area A. As a result, the area in the captured image P captured by the camera 11 that includes the warp threads T is set as the target area A. The target area A is set appropriately so that most of the area is occupied by the warp threads T.

[0039] The color detection unit 22 detects the color of the object being photographed from the image P photographed by the camera 11. In this embodiment, the color detection unit 22 detects the color of the warp thread T from the image P photographed by the camera 11. Specifically, the color detection unit 22 detects the color of the target area A based on each gradation of RGB of the target area A. As described above, the majority of the target area A is occupied by the warp thread T. Therefore, the color of the target area A detected by the color detection unit 22 can be considered to be the color of the warp thread T. In this way, the color detection unit 22 in this embodiment detects the color of the warp thread T by detecting the color of the target area A.

[0040] The luminance setting unit 23 sets an appropriate luminance value corresponding to the color of the subject to be photographed as the target value. In this embodiment, the luminance setting unit 23 sets an appropriate luminance value corresponding to the color of the warp thread T as the target value.

[0041] As described above, the operator or the inspection device recognizes the warp threads T in the captured image P to inspect the shedding state of the warp threads T. At this time, the ease of recognizing the warp threads T in the image varies depending on the color of the warp threads T. The darker the color of the warp threads T, the more difficult it is to recognize the warp threads T in the image. For example, it is more difficult to recognize the warp threads T in the image when the warp threads T are black than when the warp threads T are white. Therefore, by increasing the brightness of the image as the color of the warp threads T becomes darker, the ease of recognizing the warp threads T in the image can be ensured regardless of the color of the warp threads T. An appropriate brightness value corresponding to the color of the subject to be photographed is set in advance. The appropriate brightness value is set to a brightness that makes it less likely for the operator or the inspection device to erroneously recognize the warp threads T in the captured image P. The appropriate brightness value is set to be larger when the warp threads T are dark than when they are light. In this embodiment, the appropriate brightness value is set with a range.

[0042] For example, as shown in Figure 5, when the color of the warp thread T is a light color, the appropriate value of the luminance is set to be equal to or greater than L1 and equal to or less than L2. When the color of the warp thread T is a dark color, the appropriate value of the luminance is set to be equal to or greater than L4, where L2 < L3. When the color of the warp thread T is an intermediate color that is darker than the light color and lighter than the dark color, the appropriate value of the luminance is set to be equal to or greater than L6, where L2 < L5 and L6 < L3. For example, light colors are white and yellow, intermediate colors are blue, and dark colors are black.

[0043] The brightness setting unit 23 stores the relationship between the color of the warp thread T and the appropriate brightness value. From the relationship between the color of the warp thread T and the appropriate brightness value, the brightness setting unit 23 determines the appropriate brightness value corresponding to the color of the warp thread T detected by the color detection unit 22. The brightness setting unit 23 sets the determined appropriate brightness value as the target value. For example, if the color detection unit 22 detects that the color of the warp thread T is white, the brightness setting unit 23 sets the target value to be equal to or greater than L1 and equal to or less than L2 because the color of the warp thread T is a light color.

[0044] The brightness detection unit 24 detects the brightness of the subject from the image P captured by the camera 11. In this embodiment, the brightness detection unit 24 detects the brightness of the warp threads T from the image P captured by the camera 11. Specifically, the brightness detection unit 24 converts the RGB image of the target area A into a grayscale image. The brightness detection unit 24 detects the brightness of the target area A from the gradation of the grayscale image of the target area A. As described above, the majority of the target area A is occupied by the warp threads T. Therefore, the brightness of the target area A detected by the brightness detection unit 24 can be considered to be the brightness of the warp threads T. In this way, the brightness detection unit 24 in this embodiment detects the brightness of the warp threads T by detecting the brightness of the target area A.

[0045] The determination unit 25 determines whether or not it is necessary to change the brightness of the illumination 12 by comparing the target value set by the brightness setting unit 23 with the brightness of the subject detected by the brightness detection unit 24. If the brightness of the subject detected by the brightness detection unit 24 is the target value, the determination unit 25 determines that it is not necessary to change the brightness of the illumination 12. On the other hand, if the brightness of the subject detected by the brightness detection unit 24 is not the target value, the determination unit 25 determines that it is necessary to change the brightness of the illumination 12.

[0046] The brightness setting unit 26 sets the brightness control value of the illumination 12 based on the determination result of the determination unit 25. In this embodiment, the brightness setting unit 26 sets the current value to be supplied to the LED light based on the determination result of the determination unit 25. If the determination unit 25 determines that it is not necessary to change the brightness of the illumination 12, the brightness setting unit 26 does not change the brightness control value of the illumination 12 from the current brightness control value. On the other hand, if the determination unit 25 determines that it is necessary to change the brightness of the illumination 12, the brightness setting unit 26 changes the brightness control value of the illumination 12 from the current brightness control value. The brightness setting unit 26 sets the brightness control value of the illumination 12 so that the brightness of the subject in the captured image P becomes a target value.

[0047] Specifically, when the brightness of the subject being photographed is below the lower limit of the target value, the brightness setting unit 26 increases the brightness control value of the lighting 12 from the current brightness control value in order to increase the brightness of the lighting 12. In this embodiment, the brightness setting unit 26 sets the current value supplied to the LED light to a value greater than the current current value. On the other hand, when the brightness of the subject being photographed is above the upper limit of the target value, the brightness setting unit 26 decreases the brightness control value of the lighting 12 from the current brightness control value in order to decrease the brightness of the lighting 12. In this embodiment, the brightness setting unit 26 sets the current value supplied to the LED light to a value smaller than the current current value.

[0048] The personal computer 14 transmits the brightness control value of the illumination 12 set by the brightness setting unit 26 to the trigger unit 13. The trigger unit 13 controls the illumination 12 in accordance with the brightness control value of the illumination 12 received from the personal computer 14. As a result, if the brightness of the subject in the photographed image P is below the lower limit of the target value, the brightness of the illumination 12 is controlled to be brighter. If the brightness of the subject in the photographed image P is above the upper limit of the target value, the brightness of the illumination 12 is controlled to be darker. As a result, the brightness of the subject in the photographed image P becomes the target value.

[0049] The determination unit 25, the brightness setting unit 26, and the trigger unit 13 constitute a brightness control unit. The brightness control unit controls the brightness of the illumination 12 based on the target value set by the brightness setting unit 23 and the brightness of the subject detected by the brightness detection unit 24 so that the brightness of the subject in the captured image P becomes the target value.

[0050] <Method of Adjusting Illumination Brightness> A method of adjusting the brightness of the illumination 12 performed by the photographing device 10 will be described. As shown in Fig. 6, in step S11, the area setting unit 21 sets an area including the warp thread T in the image P photographed by the camera 11 as a target area A. In step S12, the color detection unit 22 detects the color of the warp thread T from the image P photographed by the camera 11. In step S13, the brightness setting unit 23 sets an appropriate brightness value corresponding to the color of the warp thread T as a target value. In step S14, the brightness detection unit 24 detects the brightness of the warp thread T from the photographed image P. In step S15, the determination unit 25 of the brightness control unit determines whether the brightness of the warp thread T detected in step S14 is the target value set in step S13.

[0051] If the brightness of the warp threads T is not the target value (NO in step S15), the process proceeds to step S16. In step S16, the brightness control unit changes the brightness of the lighting 12. Specifically, the brightness setting unit 26 changes the brightness control value of the lighting 12. The trigger unit 13 controls the lighting 12 in accordance with the brightness control value of the lighting 12 changed by the brightness setting unit 26. On the other hand, if the brightness of the warp threads T is the target value (YES in step S15), the process proceeds to step S17. The brightness of the lighting 12 is not changed.

[0052] If the camera 11 is continuing to capture images, i.e., if the personal computer 14 is receiving a new captured image P from the camera 11 (YES in step S17), the process returns to step S14. That is, while the camera 11 is continuing to capture images, the brightness detection unit 24 repeatedly detects the brightness of the warp threads T. The brightness detection unit 24 detects the brightness of the warp threads T at predetermined detection intervals. Also, while the camera 11 is continuing to capture images, the brightness control unit repeatedly controls the brightness of the lighting 12. On the other hand, if the camera 11 is not continuing to capture images, i.e., if the personal computer 14 is not receiving a new captured image P from the camera 11 (NO in step S17), the flow ends.

[0053] [Operation of this embodiment] The operation of this embodiment will be described. For example, when the brightness of the illumination 12 is constant, it is easy to recognize the warp threads T in the photographed image P when the warp threads T are light-colored, but it is difficult to recognize the warp threads T in the photographed image P when the warp threads T are dark-colored. On the other hand, if the brightness of the illumination 12 is increased, it becomes possible to recognize the warp threads T in the photographed image P when the warp threads T are dark-colored, but the warp threads T may be blown out in the photographed image P when the warp threads T are light-colored.

[0054] In contrast, in this embodiment, the brightness setting unit 23 sets an appropriate brightness value corresponding to the color of the warp thread T as a target value. The brightness control unit controls the brightness of the illumination 12 based on the target value set by the brightness setting unit 23 and the brightness of the warp thread T detected by the brightness detection unit 24 so that the brightness of the warp thread T in the captured image P becomes the target value. In this way, the brightness of the illumination 12 is controlled based on the color of the warp thread T. Therefore, the photographing device 10 can take photographs taking into consideration that the ease of recognizing the warp thread T in the captured image P varies depending on the color of the warp thread T. This makes it easier for an operator or an inspection device to recognize the warp thread T in the captured image P.

[0055] Furthermore, in this embodiment, the brightness detection unit 24 detects the brightness of the warp threads T from the captured image P. The brightness control unit controls the brightness of the lighting 12 so that the brightness of the warp threads T in the captured image P becomes a target value. In this way, the brightness of the lighting 12 is controlled based on the brightness of the warp threads T. Therefore, compared to when the brightness of the lighting 12 is controlled based on the brightness of the entire captured image P, it is easier to make the brightness of the warp threads T in the captured image P suitable for an operator or inspection device to recognize the warp threads T in the captured image P. This also makes it easier for an operator or inspection device to recognize the warp threads T in the captured image P.

[0056] [Effects of this embodiment] The effects of this embodiment will be described. (1) The brightness of the illumination 12 is controlled based on the color of the warp threads T. Therefore, the photographing device 10 can photograph the warp threads T taking into consideration that the ease of recognizing the warp threads T in the photographed image P varies depending on the color of the warp threads T. This makes it easier for the operator or the inspection device to recognize the warp threads T in the photographed image P. Furthermore, the brightness of the illumination 12 is controlled based on the luminance of the warp threads T. Therefore, compared to when the brightness of the illumination 12 is controlled based on the luminance of the entire photographed image P, it is easier to adjust the luminance of the warp threads T in the photographed image P to a luminance suitable for the operator or the inspection device to recognize the warp threads T in the photographed image P. This also makes it easier for the operator or the inspection device to recognize the warp threads T in the photographed image P. As a result, the operator or the inspection device is less likely to erroneously recognize the warp threads T in the photographed image P.

[0057] (2) When the shooting period is long, the illuminance may gradually decrease due to dust or the like adhering to the lighting 12. In this embodiment, while the camera 11 continues shooting, the brightness detection unit 24 repeatedly detects the brightness of the warp threads T, and the brightness control unit repeatedly controls the brightness of the lighting 12. Therefore, the warp threads T in the captured image P are easy to recognize even towards the end of the shooting period.

[0058] (3) The photographing device 10 is equipped with a color detection unit 22 that detects the color of the warp thread T from the photographed image P. The brightness setting unit 23 stores the relationship between the color of the warp thread T and the appropriate brightness value. The brightness setting unit 23 sets the appropriate brightness value corresponding to the color of the warp thread T detected by the color detection unit 22 as a target value. This configuration allows the photographing device 10 to automatically set the target value. This eliminates the need for the operator to input the color of the warp thread T or the appropriate brightness value corresponding to the color of the warp thread T into the control unit 17.

[0059] (4) In this embodiment, the image to be captured is the portion of the warp thread T that forms the shed Ta where the weft thread is inserted. This makes it easier for the operator or the inspection device to recognize the portion of the warp thread T that forms the shed Ta in the captured image P. This makes it easier for the operator or the inspection device to inspect the shed state of the warp thread T.

[0060] (5) When the brightness of the warp threads T detected by the brightness detection unit 24 exceeds the upper limit of the target value set by the brightness setting unit 23, the brightness control unit reduces the current value supplied to the LED light serving as the lighting 12, thereby dimming the brightness of the lighting 12. This not only makes it easier for the worker or the inspection device to recognize the warp threads T in the captured image P, but also reduces the power required for the imaging device 10 to capture images and suppresses heat generation by the lighting 12.

[0061] [Modifications] The above embodiment can be modified as follows: The above embodiment and the following modifications can be combined with each other within the scope of technical compatibility.

[0062] In the above embodiment, the object to be photographed by the photographing device 10 is not limited to the warp thread T. The object to be photographed by the photographing device 10 may be a weft thread or a woven fabric. The camera 11 and the lighting 12 may be provided at a second end, which is the end opposite to the end where the weft insertion nozzle is located in the width direction of the machine frame 101. In this case, the camera 11 photographs the object to be photographed from the downstream side toward the upstream side in the weft insertion direction. Furthermore, the lighting 12 illuminates the object to be photographed from the downstream side toward the upstream side in the weft insertion direction.

[0063] The lighting 12 does not have to be an LED light as long as it can illuminate the subject and the brightness is adjustable. In the above embodiment, the worker selects the area in the captured image P that includes the subject, but this is not limited to this. For example, the area setting unit 21 may select the area in the captured image P that includes the subject. Specifically, the area setting unit 21 may have a trained model that has been trained to output the area in the captured image P that includes the subject when the captured image P is input. The area setting unit 21 sets the area output by the trained model as the target area A. In this case, the worker does not have to select the area in the captured image P that includes the subject.

[0064] The region setting unit 21 may set multiple target regions A. In the above embodiment, the color detection unit 22 detects the color of the target by detecting the color of the target region A, but this is not limited to this. For example, the color detection unit 22 may have a trained model that is trained to extract the target from the captured image P and detect the color of the extracted target. The color detection unit 22 uses the trained model to directly detect the color of the target from the captured image P. In this case, the region setting unit 21 is not necessary.

[0065] In the above embodiment, the brightness detection unit 24 detects the brightness of the subject by detecting the brightness of the target area A, but this is not limited to this. For example, the brightness detection unit 24 may have a trained model that is trained to extract the subject from the captured image P and detect the brightness of the extracted subject. The brightness detection unit 24 directly detects the brightness of the subject from the captured image P by using the trained model. In this case, the area setting unit 21 is not necessary.

[0066] In the above embodiment, the color detection unit 22 detects the color of the subject from the target area A, but this is not limiting. For example, the operator may input the color of the subject to the control unit 17 using the input unit 15. The luminance setting unit 23 sets the appropriate luminance value corresponding to the color of the subject input by the operator as a target value using the stored relationship between the color of the subject and the appropriate luminance value. In this case, the control unit 17 does not need to include the color detection unit 22. Also, step S12 is unnecessary.

[0067] In the above embodiment, the luminance setting unit 23 sets the appropriate luminance value corresponding to the color of the object detected by the color detection unit 22 as the target value using the stored relationship between the color of the object and the appropriate luminance value. However, this is not limited to this. For example, the operator may input the appropriate luminance value corresponding to the color of the object to the control unit 17 using the input unit 15. The luminance setting unit 23 sets the appropriate luminance value input by the operator as the target value. As a result, the appropriate luminance value corresponding to the color of the object is set as the target value. In this case, the control unit 17 does not need to include the color detection unit 22. Furthermore, step S12 is unnecessary. Furthermore, the luminance setting unit 23 does not need to store the relationship between the color of the object and the appropriate luminance value.

[0068] In the above embodiment, the optimum and target values ​​of the brightness corresponding to the color of the subject to be photographed have a range, but the optimum and target values ​​of the brightness corresponding to the color of the subject to be photographed may be a single value. The trigger unit 13 and the control unit 17 may be a single control device.

[0069] The timing at which the brightness detection unit 24 detects the brightness of the warp thread T for the first time may be changed as appropriate, as long as it is after step S11 in which the region setting unit 21 sets the target region A. For example, the brightness detection unit 24 may detect the brightness of the warp thread T for the first time simultaneously with step S12 in which the color detection unit 22 detects the color of the warp thread T or before step S12. The brightness detection unit 24 may detect the brightness of the warp thread T for the first time simultaneously with step S13 in which the brightness setting unit 23 sets the target value or before step S13.

[0070] The brightness detection unit 24 does not need to repeatedly detect the brightness of the warp threads T. The brightness control unit does not need to repeatedly control the brightness of the lighting 12. In other words, the brightness detection unit 24 may detect the brightness of the warp threads T only once, and the brightness control unit may control the brightness of the lighting 12 only once. In this case, step S17 is unnecessary.

[0071] [Notes] The technical ideas that can be understood from the above-described embodiments and modified examples are described below. [1] A photographing device for a yarn or woven fabric, in which the photographing object is a yarn or a woven fabric, comprising: a camera that photographs the photographing object, a light that illuminates the photographing object, a brightness setting unit that sets an appropriate value of brightness corresponding to the color of the photographing object as a target value, a brightness detection unit that detects the brightness of the photographing object from an image photographed by the camera, and a brightness control unit that controls the brightness of the light so that the brightness of the photographing object in the photographed image becomes the target value, based on the target value set by the brightness setting unit and the brightness of the photographing object detected by the brightness detection unit.

[0072] [2] A yarn or woven fabric photographing device as described in [1], wherein while the camera continues photographing, the brightness detection unit repeatedly detects the brightness of the subject being photographed, and the brightness control unit repeatedly controls the brightness of the lighting.

[0073] [3] A yarn or woven fabric photographing device as described in [1] or [2], which is provided with a color detection unit that detects the color of the object to be photographed from the photographed image, and the brightness setting unit stores the relationship between the color of the object to be photographed and the appropriate value, and sets the appropriate value corresponding to the color of the object to be photographed detected by the color detection unit as the target value.

[0074] [4] A yarn or woven fabric photographing device as described in [3], which is provided with an area setting unit that sets an area of ​​the photographed image that includes the photographed object as a target area, wherein the color detection unit detects the color of the target area to detect the color of the photographed object, and the brightness detection unit detects the brightness of the photographed object by detecting the brightness of the target area.

[0075] [5] The device for photographing yarns or woven fabrics according to any one of [1] to [4], wherein the object to be photographed is a part of the warp yarns that forms an opening into which the weft yarn is inserted.

[0076] REFERENCE SIGNS LIST 10 Photographing device 11 Camera 12 Lighting 21 Area setting section 22 Color detection section 23 Brightness setting section 24 Brightness detection section A Target area P Photographed image T Warp thread Ta Shedding

Claims

1. A thread or woven fabric photography device in which the subject is a thread or woven fabric, comprising: a camera for photographing the subject; lighting for illuminating the subject; a brightness setting unit for setting an appropriate brightness value corresponding to the color of the subject as a target value; a brightness detection unit for detecting the brightness of the subject from an image captured by the camera; and a brightness control unit for controlling the brightness of the lighting so that the brightness of the subject in the captured image becomes the target value, based on the target value set by the brightness setting unit and the brightness of the subject detected by the brightness detection unit.

2. A yarn or woven fabric photographing device as described in claim 1, wherein while the camera continues photographing, the brightness detection unit repeatedly detects the brightness of the subject to be photographed, and the brightness control unit repeatedly controls the brightness of the lighting.

3. A yarn or woven fabric photographing device as described in claim 1, further comprising a color detection unit which detects the color of the subject from the photographed image, wherein the brightness setting unit stores the relationship between the color of the subject and the appropriate value, and sets the appropriate value corresponding to the color of the subject detected by the color detection unit as the target value.

4. A yarn or woven fabric photographing device as described in claim 3, further comprising an area setting unit which sets an area of ​​the photographed image which includes the subject to be photographed as a target area, wherein the color detection unit detects the color of the subject to be photographed by detecting the color of the target area, and the brightness detection unit detects the brightness of the subject to be photographed by detecting the brightness of the target area.

5. The device for photographing yarns or woven fabrics as described in claim 1, wherein the subject to be photographed is a portion of the warp yarns that forms an opening through which the weft yarn is inserted.

Citation Information

Patent Citations

  • Method for inspection of defect on face of sheetlike product and inspection plate

    JP2000329701A

  • Fabric inspecting system

    JP2003138468A

  • Exposure control apparatus and imaging apparatus

    JP2007201979A

  • Surface inspection apparatus

    JP2008046103A

  • Control power supply for illumination and illumination control method

    JP2016115489A