Around age 17, like most teenage girls, I was dealing with pimples. It puzzled me because my skin had always been on the dry side before the breakouts began.With a little more research, I discovered that I had combination skin. This means some areas of my skin were oily, while other parts were dry. So, each area needed to be treated differently. Now the challenge is to identify which areas are oily and which areas are dry.
Fast forward to 2016, we have the power of AI. Here’s how I use AI to solve the problem.
1. The human body releases heat. This heat has an infrared signature, which can be detected by infrared cameras.
2. The regions in the thermal image which have red yellow and green are the warmer regions, with red being the hottest. While, the regions which have light blue, dark blue, purple and black are the cooler regions, with black being the coldest.
3. Combination skin is characterized by an oily forehead, nose, and chin and relatively dry cheeks.
4. “Excessive production of subdermal fat, modifies the dynamics of the bloodstream, and consequently temperature. A high percentage of this heat interchange is manifested as electromagnetic radiation with far-infrared wavelengths, which can be captured through a thermal imaging camera. “https://www.ncbi.nlm.nih.gov/pubmed/24777529
Based on the research paper, I deduced that the thermal signature of oily skin will be higher than that of the surrounding skin. This will help me detect oily patches of skin.
- Identify features of the face to detect the location of oily skin.
- Check for high temperatures which will be either red or orange according to the thermal image scale.
- Return names of the regions of the face that are ‘oily’.
Implementation in Python
I do not have access to a thermal camera, so I had to simulate a thermal image using a thermal image effect. Then, I used the app to analyze it.
To learn more about the dataset, click the button below:
To view the research paper by Padilla-Medina JA, León-Ordoñez F, Prado-Olivarez J, Vela-Aguirre N, Ramírez-Agundis A and Díaz-Carmona J, click the button below: