Inspection device and program
The inspection device addresses incomplete binding in hair transplanting by imaging and processing the hair material on a flocked net to detect defects through binarization and background expansion, enhancing the reliability of hair attachment verification.
Patent Information
- Application Number
- JP2023052471
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-28
- Publication Date
- 2024-10-10
AI Technical Summary
Existing automatic hair transplanting devices face issues with incomplete binding of hair materials to flocked nets, leading to regions where the hair material is not tied, necessitating a reliable inspection method to detect such defects.
An inspection device that images the bound hair material on a flocked net, binarizes the image to distinguish knots from the background, and expands the background area to highlight any incomplete bindings, allowing easy detection of defects.
The inspection device effectively identifies incomplete bindings by highlighting these regions in the image, ensuring high accuracy in determining the quality of hair material attachment.
Smart Images

Figure 2024141039000001_ABST
Abstract
Description
[Technical field]
[0001] The present invention relates to an inspection device and a program for inspecting an object having a hair material bound to a hair implantation net. [Background technology]
[0002] Patent Document 1 proposes an automatic hair implantation device that ties a hair material to a hair implantation net and implants it. This automatic hair implantation device has a hair implantation hook that ties the hair material to the weft of the mesh of the hair implantation net and implants it, and the hair material is held at the tip of the hair implantation hook and moves in and out of the mesh of the hair implantation net, whereby the hair material is tied to the mesh of the hair implantation net. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent No. 6533350 Summary of the Invention [Problem to be solved by the invention]
[0004] In the above-mentioned automatic hair implantation device, there is a possibility that the hair material may not be properly attached to the hair implantation net, resulting in a region (bolting spot) where the hair material is not partially attached. Therefore, after the hair material is attached to the hair implantation net by the automatic hair implantation device, it is necessary to inspect the hair material.
[0005] The present invention has been made to solve the above-mentioned problems, and aims to provide an inspection device and program that can easily determine whether or not there is a problem with the tying of a hair material in an object in which a hair material is tied to a hair transplant net. [Means for solving the problem]
[0006] In order to achieve the above-mentioned object, the inspection device disclosed below is an inspection device for inspecting an object in which hair material is tied to the weft of a mesh-like hair implant net, and is equipped with an image processing unit that processes an image of the object, and the image processing unit performs a first process of binarizing the image so that the knots of the hair material and the background each have a first value and the hair implant net has a second value, and expands the area of the second values in a direction perpendicular to the weft. Effect of the Invention
[0007] According to the above inspection device, in the obtained image, the knots of the hair material remain the first value, and the other parts can be filled with the second value. Therefore, the presence or absence of a defective knot of the hair material on the object can be easily grasped by the distribution of the first value areas in the image. [Brief description of the drawings]
[0008] [Figure 1] FIG. 1 is a side view of the automatic hair implantation device 120. [Diagram 2] FIG. 2 is a front view of the automatic hair implantation device 120. [Diagram 3] FIG. 3 is a side view of the automatic hair implantation device 120. [Figure 4] FIG. 4 is a side view of the automatic hair implantation device 120. [Diagram 5] FIG. 5 is a block diagram showing an example of the configuration of the inspection device 1. As shown in FIG. [Figure 6] FIG. 6 is a diagram showing an example of an image obtained by capturing an image of an object. [Figure 7] FIG. 7 is a diagram for explaining an image processing method. [Figure 8] FIG. 8 is a diagram for explaining an image processing method. [Figure 9] FIG. 9 is a diagram for explaining an image processing method. [Figure 10] FIG. 10 is a cross-sectional view showing an example of the configuration of an apparatus for capturing the image P1 shown in FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0009] The present invention is not limited to the following embodiments, and can be modified as appropriate, for example, by arbitrarily combining the configurations described as the embodiments and modifications. In addition, the drawings referred to below are also examples, and the configurations may be simplified or illustrated in the drawings.
[0010] <<An example of the basic configuration and operation of an automatic hair transplant device>> First, an example of the basic configuration and operation of an automatic hair implantation device according to an embodiment of the present invention will be described. However, the configuration and operation of a known automatic hair implantation device such as that described in Japanese Patent No. 6533350 may also be adopted.
[0011] Fig. 1 is a side view of the automatic hair implantation device, and Fig. 2 is a front view of the automatic hair implantation device. As shown in Fig. 1 and Fig. 2, the automatic hair implantation device 120 includes an eccentric 10, a hair implantation hook 20, a pull-out hook 30, a stocker 40, a thread positioning bar 50, a thread drop bar 60, a thread retraction bar 70, a reversing roller 80, a magnet (not shown), a drive mechanism, a control device, etc. In the side views and front views shown in Fig. 1 to Fig. 4, the left-right direction in the figure is the horizontal direction, and the up-down direction is the vertical direction.
[0012] The hair material 100a includes artificial hair (fiber, synthetic fiber), human hair (hair taken from humans), animal hair (hair taken from animals other than humans), or a mixture of these, and includes all hair or hair-like materials that can be implanted by the automatic hair implantation device 120. The hair implantation net 200 is, for example, in the form of a mesh made up of a plurality of warp threads 201 and a plurality of weft threads 202.
[0013] As shown in Figures 1 and 2, a hair material bundle 100b consisting of a number of hair materials 100a that have been cut in advance is placed in the stocker 40. Hereinafter, the direction in the horizontal plane toward the pull-out hook 30 as viewed from the eccentric 10 will be referred to as the rear, and the opposite direction as the front, and these will be collectively referred to as the front-to-rear direction. Also, the direction perpendicular to the front-to-rear direction in the horizontal plane will be referred to as the depth direction, and the direction to the left when looking from the front to the rear will be referred to as the back side (the back side of the paper in Figure 1), and the direction to the right side will be referred to as the front side (the front side of the paper in Figure 1).
[0014] The hair implantation net 200 is set so as to cover the net hanging portion 11 of the eccentric 10 from above, and is also in contact with the reversing roller 80 to regulate its position. The stocker 40 has a bottom 41 and a pair of opposing side plates 43, and the hair material bundle 100b is placed on the bottom 41. Only one stocker 40 may be provided as shown in Fig. 2, or multiple stockers 40 may be provided. The hair materials 100a placed in the stocker 40 may be a mixture of hair materials of different types, such as colors, thicknesses, and hardness (elasticity).
[0015] The hair implantation hook 20 has a hook 21 at its tip and a latch 22 for opening and closing the needle mouth of the hook 21. The hair implantation hook 20 is driven by a drive mechanism controlled by a control device, and connects the hair material 100a to the hair implantation net 200 for implantation. The pull-out hook 30 is a member that captures the hair material 100a from the stocker 40, and is provided at its tip with a hook 31 capable of capturing one (or multiple) hair materials 100a.
[0016] The thread positioning bar 50 is a member that guides the hair material 100a pulled out from the stocker 40 by the pulling hook 30 to a predetermined position. The thread drop bar 60 is vibrated up and down by a drive mechanism controlled by the control device, and knocks down the hair material 100a pulled in by the thread retraction bar 70. The thread retraction bar 70 is moved back and forth by a drive mechanism controlled by the control device, and hooks the hair material 100a implanted in the hair implant net 200 and pulls it forward.
[0017] Next, the operation of the automatic hair implantation device will be described. The automatic hair implantation device operates as follows, starting from the state shown in Fig. 1. (1) The thread retraction bar 70 advances backward to a position beyond the outlet 42 of the stocker 40. (2) The pull-out hook 30 rises until the tip including the hook 31 enters the inside of the stocker 40 from the outlet 42, catches the hair material 100a, and descends. (3) The hair implantation hook 20 advances backward, and the hook 21 passes under the weft thread 202-1. (4) The shaft 13 rotates 90 degrees so that the relief portion 12 of the eccentric 10 faces upward. (5) As shown in Fig. 3, the hair implantation hook 20 advances backward. (6) The hair implantation hook 20 rotates from a state in which the needle mouth of the hook 21 faces upward to a state in which it faces the hair material 100a (facing the back side), and captures the hair material 100a with the needle mouth. (7) The hair implantation hook 20 rotates so that the needle mouth of the hook 21 faces upward, and then moves forward and passes under the weft thread 202-1. At this time, the latch 22 comes into contact with the weft thread 202-1 and closes the needle mouth, but then the latch 22 is attracted by a magnet (not shown) and the needle mouth is opened. (8) The hair implantation hook 20 moves backward and rises, and rotates to twist the hair material 100a and form a loop. (9) As shown in FIG. 4, the hair implantation hook 20 moves backward. (10) The hair implantation hook 20 rotates from a state in which the needle mouth of the hook 21 faces upward to a state in which it faces the hair material 100a (facing the back side), and captures the hair material 100a with the needle mouth. (11) After rotating so that the needle mouth of the hook 21 faces upward, the hair implantation hook 20 moves forward and passes through the loop of the hair material 100a. At this time, the latch 22 comes into contact with the loop of the hair material 100a and the needle mouth is closed. (12) The thread retraction bar 70 moves forward and retracts the hair material 100a forward, returning to the initial state. The eccentric 10 and the hair implantation hook 20 return to the initial state. At this time, the latch 22 is attracted by a magnet (not shown) and the needle mouth is opened. The thread drop bar 60 moves downward to arrange the hair material 100a downward, and then moves upward to return to the initial state.
[0018] In the above operation (2), after the tip of the pull-out hook 30 is inserted into the outlet 42, it may be moved slightly toward the front (to the side where the needle port 32 of the hook 31 is opened) to make it easier for the hook 31 to catch the hair material 100a. In the above operations (6) and (10), in order to make it easier to introduce the hair material 100a into the needle port of the hook 21, the pull-out hook 30 may be moved toward the front, or both the pull-out hook 30 and the hair implantation hook 20 may be moved closer to each other. In addition, in Figs. 3 and 4, the hair implantation hook 20 is illustrated as capturing the front of the hair material 100a folded in two in the above operation (6) and capturing the rear in the above operation (10), but it may capture either the front or the rear in each operation. In the above operation (7), the hair implantation hook 20 does not have to be raised. In this operation, the hair implant hook 20 may rotate one or more times, or may rotate half a time. In the above operation (11), when the hair implant hook 20 passes through the loop of the hair material 100a, the pull-out hook 30 may move up and down in small movements. This allows the hook 31 to come off the hair material 100a, and prevents peeling, which is shrinkage of the hair material 100a due to friction.
[0019] <<Inspection equipment>> Next, an example of the configuration of an inspection device according to an embodiment of the present invention will be described with reference to the drawings. Fig. 1 is a block diagram showing an example of the configuration of an inspection device 1 according to an embodiment of the present invention.
[0020] As shown in FIG. 1, the inspection device 1 includes a storage unit 111, an image processing unit 112, and an output unit 113. The storage unit 111 is composed of a non-volatile storage device such as a hard disk drive (HDD) or a solid state drive (SSD), or a volatile storage device such as a random access memory (RAM). The image processing unit 112 is composed of an arithmetic processing device such as a central processing unit (CPU). The output unit 113 is composed of a display device such as a liquid crystal display, or a communication device such as a router or hub for connecting to a network such as the Internet or an intranet. For example, the storage unit 111 and the image processing unit 112 are composed as part of one personal computer. The storage unit 111 may be composed of a plurality of storage devices, or may be composed of a combination of a non-volatile storage device and a volatile storage device, for example.
[0021] The storage unit 111 stores image data (hereinafter simply referred to as "image") obtained by capturing an image of an object in which a hair material is bound to a hair implantation net. The storage unit 111 also stores information required for the image processing unit 112 to process the image (for example, a program for processing the image, etc.).
[0022] The image processing unit 112 processes the image obtained by capturing an image of an object having a hair material tied to a hair implantation net stored in the memory unit 111, and creates an image that allows the user to easily determine whether or not the hair material is tied improperly on the object. Note that the image processing unit 112 may not only simply process the image, but also determine whether or not the hair material is tied improperly based on the processed image.
[0023] The output unit 113 displays the image processed by the image processing unit 112, displays the determination result of the image processing unit 112, and transmits these to the outside.
[0024] Next, an image processing method by the image processing unit 112 will be described with reference to Fig. 6 to Fig. 9. Fig. 6 is a diagram showing an example of an image obtained by capturing an image of an object. Fig. 7 to Fig. 9 are diagrams for explaining the image processing method.
[0025] As shown in Fig. 6, image P1 includes a hair implant net 200 and knots 100c of hair material tied to weft threads 202 extending in the vertical direction of the hair implant net 200 in the figure. In the example shown in Fig. 6, the hair material has not been tied in an area R, and no knots 100c have been formed in this area. Note that Fig. 6 illustrates a mesh-like hair implant net 200 with hexagonal meshes, but the shape of the meshes may be any shape, such as a square, as long as there are weft threads 202 to which the hair material can be tied.
[0026] Next, the image processing unit 112 binarizes the image P1 shown in Fig. 6 to obtain the image P2 shown in Fig. 7. At this time, the image processing unit 112 binarizes the image P1 so that the knot 100c of the hair material and the background are each a first value, and the hair implant net 200 is a second value. In the image P2 shown in Fig. 7, the first value is displayed in black, and the second value is displayed in white.
[0027] Next, the image processing unit 112 performs a process of expanding the second value area in the image P2 shown in FIG. 7 in both directions perpendicular to the weft thread 202 (left and right directions in the figure), to obtain the image P3 shown in FIG. 8. As a result, the second value area that was the hair implant net 200 in the image P1 is expanded so as to fill the stitches of the hair implant net 200. However, the part where the knot 100c of the hair material was is not filled with the second value but remains as the first value, so that the part where the knot 100c of the hair material was can be displayed as the first value area in the image P3 shown in FIG. 8. In this process, if the image processing unit 112 expands the second value area by a size that is more than half the interval between adjacent weft threads 202 and less than the interval, the whole area except the knot 100c of the hair material can be completely filled with the second value.
[0028] Next, the image processing unit 112 performs a process of expanding the first value region in the image P3 shown in FIG. 8 in both directions parallel to the weft 202 (left and right directions in the figure) and in both directions perpendicular to the weft 202 (up and down directions in the figure), thereby obtaining an image P4 shown in FIG. 9. This makes it possible to display the region R in the image P1 where the hair material has failed to be knotted as the second value region. In this process, the first value region is expanded along the direction parallel to the weft 202 of the knot 100c of the hair material set when creating the object by a size equal to or more than half the interval in the direction parallel to the weft 202 of the knot 100c of the hair material set when creating the object, and the first value region is expanded along the direction perpendicular to the weft 202 of the knot 100c of the hair material set when creating the object by a size equal to or more than half the interval in the direction perpendicular to the weft 202 of the knot 100c of the hair material set when creating the object, so that the region other than the region R where the hair material has failed to be knotted can be completely filled with the first value.
[0029] As described above, in the inspection device 1, when the image processing unit 112 performs the process (first process) of binarizing the image P1 and expanding the area of the second value, the knot of the hair material remains the first value in the obtained image P3, and the other parts are filled with the second value. Therefore, the presence or absence of a defective knotting of the hair material on the object can be easily grasped by the distribution of the area of the first value in the image.
[0030] It is not necessary for the image processing unit 112 to perform only the first process and then perform the process (second process) of expanding the area of the first value. For example, the presence or absence of a defective hair material tying in the object can be easily grasped by simply displaying the image P3 obtained by the first process to the user by the output unit 113. However, if the image processing unit 112 performs the second process in addition to the first process, the obtained image P4 has the parts other than the parts where the hair material tying has failed filled in with the first value, so that the parts where the hair material tying has failed can be intuitively grasped by displaying the image P4, for example.
[0031] Furthermore, in addition to the first process and the second process, the image processing unit 112 may perform a process (third process) of expanding the second value region of the image P4 in both directions parallel to the weft thread 202 and in both directions perpendicular to the weft thread 202. By performing the third process, the part where the hair material has failed to be tied can be enlarged and emphasized, so that the part where the hair material has failed to be tied can be more easily grasped.
[0032] Furthermore, the image processing unit 112 may determine whether or not there is a hair material tying defect based on these images, in addition to displaying the images P3 and P4 on the output unit 113. For example, if the number of clusters (lumps) of the first value in the image P3 is less than a predetermined number, or if there are clusters of the second value larger than a predetermined size in the image P4, or if there are more of such clusters than a predetermined number, the image processing unit 112 may determine that there is a hair material tying defect and cause the output unit 113 to display that fact, or output it to the outside.
[0033] <<Deformations, etc.>> The above-described embodiment is merely an example for carrying out the present invention. Therefore, the present invention is not limited to the above-described embodiment, and the above-described embodiment can be appropriately modified and carried out without departing from the spirit of the present invention.
[0034] For example, in the above-mentioned inspection device 1, it is preferable that the image P1 processed by the image processing unit 112 does not include anything other than the hair implant net 200 and the knot 100c of the hair material as shown in FIG. 6. In particular, when the hair material 100a is attached along the hair implant net 200 and there is a part overlapping with the hair implant net 200 other than the knot 100c, the overlapping part may be mistaken for the knot 100c. Therefore, in order to capture the image P1 that does not include anything other than the hair implant net 200 and the knot 100c of the hair material, for example, a device as shown in FIG. 10 may be used. FIG. 10 is a cross-sectional view showing an example of the configuration of a device for capturing the image P1 shown in FIG. 6. The device shown in FIG. 10 includes a camera 311, a light 312, and edge holders 341a to 341d. The periphery of the hair implant net 200 is held by the edge holding parts 341a-341d, and the hair material 100a is left hanging vertically downward by gravity, and is imaged by the camera 311 while being irradiated with light from an illumination 312 from vertically above. By imaging with this device, an image P1 that contains nothing but the hair implant net 200 and the knot 100c of the hair material can be obtained, as shown in Figure 6.
[0035] The above-mentioned inspection device can be explained as follows.
[0036] The inspection device is an inspection device for inspecting an object in which hair material is tied to the weft of a mesh-like hair implant net, and includes an image processing unit for processing an image of the object, and the image processing unit performs a first process of binarizing the image so that the knots of the hair material and the background each have a first value and the hair implant net has a second value, and expands the area of the second value in both directions perpendicular to the weft (first configuration). With this configuration, in the obtained image, the knots of the hair material remain at the first value, and the other parts are filled with the second value. Therefore, the presence or absence of poor knotting of the hair material in the object can be easily grasped by the distribution of the areas of the first value in the image.
[0037] In the first configuration, the image processing unit may expand the second value region by a size equal to or larger than half the interval between adjacent weft threads and equal to or smaller than the interval when performing the first process (second configuration). With this configuration, the entire image obtained, except for the knot of the hair material, can be completely filled with the second value, making it easier to grasp whether or not there is a knotting defect in the hair material on the target object.
[0038] In the first or second configuration, the image processing unit may perform a second process after the first process to expand the area of the first value in both directions parallel to the weft and perpendicular to the weft (third configuration). With this configuration, the area of the obtained image other than the part where the hair material has failed to be tied can be filled with the first value, so that the part where the hair material has failed to be tied can be intuitively grasped.
[0039] In the third configuration, the image processing unit may, when performing the second processing, expand the first value region along a direction parallel to the weft of the knot of the hair material set when creating the object by a size equal to or more than half the distance in the direction parallel to the weft of the knot of the hair material set when creating the object, and expand the first value region along a direction perpendicular to the weft of the knot of the hair material set when creating the object by a size equal to or more than half the distance in the direction perpendicular to the weft of the knot of the hair material set when creating the object (fourth configuration). According to this configuration, the parts of the obtained image other than the parts where the knotting of the hair material has failed can be completely filled with the first value, so that the parts where the knotting of the hair material has failed can be more intuitively grasped.
[0040] In the third or fourth configuration, the image processing unit may perform a third process after the second process to expand the region of the second value in both directions parallel to the weft and in both directions perpendicular to the weft (fifth configuration). According to this configuration, the part where the hair material has failed to be tied can be enlarged and emphasized, so that the part where the hair material has failed to be tied can be more easily grasped.
[0041] In addition, the program used in the above-mentioned inspection device is a program that causes a computer to process an image of an object in which hair material is tied to the weft of a mesh-like hair implant net, and performs a first process of binarizing the image so that the knots of the hair material and the background each have a first value and the hair implant net has a second value, and expanding the area of the second values in a direction perpendicular to the weft (sixth configuration). [Explanation of symbols]
[0042] 1...inspection device, 111...storage unit, 112...image processing unit, 113...output unit, 200...hair implant net, 202...weft, 100a...hair material, 100c...knot, R...area
Claims
1. An inspection device for inspecting an object having hair material tied to a weft of a mesh-like hair implantation net, comprising: an image processing unit that processes an image of the object; The image processing unit performs a first process of binarizing the image so that the knots of the hair material and the background each have a first value and the hair implantation net has a second value, and expands the area of the second value in both directions perpendicular to the weft thread.
2. The inspection device according to claim 1 , wherein the image processing unit, when performing the first process, expands the region of the second value by an amount equal to or greater than half the interval between adjacent weft yarns and equal to or less than the interval.
3. The inspection device according to claim 1 or 2, wherein the image processing unit performs a second process, after the first process, to expand the region of the first value in both directions parallel to the weft thread and in both directions perpendicular to the weft thread.
4. When performing the second processing, the image processing unit expanding the first value region along a direction parallel to the weft of the knot of the hair material set when creating the object by a size equal to or larger than half the distance in the direction parallel to the weft of the knot of the hair material and equal to or smaller than the distance; 4. The inspection device according to claim 3, wherein the first value region is expanded along the direction perpendicular to the weft of the knot of the hair material by an amount greater than or equal to half the spacing in the direction perpendicular to the weft of the knot of the hair material set when creating the object.
5. The inspection device according to claim 3 , wherein the image processing unit performs a third process, after the second process, to expand the region of the second value in both directions parallel to the weft thread and in both directions perpendicular to the weft thread.
6. A program for causing a computer to process an image of an object in which hair material is tied to a weft of a mesh-like hair implantation net, A program that performs a first process of binarizing the image so that the knots of the hair material and the background each have a first value and the hair implantation net has a second value, and expanding the area of the second value in a direction perpendicular to the weft.
Citation Information
Patent Citations
Hair transplant device
JP6533350B1
