Image processing device, image processing method and storage medium

By detecting the difference value of the distance information between feature points in the face image, the problem of judging the correctness of the surgery during cosmetic surgery is solved, and the quantitative evaluation of the surgical effect is achieved.

CN114430663BActive Publication Date: 2024-10-15CASIO COMPUTER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202080066138.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2019-09-24
Filing Date
2020-09-23
Publication Date
2024-10-15
Estimated Expiration
2040-09-23

AI Technical Summary

Technical Problem

The existing technology cannot accurately judge whether the surgery is performed correctly during cosmetic surgery, and cannot quantitatively evaluate the effect of the surgery.

Method used

By detecting the feature points in the face image, the distance information between the feature points before and after the surgery is calculated, and the difference value is calculated to determine the correctness and effect of the surgery.

Benefits of technology

It is possible to confirm whether the surgery is performed correctly during cosmetic surgery, and to quantitatively evaluate the effect of the surgery, providing an assessment of the accuracy and effect of the cosmetic surgery.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114430663B_ABST
    Figure CN114430663B_ABST
Patent Text Reader

Abstract

It is possible to: confirm whether the cosmetic surgery is performed correctly during the cosmetic surgery; and / or quantitatively evaluate the effect of the cosmetic surgery. The image processing device 1 includes an acquisition unit (112), a detection unit (113), a comparison unit (115) and an output unit (display control unit) (117). The acquisition unit (112) acquires an image of the object being photographed. The detection unit (113) detects feature points in the real image of the object contained in the image of the object being photographed. The comparison unit (115) compares the trajectory of the tracking result of the movement of the feature points as a real image contained in the object acquired by the acquisition unit (112) with pre-set trajectory information, and acquires a comparison result. The output unit (117) outputs the comparison result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to an image processing device, an image processing method and a storage medium. Background Art

[0002] When a skin massage is performed during a beauty treatment, it is necessary to use fingers or hands to determine whether the massage is performed correctly or not. In this case, it is necessary to attach sensors or markers to the hands or fingers to obtain pressure information and position information from the sensors, which makes the system complicated. In addition, in the image recognition using a camera, it is difficult to distinguish the recognition of the hands or fingers from the skin color of the face, which makes it difficult to improve the accuracy of the position information.

[0003] In this regard, Japanese Patent Application Laid-Open No. 2012-152389 discloses a mirror device in which a feature extraction unit extracts feature points that characterize the user's fatigue level from a face image, and displays information on the fatigue level calculated based on the feature points using a mirror or the like.

[0004] Prior art literature

[0005] Patent Literature

[0006] Patent Document 1: Japanese Patent Application Publication No. 2012-152389 Summary of the invention

[0007] Problems to be solved by the invention

[0008] However, in the technology disclosed in Patent Document 1, as a method for comparing facial images before and after a beauty treatment such as massage, the display unit simply displays the facial image before and after the massage side by side, and the user compares the two facial images to confirm the effect of the massage. That is, in the technology disclosed in Patent Document 1, it is not possible to confirm whether the beauty treatment is performed correctly during the beauty treatment, nor is it possible to quantitatively evaluate the effect of the beauty treatment.

[0009] An object of the present invention is to provide an image processing device, an image processing method, and an image processing program, which can confirm whether a cosmetic procedure has been performed correctly during a cosmetic procedure and / or quantitatively evaluate the effect of the cosmetic procedure.

[0010] Means for solving problems

[0011] In order to achieve the above-mentioned purpose, an image processing device according to one embodiment of the present invention is characterized in that it comprises: a detection unit, which detects multiple feature points in a facial image of an object contained in a captured image; an acquisition unit, which acquires first distance information between the multiple feature points at a first timing before performing a cosmetic procedure, acquires second distance information between the multiple feature points at a second timing after performing the cosmetic procedure, and acquires a difference value between the first distance information and the second distance information; and a judgment unit, which judges whether the cosmetic procedure is being appropriately performed or whether the cosmetic procedure has been performed based on the difference value between the distance information acquired by the acquisition unit.

[0012] Effects of the Invention

[0013] According to the image processing device, the image processing method and the image processing program of the present invention, it is possible to confirm whether a cosmetic procedure has been performed correctly during the cosmetic procedure and / or to quantitatively evaluate the effect of the cosmetic procedure. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 This is a structural diagram showing the structure of an image processing system according to one embodiment of the present invention.

[0015] Figure 2 This is a structural diagram showing the front appearance structure of an image processing device according to one embodiment of the present invention.

[0016] Figure 3 This is a structural diagram showing the external appearance of the image processing device according to one embodiment of the present invention from a side view.

[0017] Figure 4 This is a block diagram showing a hardware configuration of an image processing device according to an embodiment of the present invention.

[0018] Figure 5 This is a functional block diagram showing a functional configuration for executing measurement processing among the functional configurations of the image processing device according to one embodiment of the present invention.

[0019] Figure 6 FIG. 1 is a diagram showing examples of feature points, reference points, and reference lines detected by the image processing device according to the embodiment of the present invention.

[0020] Figure 7 This is a diagram showing examples of reference points and reference lines used in various procedures in one embodiment of the present invention.

[0021] Fig. 8A It is a diagram showing a correction method in one embodiment of the present invention.

[0022] Figure 8BIt is a diagram showing a correction method in one embodiment of the present invention.

[0023] Fig. 9 This is a diagram for explaining an example of the distance between a reference point and a reference line and preset distance information in one embodiment of the present invention.

[0024] Fig.10 This is a diagram for explaining an example of the distance between a reference point and a reference line and preset distance information in one embodiment of the present invention.

[0025] Fig.11 This is a diagram for explaining an example of the distance between a reference point and a reference line and preset distance information in one embodiment of the present invention.

[0026] Fig.12 This is a diagram for explaining an example of the distance between a reference point and a reference line and preset distance information in one embodiment of the present invention.

[0027] Fig.13A This is a flowchart for explaining the operation of the image processing device in one embodiment of the present invention.

[0028] Fig. 13B This is a flowchart for explaining the operation of the image processing device in one embodiment of the present invention.

[0029] Fig. 13C This is a flowchart for explaining the operation of the image processing device in one embodiment of the present invention.

[0030] Fig.13D This is a flowchart for explaining the operation of the image processing device in one embodiment of the present invention.

[0031] Fig.13E This is a flowchart for explaining the operation of the image processing device in one embodiment of the present invention.

[0032] Fig.13F This is a flowchart for explaining the operation of the image processing device in one embodiment of the present invention.

[0033] Fig.14A This is a flowchart for explaining the operation of the image processing device in one embodiment of the present invention.

[0034] Fig. 14B This is a flowchart for explaining the operation of the image processing device in one embodiment of the present invention. DETAILED DESCRIPTION

[0035] Hereinafter, embodiments of the present invention will be described using the drawings.

[0036] [Outline of Implementation Method]

[0037] The image processing device 1 according to the embodiment of the present invention is a smart mirror configured as a self-standing mirror that can be carried by a user. The image processing device 1 captures an image of a user who is a subject viewing the mirror. The image processing device 1 detects feature points from the user's face based on an image captured of the user, especially the user's face, and tracks the movement of the feature points by continuously capturing the user's face. The image processing device 1 compares the trajectory as a tracking result with pre-set trajectory information to output whether the user has correctly performed the beauty treatment and the effect of the treatment.

[0038] [System Structure]

[0039] Figure 1 1 is a block diagram showing the overall structure of an image processing system 1 including an image processing device 1 according to the present embodiment. Figure 1 As shown in FIG. 1 , the image processing system 1 includes a plurality of image processing apparatuses 1, a network 2, and a server group 3. The number of image processing apparatuses 1 is not particularly limited, and the image processing system 1 may include n (n is an arbitrary natural number) image processing apparatuses 1. In the following description, when n image processing apparatuses 1 are described without being particularly distinguished, the last letters of the reference numerals are omitted, and the reference numeral is simply referred to as “image processing apparatus 1”.

[0040] The image processing device 1 detects the user's feature points from the image, tracks the movement of the detected feature points, compares the trajectory obtained by tracking with pre-set trajectory information, and displays the comparison result. The image processing device 1 is connected to each server included in the server group 3 via the network 2 so as to be able to communicate with each other.

[0041] The network 2 is realized by, for example, the Internet, a LAN (Local Area Network), a mobile phone network, or a combination of these.

[0042] The server group 3 includes various servers that cooperate with the image processing device 1. For example, the server group 3 includes an authentication server for authenticating a user of the image processing device 1. In addition, for example, the server group 3 includes an application distribution server that distributes application software for realizing the functions of the image processing device 1. Furthermore, for example, the server group 3 includes a measurement data storage server that stores user configuration information that includes setting information related to the user, a user's use history of the image processing device 1, and the like.

[0043] in addition, Figure 1The image processing system 1 shown is only an example, and servers having other functions may be included in the server group 3. In addition, the plurality of servers included in the server group 3 may be implemented as individual server devices, or may be implemented as a single server device.

[0044] [Appearance structure]

[0045] Figure 2 1 is a structural diagram showing the front appearance structure of an image processing device 1 according to an embodiment of the present invention. Figure 3 1 is a block diagram showing the external appearance of the side surface of the image processing device 1. The size of the front surface of the image processing device 1 is formed to be, for example, A4 size specified in ISO (International Organization for Standardization) 216, which is an international standard.

[0046] like Figure 2 as well as Figure 3 As shown in FIG. 1 , the image processing device 1 includes a main body 30, a leg 31, and a hinge 32. The main body 30 includes a display unit 18, a reference Figure 4 Other hardware parts described later. The leg portion 31 and the hinge portion 32 are members for making the image processing device 1 self-standing. The leg portion 31 is supported by the hinge portion 32 so as to be rotatable relative to the main body portion 30 .

[0047] like Figure 3 As shown in (A) of FIG. 1 , when the user carries the image processing device 1 , the side surfaces of the main body 30 and the side surfaces of the legs 31 can be aligned, and the image processing device 1 can be carried in a compact shape. Figure 3 As shown in (B), when the user places the image processing device 1 on a table or the like for use, the user can rotate the leg 31 around the hinge 32 as the center point to independently place the image processing device 1. In addition, in order to make the image processing device 1 self-standing, the hinge 32 has a mechanism for holding the leg 31 at a given angle.

[0048] The main body 30 includes the display unit 18 as described above. The display unit 18 is a part that displays various information to the user by displaying the various information. The display unit 18 displays, for example, a user image (equivalent to the user image 51 in the figure) which is a real image of the user photographed by the camera unit 16 as a subject, an avatar image (equivalent to the avatar image 52 in the figure) which is a substitute image that replaces the user, a guide image (equivalent to the guide image 53 in the figure) which is auxiliary information for guidance, and a biological information image (equivalent to the biological information image 54 in the figure) which indicates the biological information of the user. In this case, the display unit 18 synthesizes the guide image with the avatar image and displays them in an overlapping manner.

[0049] The user can grasp these various information at once by viewing the display unit 18. In addition, the display of the display unit 18 has no gap in appearance and is a unified display suitable for the user to view, as described above.

[0050] like Figure 2 As shown, the image processing device 1 further includes an imaging unit 16 , an input unit 17 , and a display unit 18 as an external structure.

[0051] The camera unit 16 is a part that captures a user facing the display unit 18 as a subject when the image processing device 1 is used. The camera unit 16 is arranged at a position where it can capture a face image of the user facing the display unit 18. For example, the camera unit 16 is arranged on the front of the main body 30 and above the display unit 18 as shown in the figure.

[0052] The input unit 17 is a part that receives operation input from the user. The input unit 17 is implemented, for example, by a plurality of buttons. In the figure, as an example, a switch button to various modes such as small face beauty, smile training, and recording of biological information, and a button for switching the power of the image processing device 1 on / off are illustrated.

[0053] The external appearance structure of the image processing device 1 has been described above. However, this structure is only an example, and the external appearance structure of the image processing device 1 is not limited to this example.

[0054] For example, the image processing device 1 may further include a light emitting unit that emits light to illuminate a user facing the display unit 18. The light emitting unit adjusts the illuminance and color component to illuminate the user, and the image processing device 1 functions as a mirror with illumination. The number of light emitting units may be multiple. In addition, the light emitting unit may be arranged at the upper part or the lower part of the display unit 18, or may be arranged at the entire periphery of the display unit 18.

[0055] In addition, for example, the number and arrangement of the input unit 17 may be changed. In addition, for example, a part of the display unit 18 may be configured as a touch panel, and the input unit 17 and the display unit 18 may be configured integrally.

[0056] [Hardware structure]

[0057] Figure 4 It is a block diagram showing the hardware configuration of the image processing device 1 .

[0058] like Figure 4As shown, the image processing device 1 includes a CPU (Central Processing Unit) 11 as a processor, a ROM (Read Only Memory) 12, a RAM (Random Access Memory) 13, a bus 14, an input / output interface 15, a camera unit 16, an input unit 17, a display unit 18, a storage unit 19, a communication unit 20, a driver 21, and a battery 22.

[0059] The CPU 11 executes various processes in accordance with a program recorded in the ROM 12 or a program loaded from the storage unit 19 into the RAM 13 .

[0060] The RAM 13 also stores data and the like required for the CPU 11 to execute various processes.

[0061] The CPU 11, ROM 12, and RAM 13 are connected to each other via a bus 14. An input / output interface 15 is also connected to the bus 14. The input / output interface 15 is connected to an imaging unit 16, an input unit 17, a display unit 18, a storage unit 19, a communication unit 20, a driver 21, and a battery 22.

[0062] Although not shown in the figure, the camera unit 16 includes an optical lens unit and an image sensor. The optical lens unit is composed of a lens that converges light, such as a focusing lens and a zoom lens, in order to capture an image of a subject. The focusing lens is a lens that forms an image of the subject on the light receiving surface of the image sensor. The zoom lens is a lens that allows the focal distance to be freely changed within a certain range. The camera unit 16 is also provided with a peripheral circuit that adjusts setting parameters such as focus, exposure, and white balance as needed.

[0063] The image sensor is composed of a photoelectric conversion element, an AFE (Analog Front End), etc. The photoelectric conversion element is composed of, for example, a CMOS (Complementary Metal Oxide Semiconductor) type photoelectric conversion element, etc. The subject image is incident on the photoelectric conversion element from the optical lens unit. To this end, the photoelectric conversion element performs photoelectric conversion (imaging) on ​​the subject image, accumulates the image signal for a certain period of time, and sequentially supplies the accumulated image signal to the AFE as an analog signal. The AFE performs various signal processing such as A / D (Analog / Digital) conversion processing on the analog image signal. A digital signal is generated through various signal processing and output as an output signal of the imaging unit 16. Such an output signal of the imaging unit 16 is suitably supplied to the CPU 11, etc.

[0064] The input unit 17 is composed of various buttons, a microphone, and the like, and inputs various information in accordance with instruction operations and instruction sounds of the user.

[0065] The display unit 18 is composed of a liquid crystal display or the like, and displays an image corresponding to the image data output by the CPU 11 .

[0066] The storage unit 19 is composed of a semiconductor memory such as DRAM (Dynamic Random Access Memory), and stores various data.

[0067] The communication unit 20 performs communication control so that the CPU 11 can communicate with other devices (for example, each server included in the server group 3 ) via the network 2 .

[0068] The drive 21 is composed of an interface capable of mounting the removable medium 100. The removable medium 100 composed of a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory is preferably mounted in the drive 21. Various data such as a program and image data for executing the composite display processing described later are stored in the removable medium 100. The program and image data read from the removable medium 100 by the drive 21 are installed in the storage unit 19 as needed.

[0069] The battery 22 is configured to be rechargeable by supplying power to each unit and being connected to an external power source. When the image processing device 1 is not connected to an external power source, the image processing device 1 is operated by the power of the battery 22 .

[0070] In addition to the above-mentioned hardware, the image processing device 1 may include other hardware. For example, the image processing device 1 may include an output unit that outputs light, sound or vibration signals, such as a lamp, a speaker or a vibration motor.

[0071] [Functional structure]

[0072] Figure 5 This is a functional block diagram showing a functional configuration for executing image processing among the functional configurations of the image processing device 1. Image processing is a series of processes performed by the image processing device 1 to display an image based on changes in feature points acquired from a user.

[0073] First, the storage unit 19 storing various information is described. Figure 5 As shown, in one area of ​​the storage unit 19 , a guidance information storage unit 191 , an avatar information storage unit 192 , an actual measurement information storage unit 193 , and an evaluation result information storage unit 194 are set.

[0074] Various data related to the guidance in the display process is stored in the guidance information storage unit 191. For example, the guidance information storage unit 191 stores data of a guide image, text data, and sound data for generating guidance information displayed in the display process.

[0075] In particular, in the present embodiment, the guidance information storage unit 191 stores information on the trajectory to be drawn by the above-mentioned feature points in the skin massage as a beauty treatment. In addition, the guidance information storage unit 191 stores information on the ideal distance, i.e., distance information, as the distance between the above-mentioned feature points. More specifically, the distance information may be information on an ideal distance that changes due to deformation of the face portion accompanying the massage. Furthermore, the guidance information storage unit 191 stores timing information on the timing that should be taken as the timing of the change in the action during the massage.

[0076] In addition, the guidance information storage unit 191 also stores the order of displaying a plurality of guidance information in a series of guidance, conditions for switching the displayed guidance information to the next guidance information, data for generating various user interfaces, etc. Furthermore, the guidance information storage unit 191 stores user configuration information generated by the display process. In addition, the guidance image may be pre-generated image data, CG (Computer graphics) generated in real time based on calculations, etc.

[0077] The avatar information storage unit 192 stores various data related to an avatar that serves as a substitute for the user's real image. For example, the avatar information storage unit 192 stores data of an avatar image used to generate an avatar image displayed in the synthetic display process, and conditions for which avatar image to display in instructions, etc. In addition, the avatar image can be pre-generated image data, or it can be CG generated in real time based on calculations. The avatar image is, for example, an image that imitates a human or animal character. In addition, any number of avatar images can be prepared, and can be appropriately selected according to the user's attributes (such as the user's gender, age, hobbies) and the content of the instructions. In addition, the avatar image can be a continuous group of images used to realize the animation display of a character, etc. In addition, in order to facilitate reading when implementing a series of instructions, each data can also be stored as a library for each instruction.

[0078] The measured information storage unit 193 stores the feature points detected by the detection unit 113 and the positions of the reference points included in the feature points, and further stores the measured information such as the distances between the feature points calculated by the comparison unit 115. In particular, the measured information storage unit 193 may store the initial values ​​of the coordinates of the feature points including the reference points and the initial values ​​of the distances between the feature points before the start of the massage as a beauty treatment as the distance information. More specifically, the distance information may be information on the distance that changes due to the deformation of the face portion accompanying the massage.

[0079] The evaluation result information storage unit 194 stores information for the evaluation unit 116 to generate evaluation result information based on the comparison result of the tracking result of the movement of the feature point by the comparison unit 115 and the preset trajectory information, information for displaying the evaluation result, information indicating the evaluation result, etc. The evaluation process of the evaluation unit 116 will be described later.

[0080] In addition, each information stored in the guidance information storage unit 191, the avatar information storage unit 192, the actual measurement information storage unit 193, and the evaluation result information storage unit 194 as described above may be stored only in the storage unit 19, but may be appropriately stored in the removable medium 100 via the drive 21. Furthermore, each information stored in the guidance information storage unit 191, the avatar information storage unit 192, the actual measurement information storage unit 193, and the evaluation result information storage unit 194 may be appropriately stored in a measurement data storage server included in the server group 3.

[0081] Next, the functional blocks that perform image processing are described. Figure 5 As shown, in the CPU 11 , a setting processing unit 111 , an acquisition unit 112 , a detection unit 113 , a correction unit 114 , a comparison unit 115 , an evaluation unit 116 , and a display control unit 117 function.

[0082] The setting processing unit 111 is a part that performs control of settings related to image processing and display processing. The setting processing unit 111 obtains application software for display processing from an application distribution server included in the server group 3, for example, and activates the application software. In addition, the setting processing unit 111 authenticates the user who performs display processing by communicating with an authentication server included in the server group 3, for example. Furthermore, the setting processing unit 111 updates the configuration information of the user in the display processing by communicating with a measurement data storage server included in the server group 3, for example.

[0083] In addition, the setting processing unit 111 displays a menu for providing guidance based on the application software for performing display processing. For example, a menu including options is displayed, and the options are used to select the content of guidance such as "small face beauty", "smile massage", "measurement of biological information", "makeup", etc. based on the guidance. In addition, the setting processing unit 111 receives the selection of any guidance content from the user who has referred to the menu via the input unit 17, etc. For example, the selection of "small face beauty" is accepted. Thus, display processing is performed for guidance related to small face beauty. In addition, the so-called small face beauty refers to, for example, lymphatic massage performed by the user on the user's own face to reduce facial swelling by massaging the lymphatic system.

[0084] The acquisition unit 112 acquires an image of a target object captured by the imaging unit 16. In the present embodiment, the "target object" is a human organ, and is preferably a human face, but is not limited thereto.

[0085] The detection unit 113 detects feature points in the real image contained in the image of the object acquired by the acquisition unit 112. In the present embodiment, the so-called "image of the object" is an image including the object itself and its background, and represents the imaging range (camera angle of view) of the imaging unit 16. On the other hand, the so-called "real image" refers to the object itself (or the image area representing the object). In particular, in the present embodiment, the "image of the object" is an image including a human face image, and the so-called "real image of the object" is preferably a real image of a human face, but is not limited to this.

[0086] In addition, the so-called "feature points" are points (or areas) set to detect / recognize the shapes of various parts (eyebrows, eyes, nose, mouth, contours) in the user's face image.

[0087] Figure 6 Examples of the above-mentioned feature points, reference points that serve as references for detecting the feature points, and reference lines are shown. Figure 6 As shown in FIG. 1 , as an example, the feature points are arranged along the outline of the eye, the nose bridge and nose wings, the mouth area, the eyebrows, and the outline of the cheek extending from the eyebrows. In addition, among the feature points, two points at the big corners of the eyes ( Figure 6 E1 and E2), two points at the corners of the mouth ( Figure 6 M1 and M2), two points at both ends of the nose dorsum ( Figure 6 N1 and N2 of the image are candidates for the reference point. In addition, the straight line connecting E1 and E2 (reference line A) and the straight line connecting N1 and N2 (reference line B) are candidates for the reference line. Furthermore, the distance between E1 and E2 is set as the above-mentioned distance information. For example, when the distance between E1 and E2 changes due to a beauty treatment such as massage, the changed distance is compared with the distance information initially set.

[0088] Figure 7 Examples of reference points and reference lines used for each procedure are shown.

[0089] When massaging around the eyes, Figure 7 The characteristic points (E3 and E4) corresponding to the two corners of the eyes surrounded by the inner circle are used as reference points.

[0090] When massaging the temples, Figure 7 The characteristic points (T1 and T2) corresponding to the two eyebrow tips enclosed by the inner circle are used as reference points.

[0091] When massaging the area around your nose, Figure 7 Two characteristic points (N3 and N4) corresponding to the two ends of the nose wings enclosed by the inner circle are used as reference points.

[0092] When massaging your cheeks and mouth, Figure 7 Two feature points (M1 and M2) corresponding to the corners of the mouth surrounded by the inner circle are used as reference points.

[0093] When massaging the entire face, Figure 7 Two feature points (F1 and F2) corresponding to the uppermost part and two feature points (F3 and F4) corresponding to the lowermost part of the cheek contour surrounded by the inner circle are used as reference points.

[0094] The correction unit 114 enlarges or reduces the real image captured by the camera unit 16 according to the tilt of a given rotation angle generated in the face (real image) of the user captured by the camera unit 16 and the distance relationship between the camera unit 16 and the user's face. More specifically, the positional relationship of the plurality of feature points detected by the detection unit 113 is corrected. Fig. 8A as well as Figure 8B 1 is a diagram showing a correction method of the correction unit 114. When correcting the inclination of a horizontal line, as shown in FIG. Fig. 8A As shown in FIG. 1 , the angle between the reference line connecting E1 and E2 and the horizontal straight line is detected, and the image is rotated so that the angle becomes 0°. When correcting the inclination of the vertical line, as shown in FIG. Figure 8B As shown in FIG. 1 , the angle between the reference line connecting N1 and N2 and the straight line in the vertical direction is detected, and the image is rotated so that the angle becomes 0°. When correcting the size of the image, the image is enlarged / reduced so that the distance between E1 and E2 becomes a preset reference distance.

[0095] The comparison unit 115 tracks the movement of the feature points detected by the imaging unit 16 continuously imaging the object, and compares the trajectory obtained as a result of the tracking with the preset trajectory information. The comparison unit 115 may also compare the timing of the movement with the preset timing information.

[0096] Furthermore, the comparison unit 115 may obtain the distance between the detected feature points and compare the distance with the preset distance information. For example, the comparison unit 115 may compare the distance between the reference point and the reference line with the preset distance information.

[0097] Figures 9 to 12 The diagram is a diagram for explaining an example of the distance between the reference point and the reference line used as the comparison target by the comparison unit 115 and the preset distance information.

[0098] Fig. 9 (a) shows an example of finger movement during massage. Figure 7 The massage for the cheeks and mouth area described in the above is as follows: first, the user raises the cheeks upward with the fingers touching the corners of the mouth in the direction (1), expands the fingers to the left and right in the direction (2) to expand the cheeks, and finally returns the fingers that have been expanded to the left and right to the original position in the direction (3) to shrink the cheeks toward the center.

[0099] Before the massage is performed, the real image captured by the camera unit 16 is as follows: Fig. 9 As shown in (b), M1 and M2 are set as reference points. In addition, the distances from M1 and M2 to the reference line connecting the two corners of the eye are set as VR0 and VL0, respectively. Furthermore, the distances from M1 and M2 to the reference line passing through the nasal dorsum are set as HR0 and HL0, respectively. The comparison unit 115 stores the distance information set in these ways in the actual measurement information storage unit 193.

[0100] After starting massage-based treatments, Fig.10 As shown in (a), it means that by carrying out the activities of (1), such as Fig.10 As shown in (b), the distance changes, VR0 changes to VR1, VL0 changes to VL1, HR0 changes to HR1, and HL0 changes to HL1. Compared with the distance information caused by these changes, Fig.10 In the example shown in (b), VR0>VR1, VL0>VL1, HR0≤HR1, and HL0≤HL1.

[0101] Next, if Fig.11 As shown in (a), by referring to the activity of (2), such as Fig.11 As shown in (b), the distance changes, VR1 changes to VR2, VL1 changes to VL2, HR1 changes to HR2, and HL1 changes to HL2. If these are compared with the distance information, then Fig.11In the example shown in (b), VR0≤VR2, VL0≤VL2, HR0<HR2, HL0<HL2.

[0102] Finally, if Fig.12 As shown in (a), by referring to the activity of (3), such as Fig.12 As shown in (b), the distance changes, VR2 changes to VR3, VL2 changes to VL3, HR2 changes to HR3, and HL2 changes to HL3. If these are compared with the distance information, then Fig.12 In the example shown in (b), VR0=VR3, VL0=VL3, HR0≥HR3, HL0≥HL3. In addition, in the movement of each feature point, in the judgment of "=", "≤", "≥", it does not mean that the position of the feature point is strictly the same, and a certain degree of error is also taken into consideration.

[0103] The evaluation unit 116 evaluates the comparison result of the comparison unit 115 and generates an evaluation result. For example, the evaluation unit 116 may generate an evaluation result based on the consistency between the trajectory of the tracking result of the movement of the feature point and the pre-set trajectory information. In addition, the evaluation unit 116 may generate an evaluation result based on the consistency between the timing of the movement of the feature point and the pre-set timing information. Furthermore, the evaluation unit 116 may generate an evaluation result based on the consistency between the distance between the detected multiple feature points and the distance information. Furthermore, the evaluation unit 116 may store these evaluation results in the evaluation result information storage unit 194, and generate further evaluation results based on the historical records of the evaluation results stored in the evaluation result information storage unit 194.

[0104] The display control unit 117 functions as an output unit and performs processing such as outputting the above-mentioned comparison results, evaluation results, and evaluation result history to the display unit 18. In addition, the display control unit 117 may be referred to as "output unit 117" hereinafter.

[0105] In addition, the display control unit 117 performs a process of switching between a first display mode in which the user image is displayed as the main image and a composite image obtained by synthesizing the avatar image and the guide image is displayed as the sub-image and a second display mode in which the user image is displayed as the sub-image and a composite image obtained by synthesizing the avatar image and the guide image is displayed as the main image. Figure 2As shown in the figure, the avatar image and the guide image as the composite image are displayed as the main image in the center of the screen in a large size, and the user image is displayed as the sub-image in the lower part of the screen in a smaller size than the main image. Conversely, the user image can be displayed as the main image in the center of the screen in a large size, and the avatar image and the guide image as the composite image can be displayed as the sub-image in the lower part of the screen in a smaller size than the main image.

[0106] In addition, the display control unit 117 can automatically configure and display the direction the user should face, the massage method, and the biological information in a series of guidance in an area that does not overlap with the user's mirror image face or the face of the substitute image. In addition, the display control unit 117 can also output the guidance information in other methods besides display. For example, the display control unit 117 can read the guidance information containing sound data and output the sound and music generated from the read guidance information from the speaker. In addition to this, for example, the display control unit 117 can also change the light-emitting state of the light-emitting unit.

[0107] [Image Processing]

[0108] Figures 13A to 13F It indicates that Figure 5 Functional structure Figure 1 A flowchart showing an example of the overall flow of the first image processing executed by the image processing apparatus 1.

[0109] In step S1 , the setting processing unit 111 performs initial setting. For example, the setting processing unit 111 downloads personal data set for each user ID from the authentication server included in the server group 3 .

[0110] In step S2 , the setting processing unit 111 performs a startup process for displaying a menu screen on the display unit 18 .

[0111] In step S3, the user selects each massage, and when this is detected (S3 "Yes"), the process moves to step S4. If the user has not selected each massage and the selection is not detected (S3 "No"), the process moves to step S3.

[0112] In step S4, the display control unit 117 causes the display unit 18 to display “face position alignment” for aligning the position of the face of the user when performing massage.

[0113] In step S5 , the detection unit 113 detects the coordinates of the characteristic points of the normal face (including E1 , E2 , N1 , N2 , M1 , and M2 as the reference points in the above-mentioned example).

[0114] In step S6 , the comparison unit 115 calculates the distance between the reference point and the reference line ( VR0 , VL0 , HR0 , HL0 , HE0 in the above example).

[0115] In step S7, when the detection of the feature points is completed (S7: Yes), the process proceeds to step S8. When the detection of the feature points is not completed (S7: No), the process proceeds to step S5.

[0116] In step S8 , the comparison unit 115 stores the coordinates of the reference point detected in step S5 and the data on the distances of the reference points calculated in step S6 in the actual measurement information storage unit 193 .

[0117] In step S9 , the setting processing section 111 sets the score value S as the evaluation result counted by the score counter to zero.

[0118] In step S10 , the setting processing section 111 sets the massage repetition count value L counted by the repetition counter to zero.

[0119] In step S11 , the display control unit 117 displays massage guidance using the CG avatar.

[0120] In step S12 , the display control unit 117 displays an instruction to the user to start massage.

[0121] In step S13, the setting processing unit 111 sets the time value (C) of the massage as a whole. Fig.10 The timing value after massage of (a) is set to C=1, and the Fig.11 The timing value after massage of (a) is set to C=2, and the Fig.12 The timing value after massage in (a) is set to C=3. Since the current time point is before the massage, the timing value C counted by the timing counter is set to 0.

[0122] In step S14 , the display control unit 117 displays the timing of the massage on the display unit 18 , and generates a voice guidance through a voice generating unit (not shown).

[0123] In step S15, when the timing value C counted by the timing counter is any one of 0 to 2 (S15: 0 to 2), the process proceeds to step S16. When the timing value C is 3 (S15: 3), the process proceeds to step S17.

[0124] In step S16 , the detection unit 113 detects the coordinates of the feature points (reference points E1 , E2 , N1 , N2 , M1 , and M2 in the above example).

[0125] In step S17, the repetition count value L counted by the repetition counter is incremented by 1. Thereafter, the process proceeds to step S13.

[0126] In step S18, the correction unit 114 corrects the size of the feature point set using the reference points of the normal face. At this time, the correction is performed so that the size of HE (= E2 - E1) becomes HE0 in the normal state.

[0127] In step S19, the correction unit 114 corrects the inclination of the feature point set using the reference points of the normal face. More specifically, the correction unit 114 corrects the inclination of the feature point set so that the horizontal line passing through E1 and E2 becomes horizontal and the vertical line passing through N1 and N2 becomes vertical.

[0128] In step S20 , the comparison unit 115 calculates the distances related to the reference points (VR1 , VL1 , HR1 , and HL1 in the above example).

[0129] In step S21, when the detection by the detection unit 113 is completed (S21: Yes), the process proceeds to step S22. On the other hand, when the detection is not completed (S21: No), the process proceeds to step S16.

[0130] In step S22, the value of C is detected. When C=0 (S22: 0), the process proceeds to step S23. When it is other than 0, for example, when C=1 or 2 (S22: 1 or 2), the process proceeds to step S27.

[0131] In step S23, Fig. 9 In the operation (1) of (a), when the positions of the detected feature points VR0, VL0, HR0, and HL0 are respectively VR0>VR1, VL0>VL1, HR0≤HR1, and HL0≤HL1 (S23 "Yes"), the process moves to step S24. In other cases (S23 "No"), the process moves to step S25.

[0132] In step S24 , the comparison unit 115 calculates the rate of change VR from VR0 to VR1 and the rate of change VL from VL0 to VL1 using the following equations (1) and (2).

[0133] VR=(1-(VR1 / VR0))*100(1)

[0134] VL=(1-(VL1 / VL0))*100 (2)

[0135] Thereafter, the process proceeds to step S36.

[0136] In step S25, Fig. 9If the time required for the procedure of (a) or (1) exceeds the predetermined time limit (S25: Yes), the process proceeds to step S26. If it is within the time limit (S25: No), the process proceeds to step S23.

[0137] In step S26 , the evaluation unit 116 subtracts 1 from the score value S which is the evaluation result. Thereafter, the process proceeds to step S14 .

[0138] In step S27, when the value of C is 1 (S27: 1), the process proceeds to step S28. When the value of C is 2 (S27: 2), the process proceeds to step S32.

[0139] In step S28, Fig. 9 In the operation (2) of (a), when the positions of the detected feature points VR0, VL0, HR0, and HL0 are respectively VR0≤VR2, VL0≤VL2, HR0<HR2, and HL0<HL2 (S28 "Yes"), the process moves to step S29. In other cases (S28 "No"), the process moves to step S30.

[0140] In step S29, the comparison unit 115 calculates the change rate HR from HR0 to HR2 and the change rate HL from HL0 to HL2 using the following equations (3) and (4).

[0141] HR=(1-(HR2 / HR0))*100(3)

[0142] HL=(1-(HL2 / HL0))*100(4)

[0143] Thereafter, the process proceeds to step S36.

[0144] In step S30, Fig. 9 If the time required for the procedure of (a) to (2) exceeds the predetermined time limit (S30: Yes), the process proceeds to step S31. If it is within the time limit (S30: No), the process proceeds to step S28.

[0145] In step S31 , the evaluation unit 116 subtracts 1 from the score value S as the evaluation result. Thereafter, the process proceeds to step S14 .

[0146] In step S32, Fig. 9In the operation (3) of (a), when the positions of the detected feature points VR0, VL0, HR0, and HL0 are respectively VR0=VR3, VL0=VL3, HR0≥HR3, and HL0≥HL3 (S32 "Yes"), the process moves to step S33. In other cases (S32 "No"), the process moves to step S34.

[0147] In step S33, the comparison unit 115 calculates the change rate HR from HR3 to HR0 and the change rate HL from HL3 to HL0 using the following equations (5) and (6).

[0148] HR=(1-(HR0 / HR3))*100(3)

[0149] HL=(1-(HL0 / HL3))*100(4)

[0150] Thereafter, the process proceeds to step S36.

[0151] In step S34, Fig. 9 If the time required for the procedure of (a) to (3) exceeds the predetermined time limit (S34: Yes), the process proceeds to step S35. If it is within the time limit (S34: No), the process proceeds to step S32.

[0152] In step S35 , the evaluation unit 116 subtracts 1 from the score value S which is the evaluation result. Thereafter, the process proceeds to step S14 .

[0153] In step S36, when VR>10% and VL>10% (S36 "Yes"), the process proceeds to step S37. Otherwise (S36 "No"), the process proceeds to step S38.

[0154] In step S37, the evaluation unit 116 adds 10 to the score value S as the evaluation result. Thereafter, the process proceeds to step S41.

[0155] In step S38, when VR>5% and VL>5% (S38 "YES"), the process proceeds to step S39. Otherwise (S38 "NO"), the process proceeds to step S40.

[0156] In step S39 , the evaluation unit 116 adds 5 to the score value S as the evaluation result. Thereafter, the process proceeds to step S41 .

[0157] In step S40 , the evaluation unit 116 adds 1 to the score value S as the evaluation result. Thereafter, the process proceeds to step S41 .

[0158] In step S41 , the display control unit 117 displays the score value S, and the sounding unit (not shown) sounds the score value S.

[0159] In step S42 , the setting processing unit 111 adds 1 to the timing value C counted by the timing counter.

[0160] In step S43 , the comparison unit 115 stores the coordinates of the reference point and the data of the measured value of the distance related to the reference point in the actual measurement information storage unit 193 .

[0161] In step S44, when the repetition count value L counted by the repetition counter exceeds 3 (S44: Yes), the process proceeds to step S45. When the repetition count value L does not exceed 3 (S44: No), the process proceeds to step S14.

[0162] In step S45, when the massage is finished (S45: Yes), the process proceeds to step S46. Otherwise (S45: No), the process proceeds to step S3.

[0163] In step S46 , the image processing apparatus 1 turns off the power supply.

[0164] Figure 14A to Figure 14B Is has Figure 5 Functional structure Figure 1 1 is a flowchart showing an example of the overall flow of the second image processing executed by the image processing device 1. The second image processing is image processing executed when the user performs massage for a long time.

[0165] In step S51, the configuration processing unit 111 inquires the server group 3 to perform personal authentication of the user.

[0166] In step S52, if the authentication is OK (S52: Yes), the process proceeds to step S53. If the authentication is NG (S52: No), the process proceeds to step S51.

[0167] In step S53 , the setting processing unit 111 reads the target number of days set as the number of days for which the user continuously massages from the server group 3 .

[0168] In step S54, the setting processing unit 111 reads the number of consecutive days, which is the number of days of continuous massage, from the server group 3 based on the flag attached to the history of the actual measurement data, that is, the implementation flag indicating whether the massage was implemented.

[0169] In step S55, when the number of consecutive days is less than the target number of days (S55: Yes), the process proceeds to step S56. When the number of consecutive days is greater than the target number of days (S55: No), the process proceeds to step S57.

[0170] In step S56 , the display control unit 117 displays the number of days until the target day, that is, the number of days obtained by subtracting the number of consecutive days from the target day, on the display unit 18 .

[0171] In step S57, the setting processing unit 111 adds the target number of days. For example, the setting processing unit 111 adds 28 days, which is four weeks, to the target number of days at the current time point.

[0172] In step S58, when it is detected that the operation is started (S58: Yes), the process proceeds to step S59. When it is detected that the operation is not started (S58: No), the process proceeds to step S58.

[0173] In step S59, the image processing apparatus 1 executes Figures 13A to 13F The processing of steps S1 to S46 described above is regarded as a cosmetic surgery determination processing.

[0174] In step S60, when the end of the treatment is detected (S60: Yes), the process proceeds to step S61. When the end of the treatment is not detected (S60: No), the process proceeds to step S59.

[0175] In step S61 , the evaluation unit 116 stores the score value S after the operation is completed in the evaluation result information storage unit 194 .

[0176] In step S62, when the score value S of this time is equal to or greater than a certain value (S62: Yes), the process proceeds to step S63. When the score value S of this time is less than a certain value (S62: No), the process proceeds to step S64.

[0177] In step S63 , the setting processing unit 111 stores, in the server group 3 , a flag indicating that a procedure that results in a score value S of a certain value or more has been performed.

[0178] In step S64, the setting processing unit 111 calculates the number of consecutive implementation days.

[0179] In step S65, when the number of consecutive days is equal to or greater than the target number of days (S65: Yes), the process proceeds to step S66. When the number of consecutive days is less than the target number of days (S65: No), the process proceeds to step S67.

[0180] In step S66 , the display control unit 117 displays the goal achievement on the display unit 18 .

[0181] In step S67, when the end of the procedure is detected (S67: Yes), the process proceeds to step S68. When the end of the procedure is not detected (S67: No), the process proceeds to step S58.

[0182] In step S68 , the setting processing unit 111 stores the target number of days in the server group 3 .

[0183] The image processing device 1 of the present embodiment described above includes an acquisition unit 112, a detection unit 113, a comparison unit 115, and an output unit (display control unit) 117. The acquisition unit 112 acquires an image of a photographed object. The detection unit 113 detects feature points in a real image of the object contained in the image of the photographed object. The comparison unit 115 compares the trajectory of the tracking result of the movement of the feature points of the real image contained in the object acquired by the acquisition unit 112 with pre-set trajectory information to obtain a comparison result. The output unit 117 outputs the comparison result.

[0184] Thus, by comparing the trajectory of movement of the feature point of the object detected by the camera with the preset trajectory information, it is possible to determine whether the operation on the object has been performed correctly.

[0185] In addition, the detection unit 113 detects a plurality of feature points, and the comparison unit 115 obtains the distance between the detected plurality of feature points and compares the distance with the pre-set distance information. Thus, it is possible to obtain the extent to which the distance between the feature points has changed compared with the initial setting value, and it is possible to determine whether the operation on the object has been performed correctly based on the obtained result.

[0186] Furthermore, the imaging is performed during the operation on the object, and the distance information is information about the distance that changes due to the deformation of a part of the object accompanying the operation. Thus, it can be determined whether the operation is performed correctly based on the deformation of the object caused by the operation.

[0187] The image processing device 1 of this embodiment further includes an evaluation unit 116. The evaluation unit 116 evaluates the comparison result of the comparison unit 115 and generates an evaluation result. The output unit 117 also outputs the evaluation result. Thus, the degree to which the operation is performed correctly can be scored based on the changes in each feature point.

[0188] Furthermore, the evaluation unit 116 evaluates the degree of agreement between the distance and the distance information. Thus, the degree to which the procedure is correctly performed can be scored based on the degree to which the distance between each feature point agrees with the preset distance information.

[0189] In addition, the image processing device 1 of this embodiment further includes an evaluation result information storage unit 194. The evaluation result information storage unit 194 stores the history of evaluation results. In addition, the output unit 117 outputs the history of evaluation results stored in the evaluation result information storage unit 194. Thus, the user of the image processing device 1 can know the history of evaluation results, that is, the history of the scoring to what extent the scoring of the operation has been correctly performed so far.

[0190] When the number of consecutive days for which the evaluation unit 116 evaluates the operation as being above a certain level exceeds a preset target number of days, the output unit 117 outputs that the number of consecutive days has exceeded the target number of days. Thus, the user of the image processing device 1 can be motivated to continue performing operations that achieve evaluation results above a certain level.

[0191] Furthermore, the comparison unit 115 compares the timing of the movement with the preset timing information. Thus, the user of the image processing device 1 can know whether the operation is performed at an appropriate timing.

[0192] In addition, the object is a human organ. Therefore, it can be determined whether the massage or other treatment is performed correctly on the human organ.

[0193] In addition, the object is a person's face. Thus, it can be determined whether a massage or the like is correctly performed on the person's face.

[0194] [Modifications]

[0195] The present invention is not limited to the above-described embodiment, and modifications and improvements within the scope of achieving the object of the present invention are included in the present invention. For example, the above-described embodiment can be modified as shown in the following modification examples.

[0196] In the above embodiment, the rate of change of the distance between the feature points is compared with a given value, and the degree to which the operation is correctly performed is scored based on the result of the comparison, but the present invention is not limited to this form. For example, the length of the change in the distance between the feature points may be compared with a given value, and the degree to which the operation is correctly performed may be scored based on the result of the comparison.

[0197] It is also possible to set a structure in which a mirror having a reflective surface is combined with the display unit 18 of the image processing device 1 of the above-mentioned embodiment. In this case, the mirror is realized by a half-reflecting mirror having both transmission characteristics and reflection characteristics as optical characteristics. In addition, the mirror is arranged in an overlapping manner in the direction in which the user is viewing from the front of the display unit 18. With such a configuration, the user, for example, does not view the user image captured by the camera unit 16, but can simultaneously view his own face reflected by the mirror, and various information (such as a composite image) displayed on the display unit 18 and transmitted through the mirror. That is, in the above-mentioned embodiment, the user image captured by the camera unit 16 as a subject is viewed as the real image of the user, but in this modified example, the mirror image of the user reflected by the mirror is viewed as the real image of the user. In this way, the same effect as the above-mentioned embodiment can be achieved.

[0198] <Other Modifications>

[0199] For example, in the above-described embodiment, it is assumed that the image processing device 1 and each server included in the server group 3 cooperate with each other, but the functions of each server may be added to the image processing device 1 so that all processing is performed only in the image processing device 1 .

[0200] In addition, in the above-mentioned embodiment, the electronic device in which the image processing device 1 of the present invention is installed in a portable self-standing mirror is described as an example, but the present invention is not particularly limited to this. For example, the present invention can also be applied to an electronic device installed in a large mirror such as a dressing mirror, an electronic device installed in a stationary washstand, or an electronic device in the shape of a mirror installed in a bathroom.

[0201] The above series of processing skills can be executed by hardware and software. In other words, Figure 5 The functional structure is only an example and is not particularly limited. That is, the image processing device 1 only needs to have a function that can execute the above series of processing as a whole, and what functional blocks are used to implement the function is not particularly limited. Figure 5 .

[0202] In addition, a functional block may be composed of a hardware monomer, a software monomer, or a combination thereof. The functional structure in this embodiment is implemented by a processor that performs arithmetic processing. The processor that can be used in this embodiment includes processors composed of various processing device monomers such as a single processor, a multi-processor, and a multi-core processor, as well as processors that combine these various processing devices, ASICs (Application Specific Integrated Circuits), FPGAs (Field-Programmable Gate Arrays), and other processing circuits.

[0203] When a series of processes are executed by software, a program constituting the software is installed from a network or a recording medium to a computer or the like.

[0204] The computer may be a computer built into dedicated hardware or a computer capable of executing various functions by installing various programs, such as a general-purpose personal computer.

[0205] The recording medium containing such a program is not only distributed separately from the device body in order to provide the program to the user, but also Figure 4The removable medium 100 is composed of a removable medium 100, and a recording medium provided to the user in a state pre-installed in the device body. The removable medium 100 is composed of, for example, a magnetic disk (including a floppy disk), an optical disk, or an optical magneto-optical disk. The optical disk is composed of, for example, a CD-ROM (Compact Disk-Read Only Memory), a DVD, a Blu-ray (registered trademark) Disc, etc. The optical magneto-optical disk is composed of an MD (Mini-Disk), etc. In addition, the recording medium provided to the user in a state pre-installed in the device body is composed of, for example, a recording medium for recording programs. Figure 4 ROM12, Figure 4 , 5 The storage unit 19 is composed of a hard disk and the like.

[0206] In addition, in this description, the steps of the program recorded in the recording medium include processing performed in time series according to the order, but do not necessarily have to be processed in time series, and also include processing performed in parallel or individually. In addition, in this description, the term system means an overall device composed of multiple devices, multiple units, etc.

[0207] Several embodiments of the present invention are described above, but these embodiments are only examples and do not limit the technical scope of the present invention. The present invention can adopt various other embodiments, and can be omitted, replaced, etc. in the scope without departing from the gist of the present invention. These embodiments and their variations are included in the scope and gist of the invention recorded in this description, etc., and are included in the invention recorded in the claims and their equivalents.

[0208] Industrial Applicability

[0209] The present invention is particularly suitable for confirming whether a cosmetic procedure has been performed correctly and / or for quantitatively evaluating the effect of the cosmetic procedure.

[0210] Description of Reference Numerals

[0211] 1. Measuring device

[0212] 2 Network

[0213] 3 Server Farm

[0214] 11 CPU

[0215] 12 ROM

[0216] 13 RAM

[0217] 14 Bus

[0218] 15 Input and output interfaces

[0219] 16 Camera Department

[0220] 17 Input section

[0221] 18 Display

[0222] 19 Storage

[0223] 20 Ministry of Communications

[0224] 21 Drive

[0225] 30 Main body

[0226] 31 Legs

[0227] 32 Hinge

[0228] 100 Removable Media

[0229] 111 Setting Processing Unit

[0230] 112 Acquisition Department

[0231] 113 Testing Department

[0232] 114 Correction Department

[0233] 115 Comparative Department

[0234] 116 Evaluation Department

[0235] 117 Display control unit

[0236] S Image Processing System

Claims

1. An image processing device, characterized in that: have: a detection unit that detects a plurality of feature points in a face image of an object contained in the captured image, wherein the feature points are points provided for detecting shapes of various organs in the face image of the object; a setting unit that sets, for each cosmetic procedure, a reference point and a reference line among the plurality of feature points that serve as a reference when detecting movement of the feature points; a correction unit that corrects the positional relationship of the plurality of feature points based on the distance between the reference points and the inclination of the reference line; an acquisition unit that acquires first distance information between the plurality of feature points at a first timing before the cosmetic surgery is performed, acquires second distance information between the plurality of feature points corrected by the correction unit at a second timing after the cosmetic surgery is performed, and acquires a difference value between the first distance information and the second distance information; and A determination unit determines whether the beauty treatment is being appropriately performed or whether the beauty treatment has been performed based on a difference value between the distance information acquired by the acquisition unit.

2. The image processing device according to claim 1, characterized in that The image processing device comprises: an evaluation unit that generates an evaluation result in which the cosmetic treatment is scored based on the result determined by the determination unit; and An output unit outputs the evaluation result generated by the evaluation unit.

3. The image processing device according to claim 2, characterized in that: It also includes a storage unit that stores the history of the evaluation results. The output unit outputs the history records stored in the storage unit.

4. The image processing device according to claim 2 or 3, characterized in that: When the number of consecutive days in which the evaluation unit evaluates the cosmetic surgery as being equal to or greater than a certain number of days becomes equal to or greater than a preset target number of days, the output unit outputs that the number of consecutive days becomes equal to or greater than the target number of days.

5. An image processing method, performed by a computer, characterized in that: have: A detection step of detecting a plurality of feature points in a face image of an object contained in the captured image, wherein the feature points are points set to detect the shapes of various organs in the face image of the object; A setting step of setting, for each cosmetic procedure, a reference point and a reference line, among the plurality of feature points, which serve as a reference when detecting movement of the feature points; A correction step of correcting the positional relationship of the plurality of feature points based on the distance between the reference points and the inclination of the reference line; an acquisition step of acquiring first distance information between the plurality of feature points at a first timing before performing the cosmetic surgery, acquiring second distance information between the plurality of feature points corrected by the correction step at a second timing after performing the cosmetic surgery, and acquiring a difference value between the first distance information and the second distance information; and The determination step determines whether the beauty treatment is being appropriately performed or whether the beauty treatment has been performed based on a difference value between the distance information acquired in the acquisition step.

6. A storage medium is a non-temporary computer-readable storage medium storing a program, characterized in that: The program enables the computer to: A detection function for detecting a plurality of feature points in a facial image of an object contained in the captured image, wherein the feature points are points set for detecting the shapes of various organs in the facial image of the object; a setting function for setting, for each cosmetic procedure, a reference point and a reference line among the plurality of feature points that serve as a reference when detecting movement of the feature points; A correction function, based on the distance between the reference points and the inclination of the reference line, corrects the positional relationship of the plurality of feature points; an acquisition function for acquiring first distance information between the plurality of feature points at a first timing before performing a cosmetic surgery, acquiring second distance information between the plurality of feature points corrected by the correction function at a second timing after performing the cosmetic surgery, and acquiring a difference value between the first distance information and the second distance information; and The determination function determines whether the beauty treatment is being appropriately performed or whether the beauty treatment has been performed based on a difference value between the distance information acquired by the acquisition function.