A method for identifying a body constitution in Traditional Chinese Medicine, wherein the method comprises:
- acquiring an infrared human-body image of a target user;
- inputting the infrared human-body image into an infrared critical-point identifying model, to obtain a Traditional-Chinese-Medicine human-body critical point in the infrared human-body image;
- according to a temperature-distribution profile in the infrared human-body image, determining a temperature type of the Traditional-Chinese-Medicine human-body critical point in the infrared human-body image;
- and
- according to the temperature type, identifying a Traditional-Chinese-Medicine body constitution of the target user,
- wherein the temperature type comprises at least one of a high-temperature types and a low-temperature type;
- and
- the step of, according to the temperature-distribution profile in the infrared human-body image, determining the temperature type of the Traditional-Chinese-Medicine human-body critical point in the infrared human-body image comprises:
- determining maximum-temperature-value positions of a first quantity and/or minimum-temperature-value positions of a second quantity in the infrared human-body image;
- and
- determining the temperature type of the Traditional-Chinese-Medicine human-body critical point that corresponds to an image region where the maximum-temperature-value positions are located as the high-temperature type, and/or determining the temperature type of the Traditional-Chinese-Medicine human-body critical point that corresponds to an image region where the minimum-temperature-value positions are located as the low-temperature type;
- and
- wherein the step of determining the maximum-temperature-value positions of the first quantity and/or the minimum-temperature-value positions of the second quantity in the infrared human-body image comprises:
- by using a maximum-value filter, acquiring image positions where maximum temperature values of the first quantity are located in the infrared human-body image as the maximum-temperature-value positions;
- by using a mean value between a maximum temperature value and a minimum temperature value in the infrared human-body image as an inversion plane, inverting temperature values in the infrared human-body image;
- and
- by using the maximum-value filter, acquiring positions where maximum temperature values of the second quantity are located in the infrared human-body image that has been inverted as the minimum-temperature-value positions.