System and method for determining thickness of hairs on person
Patent Information
- Application Number
- PCT/CN2023/082164
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-17
- Publication Date
- 2024-09-26
Smart Images

Figure CN2023082164_26092024_PF_FP
Abstract
Description
A SYSTEM AND METHOD FOR DETERMINING THICKNESS OF HAIRS ON A PERSONTECHNICAL FIELD
[0001] The present invention relates to a system and method for determining the thickness of hairs on a person. Preferably the present invention relates to a system and method for determining the thickness of hairs on a person’s scalp.BACKGROUND
[0002] Hair loss can often be quite a major concern when it comes to appearance for both men and women. Many people suffering from hair loss can often suffer from low self-esteem, lack of self-confidence and embarrassment due to hair loss. Hair loss can also adversely affect a person’s social life and relationships in many instances. Often hair loss can reduce the quality of life of many sufferers.
[0003] “Pattern baldness” (e.g., male pattern baldness or female pattern baldness) , refers to hair thinning along certain regions along the head. For example, female pattern baldness can refer to hair thinning along the crown of the scalp in women. Female pattern baldness can be caused by unhealthy hair lifestyle including overtreating hair, using hair products frequently, and having tight hairstyles. Other causes can be poor diet and stress. Male pattern baldness can also be caused due to poor diet, stress, aging. Genetics can also play a part in baldness.
[0004] Hair loss i.e., balding can be stopped or slowed down if discovered at an early stage. In some cases, hair loss can be reversed if it is detected early enough and appropriate treatment is started.
[0005] There are currently not many tools that allow automated monitoring the amount of hair and / or scalp health. Often people suffering from hair loss are required to visit specialist doctors or facilities which can become expensive and time consuming.
[0006] SUMMARY OF THE INVENTION
[0007] The present invention relates to a system and method for determining the thickness of hair on a person. In particular, the present invention relates to a system and method for determining the thickness of hairs on a person’s scalp. The system and method as described herein may further determine the thickness of hairs on another part of a person’s body e.g., arms, legs or back.
[0008] The thickness of hair on a person’s scalp can be indicative of scalp health. Thicker hair may be indicative of healthier scalp and can be indicative of reduced risk of balding.
[0009] In accordance with a first aspect of the present invention, there is provided a system for determining the thickness of hairs on a person’s head, the system comprising:
[0010] an image capture device configured to capture one or more images of a person’s head,
[0011] a computing apparatus in communication with the image capture device, the computing apparatus comprising a processing unit, a memory unit, and a user interface the computing apparatus configured to:
[0012] receive one or more images of a person’s head from the image capture device,
[0013] identify one or more hairs in the one or more images,
[0014] determine the thickness of hairs on a person’s head based on the identified hairs in the one or more images.
[0015] In an embodiment of the first aspect, the computing apparatus is configured to present the thickness of hairs on a person’s head on the user interface.
[0016] In an embodiment of the first aspect, the determined thickness is shown on at least one of the captured images of the person’s head and the at least one captured image with the thickness shown on it is presented on the user interface.
[0017] In an embodiment of the first aspect, the image capture device is configured to capture at least a trichoscopic image.
[0018] In an embodiment of the first aspect, the computing apparatus is configured to:
[0019] assess if the received image is a trichoscopic image based on if the person’s scalp and hair are clearly visible in the image, filter images that are not a trichoscopic images.
[0020] In an embodiment of the first aspect, the computing apparatus is configured to:
[0021] process each received trichoscopic image by applying a follicle detection model to the image,
[0022] identifying each follicle visible within the image based on application of the follicle detection model.
[0023] In an embodiment of the first aspect, the computing apparatus is configured to:
[0024] crop each received trichoscopic image into one or more sub images based on each of the follicles identified by the follicle detection model,
[0025] wherein each sub image includes only a single follicle within it.
[0026] In an embodiment of the first aspect, the computing apparatus is configured to:
[0027] apply a hair segmentation model to each of the one or more sub images,
[0028] identify each hair within each of the one or more sub images based on application of the hair segmentation model.
[0029] In an embodiment of the first aspect, the computing apparatus is configured to label each identified hair within each of the sub images.
[0030] In an embodiment of the first aspect, the computing apparatus is configured to classify each identified hair into different colours and each different coloured hair is labelled within each sub image.
[0031] In an embodiment of the first aspect, the computing apparatus is configured to:
[0032] render the identified hair in a first colour and render the rest of the image in a second colour, wherein the first colour and the second colour are different to each other,
[0033] generate a binary sub image, wherein the binary sub image is binary representation of the sub image, and;
[0034] wherein the binary sub image comprises the identified hair in the first colour and the background in the second colour.
[0035] In an embodiment of the first aspect, the computing apparatus is configured to sum the number of hairs present in each sub image to determine the frequency of hairs per follicle and the computing apparatus further configured to sum the number of hair identified in all sub images to determine a total number of hair on a person’s head.
[0036] In an embodiment of the first aspect, the computing apparatus is configured to:
[0037] identify contours of the hair identified in each binary sub image.
[0038] In an embodiment of the first aspect, the computing apparatus is configured to:
[0039] apply one or more filters to each binary sub image and remove noise wherein the filter comprises a threshold for contours of the identified hairs.
[0040] In an embodiment of the first aspect, the computing apparatus is configured to apply a thinning algorithm to each binary sub image wherein the thinning algorithm transforms the identified contours into curved lines.
[0041] In an embodiment of the first aspect, the computing apparatus is configured to:
[0042] apply a straight line transform function to the curved lines, and
[0043] transform the curved lines into straight lines.
[0044] In an embodiment of the first aspect, the straight line transform function is a Hough Transform algorithm, and the computing apparatus is configured to apply the Hough Transform algorithm to each binary sub image to transform the curved lines into straight lines.
[0045] In an embodiment of the first aspect, the computing apparatus is configured to:
[0046] apply an edge detection algorithm to each binary sub image,
[0047] identify the edges of each hair in the binary sub image based on the edge detection algorithm, wherein each hair is defined by at least two edges.
[0048] In an embodiment of the first aspect, the computing apparatus is configured to apply a canny edge detection algorithm to identify the edges of each hair.
[0049] In an embodiment of the first aspect, the computing apparatus is configured to:
[0050] overlay at least one perpendicular line from each point on an identified hair in the binary sub image,
[0051] remove any part of the perpendicular line that extends beyond the identified edge of the hair, such that the perpendicular line extends between the edges of the hair.
[0052] In an embodiment of the first aspect, the computing apparatus is configured to determine the thickness of the hair based on a length of the perpendicular line that extends between edges of the hair.
[0053] In an embodiment of the first aspect, the computing apparatus is configured to determine a thickness of the hair at every point along the hair based on the length of the perpendicular line at every point along the hair.
[0054] In an embodiment of the first aspect, the computing apparatus is configured to calculate an average thickness based on thicknesses calculated at the various points along the hair.
[0055] In an embodiment of the first aspect, the follicle detection model comprises a DenseNet model or CSPNet model or a combination of both.
[0056] In an embodiment of the first aspect, the follicle detection model comprises at least three parts:
[0057] the model backbone,
[0058] model neck, and
[0059] model head,
[0060] wherein the model backbone comprises the DenseNet model and the CSPNet model,
[0061] the model neck is configured to apply feature pyramids to identify follicles in different positions in the one or more captured images,
[0062] the model head is configured to generate bounding boxes about each follicle identified in the one or more received images.
[0063] In an embodiment of the first aspect, the computing apparatus is configured to determine the difference between a follicle and scalp on a person based on the difference of shape and / or colour of the follicle as compared to the scalp.
[0064] In an embodiment of the first aspect, the hair segmentation model is configured to process each pixel of each sub image and only pixels that include a hair are labelled.
[0065] In an embodiment of the first aspect, the computing apparatus is configured to present on the user interface a trichoscopic image with the hairs and the widths of corresponding hairs on the trichoscopic image.
[0066] In accordance with a second aspect of the present invention, there is provide a method of for determining the thickness of hairs on a person’s head, the method comprising the steps of:
[0067] receiving one or more images of a person’s head
[0068] processing the received one or more images by applying a follicle detection model to the received images to identify one or more follicles within the received images,
[0069] cropping each received image and generating one or more sub images based on the detected follicles, wherein each sub image comprises a single identified follicle,
[0070] processing each sub image by applying a hair segmentation model to identify one or more hairs within each sub image labelling each identified hair within each sub image,
[0071] determining the thickness of the hairs on a person’s head based determining the width of the hairs identified in each sub image.
[0072] In an embodiment of the second aspect, the method further comprises the additional steps of:
[0073] generating a binary sub image, wherein the binary sub image comprises the identified hair in the first colour and the background in the second colour and the binary sub image being a binary representation of the sub image,
[0074] identifying contours of each hair within the binary sub image,
[0075] determining edges of each hair based on the identified contours,
[0076] determining a distance between the edges and wherein the thickness of each hair is determined based on the distance between the edges of the hair.
[0077] In an embodiment of the second aspect, the method further comprises the additional steps of:
[0078] applying a thinning algorithm to each of the contours to transform the contours into curved lines,
[0079] transforming the curved contours into straight lines by applying a straight line transform function to the curved lines, determining the edges by applying an edge detection algorithm to each binary sub image.
[0080] In an embodiment of the second aspect, the method further comprises the additional steps of:
[0081] overlaying at least one perpendicular line from each point on an identified hair in the binary sub image,
[0082] removing any part of the perpendicular line that extends beyond the identified edge of the hair, such that the perpendicular line extends between the edges of the hair,
[0083] determining thickness of the hair based on the length of the perpendicular line extending between the edges.
[0084] In an embodiment of the second aspect, wherein the method determines the thickness of the hair at every point along the hair based on the length of the perpendicular line at every point along the hair.
[0085] In an embodiment of the second aspect, the method calculates an average thickness based on thicknesses calculated at the various points along the hair.
[0086] In an embodiment of the second aspect, the one or more images are trichoscopic images of a person’s head in which hair and scalp are clearly visible.
[0087] The term “image (s) ” defines a static image of a person’s head or scalp captured by an image capture device e.g., a camera. The term also defines and covers a frame of a video stream of a person’s head captured by an image capture device e.g., a camera. A video stream comprises multiple frames, and each frame may be considered an image. The term frame and image may be used interchangeably within this specification
[0088] The term “comprising” (and its grammatical variations) as used herein are used in the inclusive sense of “having” or “including” and not in the sense of “consisting only of” .BRIEF DESCRIPTION OF THE DRAWINGS
[0089] Embodiments of the system and method for determining the thickness of hairs will now be described, by way of example, with reference to the accompanying drawings in which:
[0090] Figure 1 illustrates an example system for determining the thickness of hairs on a person’s head;
[0091] Figure 2 is a high-level block diagram of a computing apparatus of the system of figure 1;
[0092] Figure 3 illustrates a high level block diagram of a method for determining the thickness of hairs on a person’s head;
[0093] Figure 4 illustrates another example method for determining the thickness of hairs on a person’s head;
[0094] Figure 5 illustrates an example trichoscopic image;
[0095] Figure 6 illustrates an example of a sub image with a single hair follicle;
[0096] Figure 7 illustrates an example sub image, as per figure 6, with a labelled hair;
[0097] Figure 8 illustrates a method of determining scalp health based on the thickness of hairs;
[0098] Figure 9 illustrates a method for training a follicle detection model;
[0099] Figure 10 illustrates a illustrates an example of a labelled image used to train the follicle detection model;
[0100] Figure 11 illustrates a method of training the hair segmentation model;
[0101] Figure 12 illustrates an example sub image with the hair 702 identified in the image;
[0102] Figure 13 illustrates an example of a binary sub image generated by the computing apparatus in which the hair is identified in a first colour and the background is identified in a second colour;
[0103] Figure 14 illustrates an example of a filtered binary sub image;
[0104] Figure 15 illustrates a transformed binary sub image after application of the thinning algorithm.
[0105] Figure 16 illustrates an example output of a binary sub image with two edges identified in the sub image;
[0106] Figure 17 illustrates a binary sub image 1300 with multiple perpendicular lines;
[0107] Figure 18 illustrates an example of a binary sub image with multiple clipped perpendicular lines;
[0108] Figure 19 illustrates an example of the trichoscopic image with hair thicknesses labelled on the image and presented on the user interface.
[0109] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0110] The present invention relates to a system and method for determining the thickness of hair on a person. In particular, the present invention relates to a system and method for determining the thickness of hairs on a person’s scalp. The determined thickness may correspond to the average thickness of each hair strand. Alternatively, the system determines the thickness at each point on a strand of hair. In a further alternative, the system may determine an average thickness of all hair based on the average thickness of each hair. The system may further determine median thickness of each hair or a median thickness of all hair. The thickness of hair on a person’s scalp can be indicative of scalp health. Thicker hair may be indicative of healthier scalp and can be indicative of reduced risk of balding. Thickness of hair may also be indicative of healthy hair.
[0111] Referring to Figure 1, an example of the present invention is illustrated. This embodiment is arranged to provide a system 100 for determining the thickness of hairs on a person’s head i.e., thickness of hairs on a person’s scalp. The system 100 comprising: an image capture device 110 configured to capture one or more images of a person’s head, a computing apparatus 200 in communication with the image capture device. The computing apparatus 100 comprising a processing unit, a memory unit, and a user interface the computing apparatus is configured to: receive one or more images of a person’s head from the image capture device, identify one or more hairs in the one or more images, determine the thickness of hairs on a person’s head based on the identified hairs in the one or more images. The computing apparatus is further configured to present the thickness of hairs on a person’s head on the user interface.
[0112] Referring to figure 1, the image capture device 110 may be a suitable camera. The camera may be a high-definition camera. The camera may be a single lens camera or may be a stereo camera. The system 100 may comprise a single device that includes an integrated camera 110 and computing apparatus 200. The image capture device 110 may preferably be a trichoscope i.e., a camera with sufficient zoom and resolution to capture trichoscopic images. Optionally, the trichoscope may be a removable attachment that can be coupled to the image capture device 110 to allow the image capture device 110 (e.g., camera) to capture trichoscopic images.
[0113] A trichoscopic image is an image i.e., a photo in which the scalp and hair can be clearly seen. Trichoscopic images are used to diagnose hair and scalp diseases. The trichoscopic images captured by the image capture device 110 are processed by the computing apparatus 200 to determine the thickness of hairs on a person’s head.
[0114] The system 100 performs trichoscopy and is used to diagnose scalp health. In particular, the system 100 is used to perform trichoscopy and determine the thickness of hairs on a person’s head. The computing apparatus 200 is configured to determine at least the thickness of hairs on a person’s head, i.e. thickness of hairs on a person’s scalp. Optionally, the computing apparatus may determine the thickness of hairs of different colours.
[0115] The computing apparatus is further configured to determine a quantitative parameter, or a qualitative parameter representative of a person’s scalp health based on the thickness of hairs on a person’s head. Optionally the computing apparatus may be configured to present the quantitative or qualitative parameter representative of a person’s scalp health or hair health on the user interface and / or transmit the quantitative or qualitative parameter to a remote device.
[0116] In this example embodiment, the system 100 may comprise a smartphone and tablet. The smartphone or tablet 100 may comprise an integrated computing apparatus 200 and camera 110. As shown in figure 2, the system 100 comprises a smartphone that includes an integrated image capture device 110 (i.e., a camera) and computing apparatus 200. The camera 110 and computing apparatus 200 may be integrated into a single casing 114 and may form a single device.
[0117] Alternatively, the computing apparatus 200 (i.e., computer or computing device or computing system or computer server) may be separate from the camera 110 (i.e., image capture device) . The computer apparatus 200 may be implemented by any computing architecture, including portable computers, tablet computers, stand-alone Personal Computers (PCs) , smart devices, Internet of Things (IOT) devices, edge computing devices, client / server architecture, “dumb” terminal / mainframe architecture, cloud-computing based architecture, or any other appropriate architecture. The computing apparatus 200 is preferably in communication with the image capture device 110 and is configured to receive images from the image capture device 110. The computing apparatus 200 may be appropriately programmed to perform a method of for determining the thickness of hairs on a person’s head.
[0118] In this embodiment, the system and method are arranged to help a clinician assess scalp health and / or diagnose hair or scalp diseases. The system 100 and method are used to determine the thickness of hairs on a person’s head. Optionally the system may be configured to determine the thickness of hairs of different colours that can be used to assess scalp health or hair health. The hair thickness measure may also be useful in determining the presence of hair or scalp diseases.
[0119] Figure 2 illustrates a high-level block diagram of a computing apparatus 200 which is arranged to be implemented as part of a system 100 for determining the thickness of hairs on a person’s head. In the illustrated form of figure 2, the computing apparatus 200 is part of a smartphone and may be integrated into a single casing 114. The smartphone may define the entire system 100. Alternatively, the computing apparatus 200 may be a separate device from the image capture device 110.
[0120] In the illustrated example, the computing apparatus 200 includes suitable components necessary to receive, store and execute appropriate computer instructions. The components may include a processing unit 202, including one or more of a Central Processing Unit (CPU) , a Math Co-Processing Unit (Math Processor) , a Graphic Processing Unit (GPUs) or a Tensor processing unit (TPUs) for tensor or multi-dimensional array calculations or manipulation operations. The computing apparatus 200 may comprise multiple processing units 202 to provide additional processing capacity or faster processing.
[0121] The computing apparatus comprises at least memory unit to store information and store executable instructions that the processing unit 202 can execute. In the illustrated example, the computing apparatus 200 comprises a read-only memory (ROM) 204, random access memory (RAM) 206, and input / output devices such as disk drives 208, input devices 210 such as an Ethernet port, a USB port, etc.
[0122] The computing apparatus may further comprise a user interface 212 to present information to a user and / or receive inputs from the user. In the illustrated example the user interface 212 includes a display 212 such as a liquid crystal display, a light emitting display or any other suitable display. The display 212 may comprise a touchscreen interface to allow a user (i.e., person) to input information.
[0123] The server 200 (i.e., computing apparatus 200) may include instructions that may be included in ROM 204, RAM 206 or disk drives 208 and may be executed by the processing unit 202. There may be provided a plurality of communication links 214 (i.e., communication modules 214) which may variously connect to one or more remote devices or computing devices such as a server, personal computers, terminals, wireless or handheld computing devices, Internet of Things (IoT) devices, smart devices, edge computing devices. At least one of a plurality of communications link may be connected to an external computing network through a telephone line or other type of communications link. For example, the computing apparatus 200 may include a cellular module, a Bluetooth module and a Wi-Fi module to allow the computing apparatus 200 to communicate with remote devices using a suitable communication protocol and communication network e.g., 4G, 5G, RAZR, Bluetooth, Wi-Fi etc.
[0124] The computing apparatus 200 may include storage devices such as a disk drive 208 which may encompass solid state drives, hard disk drives, optical drives, magnetic tape drives or remote or cloud-based storage devices. The computing apparatus 200 may use a single disk drive or multiple disk drives, or a remote storage service. The computing apparatus 200 may also have a suitable operating system which resides on the disk drive or in the ROM of the computing apparatus 200.
[0125] The computing apparatus 200 may also provide the necessary computational capabilities to operate or to interface with a machine learning model or a machine learning networks, such as a neural networks or deep learning networks or support vector machines, to provide various functions and outputs. The neural network may be implemented locally, or it may also be accessible or partially accessible via a server or cloud-based service. The machine learning network may also be untrained, partially trained or fully trained, and / or may also be retrained, adapted or updated over time.
[0126] In the illustrated example the computing apparatus 200 is programmed to use one or more deep neural networks. The computing apparatus 200 may implement a follicle detection model and a hair segmentation model (i.e., hair detection model) . The follicle detection model and a hair segmentation model are deep learning models i.e., deep learning networks. In one example the follicle detection model may comprise a DenseNet model or CSPNet model or a combination of both. Optionally the hair segmentation model may comprise DenseNet model or CSPNet or a combination of both.
[0127] The computing apparatus 200 is further configured to execute an edge detection algorithm to identify the edges of each hair. The edge detection algorithm may be executed by an edge detection model. The edge detection model may be in the form of a neural network or a machine learning model that can perform edge detection on images.
[0128] As shown in figure 1, the system 100 may comprise an optional remote device 112. The system may comprise multiple remote devices 112, each remote device may be configured for a different purpose. For example, the system 100 may optionally comprise remote servers 112. Each server 112 may be programmed to execute a machine learning model to process the images. The processing of the images to identify hairs on a person’s head may be performed at remote servers 112 and transmitted back to the computing apparatus 200 and presented to the user. In one form, the computing apparatus 200 may comprise the remote servers 112, arranged remotely and in communication with the processor 202 via the communication link 214.
[0129] Optionally, the computing apparatus 200 may further comprise one or more databases to store various types of data. For example, the computing apparatus may comprise an images database 220 that is configured to store multiple captured trichoscopic images of a person’s head.
[0130] The computing apparatus 200 may further comprise a user database 222. The user database 222 may store information of a user i.e., a person that uses the system 100. Some example information can include name, date of birth, age, gender, ethnicity, medical history. Additionally, the user database 222 may also store relationships between the user and trichoscopic images that relate to a particular user. Optionally the databases may be stored at a remote server 112. The user database 222 may also store trichoscopic images with hair thicknesses labelled on the trichoscopic images.
[0131] The computing apparatus 200 may also optionally include one or more training datasets stored in one or more datasets. The training datasets can be used to train the one or more machine learning models. The training datasets may be updated regularly or may be expanded to include additional data. In one example, the images of each new user may also be included in the training datasets. New training datasets can also be added and stored in appropriate databases. All the databases may be stored locally on a memory unit of the computing apparatus or may be stored in a remote storage system e.g. a cloud storage system. In the case or remote storage, the computing apparatus can call on data as needed.
[0132] In this embodiment, the system 100 is arranged to perform the steps of a method for determining the thickness of hairs on a person’s head. The system 100 and its components are arranged to perform the various method steps. Figure 3 illustrates a high-level block diagram of a method for determining the thickness of hairs on a person’s head.
[0133] Referring to figure 3, the method 300 for determining the thickness of hairs on a person’s head commences at step 300. Step 302 comprises capturing, by the image capture device 110, one or more trichoscopic images. Step 304 comprises identifying one or more hairs in the one or more images at the computing apparatus 200.
[0134] Step 306 comprises determining the thickness of hairs on a person’s head based on the identified hairs in the one or more images by the computing apparatus.
[0135] Step 308 comprises displaying the thickness of hairs on a person’s head on a display 212. The method may optionally comprise the step of determining scalp health or diagnosing a scalp disease or hair disease based on the thickness of hair. Hairs may be identified by one or more machine learning models that are trained to for object recognition, more specifically detecting i.e., identifying hair in the images.
[0136] In one example multiple images of a person’s head may be captured and processed as per method 300 to determine the total number on a person’s head. Each captured image may be processed by at least steps 302 and 304 to identify hairs on a person’s head. Step 306 comprises determining the thickness of the hairs in each image. Step 308 may display the thickness of all hairs detected in all the images.
[0137] Alternatively, a single image of a person’s entire head may be captured. Method 300 may process this single image to identify hairs on a person’s head and determine thickness of hairs on a person’s head.. Step 308 may display the total thickness of hairs counted on a person’s head.
[0138] Figure 4 illustrates an example method 400 for determining the thickness of hairs on a person’s head. The method 400 may be implemented by the system 100. For example, the method may be executed by the smartphone 100. This allows a person to determine the thickness of hairs on their own head by using the system 100 (i.e., the smartphone) . The system 100 being implemented as a smartphone makes usability simpler for a person or a clinician due to the wide availability of smartphones and small form factor. The system 100 may comprise an app executing on the computing apparatus 200 defining instructions of method 400.
[0139] Referring to figure 4, the method 400 commences by a user e.g., a person or clinician starting the camera. Step 402 comprises capturing one or more images. The images are preferably trichoscopic images captured by the image capture device 110. In one example implementation a user may capture multiple trichoscopic images of different parts of the person’s head.
[0140] Figure 5 illustrates an example trichoscopic image 500 (i.e., a trichoscopic photo) that is captured by the image capture device 110. The computing apparatus 200 is configured to receive one or more trichoscopic images 500 captured by the image capture device 110. The image capture device 110 may be configured to capture multiple trichoscopic images from different angles. The multiple images together define the person’s whole head. As can be seen in figure 5, the person’s hair 502 and scalp 504 are clearly visible in the trichoscopic image 500 (i.e., trichoscopic photo) .
[0141] Step 404 comprises applying a follicle detection model to the one or more received trichoscopic images. The one or more trichoscopic images are fed into the follicle detection model and the model is programmed to identify each follicle visible within the image. The follicle detection model is trained to detect each visible follicle within each trichoscopic image. The processor unit 202 may be programmed to execute the follicle detection model. Appropriate libraries corresponding to the follicle detection model may be stored on a memory unit of the computing apparatus 200. The libraries can be accessed by the processing unit 202 when executing the follicle detection model.
[0142] The follicle detection model may be a machine learning model that is trained to detect one or more follicles from images that are fed into the model. In one example, the follicle detection model comprises a DenseNet model or CSPNet model or a combination of both.
[0143] In one example the follicle detection model comprises three parts: the model backbone, model neck, and model head. The model backbone comprises the DenseNet model and the CSPNet model. The model neck is configured to apply feature pyramids to identify follicles in different positions in the one or more captured images. The model head is configured to generate bounding boxes about each follicle identified in the one or more received images. The bounding boxes may be defined in a coordinate system by coordinates for each of the corners.
[0144] The computing apparatus 200 is configured to determine the difference between a follicle and scalp on a person based on the difference of shape and / or colour of the follicle as compared to the scalp. For example, the follicle detection model may be trained detect a follicle that is generally more yellowish than the scalp.
[0145] Step 406 comprises cropping each received trichoscopic image into multiple sub images such that each sub image includes only a single follicle within it. The follicle detection model is configured to output the cropped images. The follicle model is configured to crop each trichoscopic image into multiple sub images. Each sub image includes only a single follicle within it.The computing apparatus 200 is configured to utilise the follicle detection model to output cropped sub images. The sub images are cropped along the bounding boxes.
[0146] Figure 6 illustrates an example of a sub image 600. The sub image 600 includes a follicle 602. The sub image is cropped around the detected follicle 602. The computing apparatus 200 is configured to generate multiple sub images, each with only one follicle in it. The computing apparatus 200 may optionally perform step 408. In optional step 408, the computing apparatus may be configured to determine the number of follicles on a person’s head. The computing apparatus 200 may be configured to sum the number of sub images to determine the total number of follicles, since the number of sub images corresponds to the number of follicles identified by the follicle detection model. The computing apparatus may be configured to skip step 408 or may be configured to carry on with the method 400 or return to step 402 from step 408.
[0147] Referring to figure 4, the method 400 comprises step 410 after step 406. Step 410 comprises applying a hair segmentation model to each of the one or more sub images 600. Step 412 comprises identifying each hair within each of the one or more sub images. Each sub image is fed into the hair segmentation model. The hair segmentation model is trained to identify one or more hairs within each sub image. Appropriate libraries related to the hair segmentation model may be stored in a memory unit of the computing apparatus. The libraries can be called and executed when the processing unit 202 executes the hair segmentation model.
[0148] At step 414 the computing apparatus is configured to label each of the identified hair within each of the sub images. The output of the hair segmentation model is sub images with each hair in the sub image being labelled by an appropriate indica. Figure 7 illustrates an example sub image 600 with a labelled hair. Each hair in the image may be labelled with a different colour or a unique symbol or code or other suitable indicia. As shown in figure 7, the sub image the single hair 702 is labelled in a first colour e.g. red.
[0149] The hair segmentation model is configured to process each pixel of each sub image and only pixels that include a hair are labelled. The hair segmentation may be a suitable machine learning model that is trained to detect one or more hairs in each sub image.
[0150] Step 416 comprises generating a binary sub image. The computing apparatus is configured to render the identified hair in a first colour and render the rest of the image in a second colour. The first colour and second colour are different to each other. In one example the hair identified in the sub image is coloured white and the rest of the image is coloured black.
[0151] Figure 12 illustrates an example sub image 600 with the hair 702 identified in the image. Figure 13 illustrates an example of a binary sub image 1300. The hair 702 is illustrated in white. The background 704 is illustrated in black. The step of generating a binary sub image can also cause noise or artefacts that can show up in the binary sub image. In figure 13 the white dot 706 is noise within the image.
[0152] Optionally, the computing apparatus is configured to sum the number of hairs present in each sub image to determine the frequency of hairs per follicle and the computing apparatus further configured to sum the number of hairs identified in all sub images to determine a total number of hair on a person’s head.
[0153] Step 418 comprises identifying contours of the hair identified in the sub image. The computing apparatus 200 is configured to apply a contouring algorithm that is configured to identify contours.
[0154] Step 420 comprises applying one or more filters to each binary sub image and remove noise. The filter comprises a threshold for contours of the identified hair. Noise is filtered as it does not meet the set threshold or thresholds. Figure 14 illustrates an example of a filtered binary sub image 1400. As seen in figure 14 the hair 702 is identified. The dot 706 that was noise is removed and filtered out. The contours 1402 are illustrated in the filtered image 1400.
[0155] Step 422 comprises applying a thinning algorithm to each binary sub image. The thinning algorithm transforms the identified contours into curved lines. The thinning algorithm is configured to generate a plurality of curved lines to fit and define the contour of the hair. Figure 15 illustrates a transformed binary sub image 1500 after application of the thinning algorithm. The curved line 1502 defines the contour of the hair.
[0156] Step 424 comprises applying a straight line transform function to the curved lines. The applied function is configured to transform the curved lines into straight lines. As part of step 424 the straight line transform function is a Hough Transform algorithm. The computing apparatus is configured to apply the Hough Transform algorithm to each binary sub image to transform the curved lines into straight lines.
[0157] Figure 426 comprises applying an edge detection algorithm to each binary sub image. Step 426 comprises identifying the edges of each hair in the binary sub image based on the edge detection algorithm, wherein each hair is defined by at least two edges. The edge detection algorithm is a canny edge detection algorithm.
[0158] Figure 16 illustrates an example output of a binary sub image 1300 with two edges 1602, 1604 identified in the sub image. The edges define the outer edges of the hair 702.
[0159] Step 428 comprises overlaying at least one perpendicular line from each point on an identified hair in the binary image. Preferably multiple perpendicular lines are overlaid onto the binary sub image from each point on the straight line. Any part of the perpendicular line that extends beyond the identified edge of the hair is removed, such that the perpendicular line extends between the edges of the hair.
[0160] Figure 17 illustrates a binary sub image 1300 with multiple perpendicular lines 1702. Multiple perpendicular lines 1702 are overlaid onto the sub image 1300.
[0161] Step 430 comprises determining the thickness of the hair based on the length of the perpendicular line that extends between the two edges. The computing apparatus 200 is configured to determine a thickness of the hair at every point along the hair based on the length of the perpendicular line at every point along the hair. The computing apparatus 200 may be configured to calculate an average thickness based on thicknesses calculated at the various points along the hair.
[0162] Figure 18 illustrates an example of a binary sub image 1300 with multiple clipped perpendicular lines 1702. The perpendicular lines are clipped at the edges 1602, 1604. The thickness i.e., width of the hair is determined based on the length L of the perpendicular line 1702.
[0163] Step 432 comprises presenting on the user interface a trichoscopic image with the hairs and the widths of corresponding hairs on the trichoscopic image. Figure 19 illustrates an example of the trichoscopic image with hair thicknesses labelled on the image. The image 1900 includes a plurality of hair 504. Each hair has thickness label 1902 provided adjacent the corresponding hair. The labelled hair thickness 1902 may be the average thickness of the hair or the median thickness of the hair. Alternatively, the thickness label may be the thickness adjacent the base of the hair. The computing apparatus may determine an average or median thickness based on the thickness determined at multiple points along a hair strand. The method 400 may be repeated and executed for multiple trichoscopic images.
[0164] Steps 418 to 430 may be performed by the computing apparatus. The computing apparatus 200 may comprise one or more machine learning models that are stored in a memory and executed by the processor.
[0165] In another example form the hair segmentation model may be configured to execute steps 418 to 430. In one example the computing apparatus 200 may be configured to determine scalp health of a person. Scalp health may infer based on the hair thickness. Hair thickness may be indicative of scalp health and / or the health of the hair i.e. no diseases etc.
[0166] Figure 8 illustrates a method of determining scalp health 800 based on the thickness of hair. The method 800 is executed by the system 100. Steps of method 800 may be executed by the computing apparatus 200. Step 802 comprises determining a quantitative parameter representative of a person’s scalp health. The quantitative parameter may comprise any one or more of: the thickness of hairs on a person’s head, the number of hairs on a person’s head or an average thickness of each hair or an average thickness of all hair or a median thickness of all hair. Step 804 comprises presenting the quantitative parameter representative of a person’s health on the user interface 212. Optionally, the method 800 may comprise step 806. Step 806 comprises transmitting the quantitative parameter to a remote device, e.g. a remote server 112. Step 808 comprises identifying one or more treatments based on the person’s scalp health. Step 810 comprises presenting the identified one or more treatments to the person on the user interface 212.
[0167] The health of hair and / or scalp is determined based on the thickness of the hair. Generally, hair thickness should be within a threshold. The computing apparatus is configured to check the average thickness of each hair with one or more thresholds. The computing apparatus 200 is configured to determine if a hair is healthy based on the comparison of the average thickness with the threshold. The computing apparatus 200, may optionally determine an average thickness for all hair or a median thickness of all hair. This average or median can be determined from the average thickness of each hair.
[0168] At step 802 the quantitative or qualitative parameter may relate to the average thickness of each hair, or the average thickness of all hair or the median thickness of all hair. The average thickness of all hair or median thickness of all hair may be compared with one or more thresholds. The computing apparatus 200 may be configured to determine scalp or hair health if the average thickness of all hair or median thickness of hair is within a threshold range or above a threshold. Optionally, the computing apparatus may generate a qualitative parameter indicative of scalp health or hair health based on the thickness of the hair. The qualitative parameter may be generated and presented on the user interface to allow a clinician or user to take appropriate action.
[0169] The follicle detection model and hair segmentation model are explained in more detail below. The follicle detection model and the hair segmentation model are pretrained models. The models may be trained with labelled data and may be programmed for supervised learning. Alternatively, the two models may be programmed to learn in an unsupervised manner.
[0170] Figure 9 illustrates a method 900 for training a follicle detection model. The follicle detection model may be trained at regular intervals with additional data. For example, each new set of photos captured may be stored and used to train or update the model.
[0171] Referring to figure 9, step 902 comprises receiving one or more trichoscopic images. Step 904 comprises preparing a training data set. The training data set comprises multiple labelled trichoscopic images. The received trichoscopic images are labelled. Each follicle is labelled. Optionally each hair may also be labelled. During labelling bounding boxes are created around each target object, i.e., a bounding box is created around each follicle. The bounding box closely surrounds a follicle. The coordinates and / or class of the bounding box will be saved. Labelled trichoscopic images are used as the training data set. The coordinates can be saved in the follicle detection i.e., object detection model.
[0172] Figure 10 illustrates an example of a labelled image 1000. The labelled image 1000 is a trichoscopic image with follicles 1002 and hair 1004. The labelled image 1000 includes bounding boxes 1006. The bounding boxes 1006 surround each follicle. Each bounding box 1006 is defined by four dots that define the four corners of the bounding box.
[0173] Step 906 comprises model fitting. Step 906 comprises fitting the trichoscopic photos as inputs and the labels as expected outputs into the follicle detection model (i.e., object detection model) . The model is fitted and trained for epochs and best weights are generated with minimal loss.
[0174] Step 908 comprises evaluation of the results. Step 908 may comprise evaluation of the outputs. The training results are evaluated with several indices, including but not limited to object loss and the mean average precision. The output of step 908 is the trained follicle detection model. The method 900 may be repeated until the follicle detection model can accurately detect follicles in new images.
[0175] The follicle detection model may be a deep neural network (DNN) . A deep neural network is used since a DNN can perform object detection fast and accurately. A DNN takes labelled images as inputs and performs training with adjustable hyperparameters. The network outputs the weights with the highest accuracy during training. The follicle detection model may comprise a multi-layer design. In one example form, the model comprises hidden layers between the input and output layer.
[0176] The model may be divided into three main parts: model backbone, model neck and model head. “Model Backbone” extracts the features from the image when the image is being transformed to different resolutions through the pooling layer in DNN (or a convolution neural network) . “Model Neck” gets the features extracted by model backbone and generalize the model to recognize in the images of different resolutions. “Model Head” predicts the positions and classes of the objects by the features extracted in model backbone.
[0177] The model backbone may include one or more networks, for example CSPNet and DenseNet. In one example the model backbone of the follicle detection model utilises a CSPNet and DenseNet networks. CSPNet is advantageous because it reduces the number of parameters in extracting features. This can make the model more efficient. Feature pyramids are used as the model neck to help generalising the model so that the model can identify an object (e.g., a follicle) in different positions of the image. This again helps to improve performance and output of the follicle detection model. The model head is configured to generate the bounding boxes and position the bounding boxes around an object (e.g., a follicle) . The model head arrangement helps improve accuracy of the follicle detection model, and helps to improve the probability of having correctly identified object inside the box.
[0178] There are differences between follicles and scalp. Usually, follicles generally appear more yellowish than the scalp, and appear circular in shape. This difference is used to label follicles to prevent the follicle detection model from wrongly recognising the scalp as a follicle.
[0179] To improve mean average precision and avoid overfitting, hyperparameters are adjusted. Overfitting is not ideal. Overfitting means the model recognises the noise instead of the desirable objects (i.e., follicles) . Hyperparameters are variables that control the machine learning process. The learning rate and weight decay are adjusted after each training to obtain a smoother curve in loss. For example, after each time method 900 is performed, the learning rate and weight decay may be adjusted. Learning rate determines the size of the step after each epoch. A smaller learning rate means a smaller change to the weights through the loss function. Weight decay servers to prevent the weights from getting too large.
[0180] In training the follicle detection model, a function called hyperparameters evolution can be utilised to optimise the hyperparameters by trails. By trying different combinations of hyperparameters with self-defined epochs and iterations, hyperparameters with the best performance will be given. This again improves the training of the follicle detection model. By using hyperparameters evolution and trying different hyperparameters, overfitting can be stopped. Further a steadier increase in the mean average precision during the training can be attained. The follicle detection model may be trained as described earlier.
[0181] Figure 11 illustrates a method of training the hair segmentation model 1100. The hair segmentation model is used to identify hairs in each sub image. Referring to figure 11, the training method 1100 commences at step 1102. Step 1102 comprises a data preparation step. At step 1102 cropped images (i.e., sub images) are labelled to identify follicles and hairs. In this stage only pixels that correlate to a hair are labelled. The training data consists of sub images i.e., cropped photos with only a single follicle per photo, similar to figure 6.
[0182] Step 1104 comprises the step of fitting the model to the input data. In one example to fit the model the hair is identified and defined by a polygon.
[0183] Masks of the sub images are the expected outputs of the hair segmentation model. To create masks, the hairs of different colours are labelled by an indicia such as for example a polygon. The coordinates of the polygons are recorded. If the polygons belong to the same class they appear in the same colour in the mask, e.g. as shown in figure 7. Backgrounds of the masks are given the same colour.
[0184] The hair segmentation model may comprise a three-part model too. The hair segmentation model may use CSPNet and DenseNet. Preferably the model neck of the follicle detection model and the bottom layer of the feature pyramid network of the follicle detection model is used as the input for the hair segmentation model. The hair segmentation model reduces noise and false identification of hairs since it does not use large bounding boxes, that can often include noise. The model labels each hair with a polygon around the hair. The distance between the ground truth and the predicted box are considered in the loss function.
[0185] By fitting the follicle photos as inputs (i.e., using the sub images with a single follicle visible) as inputs and masks as outputs, the parameters of the hair segmentation model are optimised to reduce loss. The weights that perform the best are kept, while weights that generate noise or a sub-par result may be discarded.
[0186] Step 1106 comprises evaluating the model to determine the accuracy of the model. The evaluation step can be used to determine if the model is well trained. The results of training the hair segmentation model may be evaluated with the same standard as the follicle detection model.
[0187] The system 100 as described herein is advantageous because it allows a user e.g. a clinician or hair technician etc. to determine scalp health based on the thickness of hairs detected. The system is an easy to use automated and non-invasive system.
[0188] Hair strands are often densely located. Further the density of hair strands can vary from person to person. The image can be crowded with hair strands. Identifying hairs in normal images can be time consuming and error prone. The system 100 provides a tool to determine i.e., calculate the thickness of hairs on a person’s head. The locations of hairs in trichoscopic images are needed for later processing like generating binary sub images and determining contours of hairs, when determining the thickness of hairs. If the binary sub image does not correctly identify the hair and background in two separate colors, the entire thickness calculation can be erroneous. The present system 100 provides a tool and a method that reduces this potential error. The system 100 uses the follicle detection model to identify each follicle and generates a sub image with a single follicle to better identify the precise locations of the hair. The system 100 is advantageous because it reduces errors in detecting hairs.
[0189] Overlapping hairs in images can be an issue. A close-up image (e.g. Trichoscopic images) of a person’s head is used and the densities of hairs of everyone varies. Each trichoscopic image can be crowded with hair strands. Neighboring hair can overlap, which makes it challenging to identify and distinguish single hair. Further counting of the hair strands following curves and lines is difficult and error prone. The present system 100 reduces chances of errors since sub images are formed with a single follicle. The system also filters out noise and filters out hair that do not originate from the follicle in each sub image. The system 100 provides a tool that reduces the chances of errors due to overlapping hair in images, thereby providing a more accurate output of hair thickness.
[0190] The system 100 as described herein also allows for a simple, cost effective, non-invasive and accurate tool for monitoring the thickness of hairs on a person’s head. The system also allows monitoring of scalp health and / or hair health based the thickness of hair. This is because the thickness of hair can be indicative of scalp health or hair health. The thickness measure may be average thickness of each hair or the average thickness of all hair or, a median thickness of each hair or all hair. The system 100 provides a clinician or hair specialist or a user a simple, non-invasive and cost-effective tool to assess scalp health or other hair related conditions that can be related to one or more of the outputs of the system 100, e.g., average thickness of each hair or the average thickness of all hair or, a median thickness of each hair or all hair.
[0191] Although not required, the embodiments described with reference to the Figures can be implemented as an application programming interface (API) or as a series of libraries for use by a developer or can be included within another software application, such as a terminal or personal computer operating system or a portable computing device operating system. Generally, as program modules include routines, programs, objects, components and data files assisting in the performance of particular functions, the skilled person will understand that the functionality of the software application may be distributed across a number of routines, objects or components to achieve the same functionality desired herein.
[0192] It will also be appreciated that where the methods and systems of the present invention are either wholly implemented by computing apparatus or partly implemented by computing apparatus then any appropriate computing apparatus architecture may be utilised. This will include stand alone computers, network computers and dedicated hardware devices. Where the terms “computing apparatus” and “computing device” are used, these terms are intended to cover any appropriate arrangement of computer hardware capable of implementing the function described.
[0193] In its various aspects, embodiments of the invention can be embodied in a computer-implemented process, a machine (such as an electronic device, or a general-purpose computer or other device that provides a platform on which computer programs can be executed) , processes performed by these machines, or an article of manufacture.
[0194] It will be appreciated by persons skilled in the art that numerous variations and / or modifications may be made to the invention as shown in the specific embodiments without departing from the spirit or scope of the invention as broadly described. The present embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.
[0195] Any reference to prior art contained herein is not to be taken as an admission that the information is common general knowledge, unless otherwise indicated.
Claims
1.A system for determining the thickness of hairs on a person’s head, the system comprising:an image capture device configured to capture one or more images of a person’s head,a computing apparatus in communication with the image capture device, the computing apparatus comprising a processing unit, a memory unit, and a user interface the computing apparatus configured to:receive one or more images of a person’s head from the image capture device,identify one or more hairs in the one or more images, anddetermine the thickness of hairs on a person’s head based on the identified hairs in the one or more images.2.The system in accordance with claim 1, wherein the computing apparatus is configured to present the thickness of hairs on a person’s head on the user interface.3.The system in accordance with claim 2, wherein the determined thickness is shown on at least one of the captured images of the person’s head and the at least one captured image with the thickness shown on it is presented on the user interface.4.The system in accordance with claim 3, wherein the image capture device is configured to capture at least a trichoscopic image.5.The system in accordance with claim 4, wherein the computing apparatus is configured to:assess if the received image is a trichoscopic image based on if the person’s scalp and hair are clearly visible in the image, and,filter images that are not a trichoscopic images.6.The system in accordance with claim 5, wherein the computing apparatus is configured to:process each received trichoscopic image by applying a follicle detection model to the image, andidentifying each follicle visible within the image based on application of the follicle detection model.7.The system in accordance with claim 6, wherein the computing apparatus is configured to:crop each received trichoscopic image into one or more sub images based on each of the follicles identified by the follicle detection model,wherein each sub image includes only a single follicle within it.8.The system in accordance with claim 7, wherein the computing apparatus is configured to:apply a hair segmentation model to each of the one or more sub images, andidentify each hair within each of the one or more sub images based on application of the hair segmentation model.9.The system in accordance with claim 8, wherein the computing apparatus is configured to label each identified hair within each of the sub images.10.The system in accordance with claim 9, wherein the computing apparatus is configured to classify each identified hair into different colours and each different coloured hair is labelled within each sub image.11.The system in accordance with claim 10, wherein the computing apparatus is configured to:render the identified hair in a first colour and render the rest of the image in a second colour, wherein the first colour and the second colour are different to each other,generate a binary sub image, wherein the binary sub image is binary representation of the sub image, and;wherein the binary sub image comprises the identified hair in the first colour and the background in the second colour.12.The system in accordance with claim 11, wherein the computing apparatus is configured to sum the number of hairs present in each sub image to determine the frequency of hairs per follicle and the computing apparatus further configured to sum the number of hair identified in all sub images to determine a total number of hair on a person’s head.13.The system in accordance with claim 11, wherein the computing apparatus is configured to:identify contours of the hair identified in each binary sub image.14.The system wherein in accordance with claim 13, the computing apparatus is configured to:apply one or more filters to each binary sub image and remove noise wherein the filter comprises a threshold for contours of the identified hairs.15.The system in accordance with claim 14, wherein the computing apparatus is configured to apply a thinning algorithm to each binary sub image wherein the thinning algorithm transforms the identified contours into curved lines.16.The system in accordance with claim 15, wherein the computing apparatus is configured to:apply a straight line transform function to the curved lines, andtransform the curved lines into straight lines.17.The system in accordance with claim 16, wherein the straight line transform function is a Hough Transform algorithm, and the computing apparatus is configured to apply the Hough Transform algorithm to each binary sub image to transform the curved lines into straight lines.18.The system in accordance with claim 17, wherein the computing apparatus is configured to:apply an edge detection algorithm to each binary sub image, andidentify the edges of each hair in the binary sub image based on the edge detection algorithm, wherein each hair is defined by at least two edges.19.The system in accordance with claim 18, wherein the computing apparatus is configured to apply a canny edge detection algorithm to identify the edges of each hair.20.The system in accordance with claim 19, wherein the computing apparatus is configured to:overlay at least one perpendicular line from each point on an identified hair in the binary sub image, andremove any part of the perpendicular line that extends beyond the identified edge of the hair, such that the perpendicular line extends between the edges of the hair.21.The system in accordance with claim 20, wherein the computing apparatus is configured to determine the thickness of the hair based on a length of the perpendicular line that extends between edges of the hair.22.The system in accordance with claim 21, wherein the computing apparatus is configured to determine a thickness of the hair at every point along the hair based on the length of the perpendicular line at every point along the hair.23.The system in accordance with claim 22, wherein the computing apparatus is configured to calculate an average thickness based on thicknesses calculated at the various points along the hair.24.The system in accordance with claim 23, wherein the follicle detection model comprises a DenseNet model or CSPNet model or a combination of both.25.The system in accordance with claim 24, wherein the follicle detection model comprises at least three parts:the model backbone,model neck, andmodel head,wherein the model backbone comprises the DenseNet model and the CSPNet model,the model neck is configured to apply feature pyramids to identify follicles in different positions in the one or more captured images, andthe model head is configured to generate bounding boxes about each follicle identified in the one or more received images.26.The system in accordance with claim 25, wherein the computing apparatus is configured to determine the difference between a follicle and scalp on a person based on the difference of shape and / or colour of the follicle as compared to the scalp.27.The system in accordance with claim 26, wherein the hair segmentation model is configured to process each pixel of each sub image and only pixels that include a hair are labelled.28.The system in accordance with claim 27, wherein the computing apparatus is configured to present on the user interface a trichoscopic image with the hairs and the widths of corresponding hairs on the trichoscopic image.29.A method for determining the thickness of hairs on a person’s head, the method comprising the steps of:receiving one or more images of a person’s headprocessing the received one or more images by applying a follicle detection model to the received images to identify one or more follicles within the received images,cropping each received image and generating one or more sub images based on the detected follicles, wherein each sub image comprises a single identified follicle,processing each sub image by applying a hair segmentation model to identify one or more hairs within each sub imagelabelling each identified hair within each sub image, anddetermining the thickness of the hairs on a person’s head based determining the width of the hairs identified in each sub image.30.The method in accordance with claim 29, comprising the additional steps of:generating a binary sub image, wherein the binary sub image comprises the identified hair in the first colour and the background in the second colour and the binary sub image being a binary representation of the sub image,identifying contours of each hair within the binary sub image,determining edges of each hair based on the identified contours, anddetermining a distance between the edges and wherein the thickness of each hair is determined based on the distance between the edges of the hair.
Citation Information
Patent Citations
Systems and methods for hair coverage analysis
CN112188861A
Detection algorithm for hair health condition
CN114708237A
Hair follicle automatic identification method and system based on deep learning and hair transplanting robot
CN114972307A
Systems and methods for hair loss management
US20180214072A1
Hair identifying device and apparatus for automatically seperating hair follicles including the same
US20230041440A1
