Eye / face postoperative wound repair self-nursing method, device and system
By generating a facial chromaticity recognition model and establishing a facial chromaticity scale, it solves the problem that it is difficult for doctors to make personalized assessments and formulate nursing plans, realizes wound repair plans for different patients, and improves the nursing effect.
Patent Information
- Application Number
- CN202310340351.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-31
- Publication Date
- 2024-10-01
Smart Images

Figure CN118737367A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of medical devices, and in particular to a self-care method, device and system for repairing postoperative wounds of the eye or face. Background Art
[0002] As modern people attach more importance to and pursue aesthetic appearance, photoelectric devices based on the principle of selective photothermal action are widely used in clinical practice. While such devices can remove pigments, tighten the skin and remove wrinkles, they are also prone to cause adverse reactions such as local skin redness, swelling, pain, dryness, and even bleeding and scabs.
[0003] In order to obtain the best treatment effect, the early treatment and later care must be effectively combined. At this stage, the later care mainly includes immediate postoperative repair, such as the application of drugs such as hyaluronic gel and liquid dressings to speed up wound repair, as well as the patient's self-care at home. However, due to the heterogeneity of wound types, wound sizes and personal constitutions of different patients, the process of wound recovery and precautions at each stage of recovery are also different. Therefore, during the patient's home care stage, it is necessary to carry out personalized wound repair management for different patients in order to achieve better care effects. Summary of the invention
[0004] In view of the shortcomings of the prior art mentioned above, the purpose of the present application is to provide a self-care method, device, system and equipment for eye / facial postoperative wound repair, which is used to solve the technical problem in the prior art that it is inconvenient for doctors to evaluate the wound status according to the different conditions of different patients during home care and then formulate personalized care and repair plans.
[0005] To achieve the above-mentioned purpose and other related purposes, the present application provides a self-care method for postoperative wound repair of the eye / face, the method comprising: obtaining historical facial images of the patient at different angles and at different stages of postoperative repair, and annotating the skin features in the historical facial images to obtain annotated facial images and annotated data, training the annotated data using a DAF-E network to generate a facial color recognition model based on supervised learning; establishing a facial color scale according to a mapping relationship between facial chromaticity, skin features and the time required for wound recovery; identifying the facial image of the current patient to be cared for based on the trained facial color recognition model to obtain the facial chromaticity and skin features of the current patient to be cared for, and determining the corresponding time required for wound recovery based on the facial chromaticity scale, thereby calculating the total dose of the drug to be sprayed daily.
[0006] In one embodiment of the present application, the method further includes: obtaining facial images of the patient at different angles immediately before and after surgery to determine the postoperative wound area and non-wound area; the non-wound area obtained immediately after surgery is the original wound area, and the wound area in the repair stage is reduced based on the basic range of the original wound area.
[0007] In one embodiment of the present application, the method of using the DAF-E network to train the labeled data to generate a human face color recognition model based on supervised learning includes: dividing the labeled data into a training set and a validation set; using the training set to establish a human face color recognition model based on supervised learning, and using the DAF-E network to analyze the training set to obtain facial relative chromaticity for characterizing skin features; wherein the facial relative chromaticity refers to the chromaticity difference between the facial chromaticity of the wound area and the basic facial chromaticity of the patient's non-wound area; and using the validation set to validate the human face color recognition model to generate a trained human face color recognition model.
[0008] In one embodiment of the present application, the facial image of the current patient to be cared for is identified based on the trained human facial color recognition model to obtain the facial chromaticity and skin features of the current patient to be cared for, and the corresponding time required for wound recovery is determined based on the facial chromaticity scale, including: collecting facial images of the current patient to be cared for at different angles, and using the image feature algorithm in OpenCV to pre-process the facial image of the current patient to be cared for to obtain the facial image to be cared for; inputting the facial image of the current patient to be cared for into the trained human facial color recognition model for identification to obtain the facial chromaticity of the current patient to be cared for, performing facial relative chromaticity analysis based on the basic facial chromaticity of the current patient to be cared for to obtain the corresponding skin features; determining the corresponding time required for wound recovery in combination with the facial chromaticity scale, and calculating the total amount of medicine required to be sprayed per day accordingly.
[0009] In one embodiment of the present application, the historical facial images include: any one or more combinations of the patient's frontal image, left face image, right face image, eye image, left eye image, and right eye image; the skin features include: any one or more combinations of normal skin, red and swollen skin, scabby skin, and detached skin; the annotation data includes: any one or more combinations of facial chromaticity, the position corresponding to the skin feature, the time corresponding to the skin feature, and the area corresponding to different facial chromaticities.
[0010] In one embodiment of the present application, the historical facial images include: any one or more combinations of the patient's frontal image, left face image, right face image, and eye image; the skin features include: any one or more combinations of normal skin, red and swollen skin, scabby skin, and detached skin; the annotation data includes: any one or more combinations of facial chromaticity, the position corresponding to the skin feature, the time corresponding to the skin feature, and the area corresponding to different facial chromaticities.
[0011] To achieve the above-mentioned purpose and other related purposes, the present application provides a self-care device for repairing postoperative wounds of the eye / face, comprising: a model building module, used to obtain historical facial images of patients at different angles at different stages of postoperative repair, and to annotate the skin features in the historical facial images to obtain annotated facial images and annotated data, and to train the annotated data using a DAF-E network to generate a facial color recognition model based on supervised learning; a scale building module, used to establish a facial color scale according to a mapping relationship between facial chromaticity, skin features and the time required for wound recovery; a repair decision module, used to identify the facial image of a current patient to be cared for based on the trained facial color recognition model to obtain the facial chromaticity and skin features of the current patient to be cared for, and to determine the time required for the corresponding wound recovery based on the facial chromaticity scale, thereby calculating the total dose of the drug to be sprayed daily.
[0012] To achieve the above-mentioned purpose and other related purposes, the present application provides a self-care system for repairing postoperative wounds of the eye / face, comprising: a containing device for holding and spraying a solution that can repair postoperative wounds; the containing device is also provided with a communication component; the self-care device for repairing postoperative wounds of the eye / face as described above is used to provide a daily care amount; the self-care device for repairing postoperative wounds of the eye / face is also provided with a communication component to establish a communication connection with the containing device.
[0013] In one embodiment of the present application, the system further includes an image acquisition device for acquiring facial images of the patient to be cared for; wherein the image acquisition device is also provided with a communication component to establish a communication connection with the eye / facial postoperative wound repair self-care device.
[0014] To achieve the above-mentioned purpose and other related purposes, the present application provides a computer device, including: a memory, a processor and a communicator; the memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory so that the device performs the method as described above; the communicator is used to communicate with an external device.
[0015] In summary, the present application provides a method, device and system for self-care of postoperative wound repair of the eye / face, which has the following beneficial effects: Based on supervised machine learning, the present application uses the DAF-E network to construct a facial color recognition model, and customizes personalized wound repair care plans according to the heterogeneity of wound types, wound sizes and personal constitutions of different patients, so as to achieve better self-care effects. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 Shown is a flow chart of a self-care method for repairing postoperative wounds on the eye / face in one embodiment of the present application.
[0017] Figure 2A Displayed is a schematic diagram of historical facial images or facial images of the current patient to be cared for acquired and collected at different angles in one embodiment of the present application.
[0018] Figure 2B Shown is a schematic diagram of wound surface identification after periocular microneedle radiofrequency surgery in one embodiment of the present application.
[0019] Figure 2C Shown is a schematic diagram of wound surface identification after facial fractional laser surgery in one embodiment of the present application.
[0020] Figure 3A Shown is a schematic diagram of different stages of self-care for eye wounds in one embodiment of the present application.
[0021] Figure 3B Shown is a schematic diagram of different stages of facial wound self-care in one embodiment of the present application.
[0022] Figure 4A Shown is a schematic diagram of annotating a facial image in an embodiment of the present application.
[0023] Figure 4B Shown is a schematic diagram of the process of using the DAF-E network to perform feature extraction in one embodiment of the present application.
[0024] Figure 5 Shown is a schematic diagram of a facial color scale in one embodiment of the present application.
[0025] Figure 6 Shown is a module schematic diagram of a self-care device for repairing postoperative wounds on the eye / face in one embodiment of the present application.
[0026] Figure 7 Shown is a schematic structural diagram of a self-care system for eye / facial postoperative wound repair in one embodiment of the present application.
[0027] Figure 8Shown is a schematic diagram of the structure of a computer device in one embodiment of the present application. DETAILED DESCRIPTION
[0028] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.
[0029] It should be noted that in the following description, with reference to the accompanying drawings, several embodiments of the present application are described in the accompanying drawings. It should be understood that other embodiments may also be used, and mechanical composition, structure, electrical and operational changes may be made without departing from the spirit and scope of the present application. The following detailed description should not be considered restrictive, and the scope of the embodiments of the present application is limited only by the claims of the published patents. The terms used here are only for describing specific embodiments and are not intended to limit the present application. Spatially related terms, such as "upper", "lower", "left", "right", "below", "below", "lower", "above", "upper", etc., may be used in the text to facilitate the description of the relationship between an element or feature shown in the figure and another element or feature.
[0030] Throughout the specification, unless otherwise clearly specified and limited, the terms "install", "connect", "connect", "fix", "hold" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be the internal communication of two components. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0031] Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise. The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments described here can be implemented in an order other than that illustrated or described here. It should be further understood that the terms "comprising" and "including" indicate the presence of the described features, operations, elements, components, items, kinds, and / or groups, but do not exclude the presence, occurrence or addition of one or more other features, operations, elements, components, items, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Therefore, "A, B or C" or "A, B and / or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition occur only when a combination of elements, functions, or operations are inherently mutually exclusive in some manner.
[0032] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the technical solution in the embodiments of the present invention is further described in detail through the following embodiments and in combination with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the invention.
[0033] like Figure 1 , which is a flow chart of a self-care method for repairing postoperative wounds of the eye / face in one embodiment of the present application, the method comprises the following steps:
[0034] Step S1: Obtain historical facial images of patients at different angles and at different stages of postoperative repair, and annotate the skin features in the historical facial images to obtain annotated facial images and annotated data, and use the DAF-E network to train the annotated data to generate a facial recognition model based on supervised learning.
[0035] In one embodiment of the present application, 1,000 or more historical facial images of patients at different angles and different recovery stages after periocular microneedle radiofrequency surgery and facial fractional laser surgery are collected.
[0036] like Figure 2A As shown, it is a schematic diagram showing the historical facial images or the facial images of the current patient to be cared for acquired and collected at different angles in one embodiment of the present application; Figure 2B As shown, it is a schematic diagram showing wound surface identification after periocular microneedle radiofrequency surgery in one embodiment of the present application; Figure 2C, which is a schematic diagram of wound surface identification after facial fractional laser surgery in one embodiment of the present application.
[0037] In one embodiment of the present application, the historical facial images at different angles include: any one or more combinations of the patient's frontal image, left side face image, right side face image, eye image, left eye image, and right eye image. Figure 3A , 3B As shown. Figure 3A As shown, it is a schematic diagram showing different stages of self-care for eye wounds in one embodiment of the present application; Figure 3B , which is a schematic diagram showing different stages of facial wound self-care in one embodiment of the present application.
[0038] It should be noted that the human face is the whole including the face and eyes; the face includes the cheeks and forehead; the eyes include the parts around the eyes. The facial chromaticity includes: facial chromaticity and eye chromaticity.
[0039] In one embodiment of the present application, the skin characteristics include: any one or more combinations of normal skin, red and swollen skin, scabby skin, and detached skin.
[0040] For example, when the patient has yellow skin, the swollen skin is red, the scabby skin is dark red or black, and the detached skin is white to light red; the facial chromaticity of the non-wound area includes: normal skin is the basic facial chromaticity of the patient.
[0041] It should be noted that, by using an image annotation tool to respectively annotate the categories and positions of the skin features in the historical face images, annotated data and annotated face images (such as Figure 4A As shown). The annotated face image is obtained by selecting the category of skin features in the acquired historical face image using an image annotation tool, such as Figure 4A As shown; the annotation data is descriptive information automatically generated by an image annotation tool, including facial chromaticity, the position corresponding to the skin feature, the time corresponding to the skin feature, the area corresponding to different facial chromaticities, etc., for training a supervised learning network.
[0042] It should be noted that the image annotation tools include: Labelme, Labelimg, yolo_mark, Vatic, Sloth, Annotorious, RectLabel, VoTT, images_annotation_programme, etc. Preferably, the present application uses Labelimg software to select the symbols in the pure tone audiogram and mark their categories, because the software supports Windows.exe operation, supports common shortcut key operations, and the xml file format finally saved by the software is the same as the ImageNet dataset.
[0043] In addition, in order to improve the accuracy of training, the experiment annotated more than 500 historical face images. The more annotated data and annotated face images are obtained, the more accurate the facial recognition model trained in the end will be.
[0044] In one embodiment of the present application, the method further includes: obtaining facial images of the patient at different angles immediately before and after surgery to determine the postoperative wound area and non-wound area; the non-wound area obtained immediately after surgery is the original wound area, and the wound area in the repair stage is reduced based on the basic range of the original wound area.
[0045] It should be noted that obtaining facial images of the patient at different angles before and after surgery can distinguish the postoperative wound area from the non-wound area. For example, by comparing the images before and after surgery, the patient's birthmarks, spots, moles and other non-wound areas can be distinguished from the postoperative wound area. The non-wound area obtained immediately after surgery is the original wound area, which is the largest wound area after surgery. The wound area in the repair stage will be reduced in this range.
[0046] It should be noted that the "immediately before and after surgery" refers to obtaining facial images from the same multiple angles before and after the surgery to distinguish the wound area from the non-wound area. For example, the "immediately" may refer to a time interval of no more than two hours before and after the surgery, or may refer to the same day.
[0047] In one embodiment of the present application, the use of the DAF-E network to train the labeled data to generate a human face recognition model based on supervised learning includes the following steps:
[0048] 1) Divide the labeled data into a training set and a validation set.
[0049] 2) Using the training set to establish a human face color recognition model based on supervised learning, and using the DAF-E network to analyze the training set to obtain the relative facial chromaticity for characterizing skin features; wherein the relative facial chromaticity refers to the chromaticity difference between the facial chromaticity of the wound area and the basic facial chromaticity of the patient.
[0050] It should be noted that the DAF-E network is used to process images to extract skin features. It is an improved DAF-NET-Edge (DAF-E) network based on the existing DAF-NET network. Since the existing DAF-NET network segmentation speed is slow, the improved DAF-E network adopted in this application is suitable for the mobile terminal edge computing scenario that does not rely on the Internet.
[0051] It should be noted that the existing DAF-NET model uses a total of 4 modules consisting of a continuous 4-layer attention model, while the improved DAF-E in this application mainly reduces it to 1 module, that is, it is only used in the deepest layer features. The DAF-E network is first spliced through the upsampling part, and then a convolution module is connected to achieve dimensionality reduction to be consistent with the number of channels in the last layer of downsampling, and the processed result is obtained through the attention module.
[0052] like Figure 4B , which is a schematic diagram of a process of feature extraction using a DAF-E network in one embodiment of the present application.
[0053] Specifically, the first half of the DAF-E network is the FPN feature extraction network, which is divided into 5 layers according to the image size. Each layer consists of several groups of 3*3 convolutional layers, average pooling layers and linear excitation layers RELU. The size of each layer's feature map is halved by downsampling, and the feature dimension is twice that of the previous layer. The right half of the DAF-E network is upsampling or feature interpolation, which increases the feature size and reduces the feature dimension.
[0054] It should be noted that downsampling is mainly to make the image fit the size of the display area and generate a corresponding thumbnail, while upsampling is to enlarge the original image so that it can be displayed on a display device with a higher resolution.
[0055] It should be noted that sparse training is used to achieve network pruning optimization and compression.
[0056] Specifically, in order to achieve pruning optimization compression of the network, 100 rounds of sparse training must be performed first. The image feature algorithm (for example: Harr classifier) for processing the patient's facial image and the DAF-E network need to complete their own sparse training separately. Sparse training is based on normal training, and L1 regularization constraints are applied to the BN layer scaling factor and convolution weight coefficient in the loss function, so that after a certain number of rounds of sparse training, the numerical distribution of most BN layer scaling factors and convolution layer weight coefficients is concentrated near 0.
[0057] In addition, due to the characteristics of multiple lesions on the face, they have independent labels, so it is a multiple segmentation problem. Therefore, a combination of the cross entropy loss function and the diceloss nonlinear loss function is used to solve the problem of imbalanced foreground / background segmentation labels. During inference, for some areas where multiple blocks overlap, the voting method is used to determine the final pixel value output by the network model. The probability of a certain skin feature at a certain pixel point is:
[0058]
[0059] Among them, I represents the number of blocks containing the pixel, p(x n ) is the point in the block that belongs to x n The probability of the category, the final category of this point is:
[0060] P=X n if P(X n )≥max{P(X 0 )...P(X n )};
[0061] Among them, when the probability value of a certain skin feature at this point is greater than that of other features, the value corresponding to the feature is used as the final output of the network; 0 represents the background (or the non-wound area of the patient's face), and i=1, 2, 3...n represents the wound area of the patient's face.
[0062] It should be noted that the labeled data can also be trained using an image classification method to generate a human face recognition model based on supervised learning, and the image classification method includes: KNN, SVM, BP neural network, CNN and transfer learning, etc. Preferably, the present application uses a support vector machine SVM for image classification, because SVM can improve the generalization ability of the learning machine by seeking the minimum structured risk, and achieve the minimization of empirical risk and confidence range, so as to achieve the purpose of obtaining good statistical laws even when the statistical sample size is small.
[0063] 3) Using the verification set to verify the human face recognition model to generate a trained human face recognition model.
[0064] It should be noted that the human face recognition model is verified using a verification set, and when the loss function meets a preset condition, a trained human face recognition model is obtained.
[0065] It should be noted that the ratio of data samples in the training set to the validation set can be 9:1 or 8:2, and the sample data in the training set preferably accounts for more than 70% of all historical health data. This application uses 80% of the labeled data as the training set and 20% as the validation set as an example for explanation.
[0066] Step S2: establishing a facial chromaticity scale according to the mapping relationship between facial chromaticity, skin characteristics and the required recovery time of the wound surface.
[0067] In one embodiment of the present application, the facial chromaticity includes the facial chromaticity of the wound area and the facial chromaticity of the non-wound area; and the skin features are judged based on the relative facial chromaticity.
[0068] It should be noted that the facial chromaticity includes facial chromaticity and eye chromaticity; different eye care or facial care analyses can be performed according to the different surgeries performed on the patient. If the patient has undergone microneedle radiofrequency surgery around the eyes, only the eye skin can be identified and analyzed; if the patient has undergone facial fractional laser surgery, only the facial skin can be identified and analyzed.
[0069] For example, when the patient has yellow skin, the facial chromaticity of the wound area includes: red for swollen skin, dark red or black for scabby skin, and white to light red for detached skin; the facial chromaticity of the non-wound area includes: normal skin is the basic facial chromaticity of the patient. The relative facial chromaticity and the skin features shown will vary depending on the patient's basic skin color.
[0070] like Figure 5 , which is a schematic diagram of a facial color scale in one embodiment of the present application.
[0071] It should be noted that the relative chromaticity of the face is used to characterize skin features and will vary according to the skin color of the patient. The corresponding recovery time can be obtained through machine learning training.
[0072] For example, when the patient has yellow skin, the postoperative repair stage includes: redness, swelling, scab, scab removal, etc., and the corresponding relative chromaticity difference of the face from large to small is: scab, redness, swelling, scab removal.
[0073] Step S3: Based on the trained human facial color recognition model, the facial image of the current patient to be cared for is recognized to obtain the facial chromaticity and skin features of the current patient to be cared for, and the time required for the corresponding wound surface to recover is determined based on the facial chromaticity scale, thereby calculating the total dose of the drug required for spraying per day.
[0074] In an embodiment of the present application, step S3 specifically includes:
[0075] 1) Collect facial images of the patient to be cared for at different angles, and use the image feature algorithm in OpenCV to preprocess the facial images of the patient to be cared for to obtain the facial images to be cared for.
[0076] It should be noted that the image feature algorithms include: LBP feature detection algorithm, HOG feature detection algorithm, Harr feature detection algorithm, etc.
[0077] It should be noted that the preprocessing includes screening and cutting.
[0078] Specifically, the screening includes: eliminating and filtering out images that are obviously blurred or have unclear faces; and the cropping includes: cropping out the face portion of the image.
[0079] 2) Inputting the facial image of the current patient to be cared for into the trained human face color recognition model for recognition to obtain the facial chromaticity of the current patient to be cared for, and performing facial relative chromaticity analysis based on the basic facial chromaticity of the current patient to be cared for to obtain corresponding skin features.
[0080] For example, the number and proportion of each facial chromaticity are counted through a color histogram. The color histogram refers to the proportion of different colors in the entire image, reflecting the statistical characteristics of the image color distribution.
[0081] 3) Determine the time required for the corresponding wound surface to recover based on the facial color scale, and calculate the total amount of medicine required to be sprayed per day.
[0082] In one embodiment of the present application, the total dose of the drug required for spraying per day is calculated by multiplying the weighted sum of the recovery proportion corresponding to different skin features and the area occupied by different facial chromaticities by the spraying coefficient.
[0083] Specifically, the total dose of the drug required for spraying per day is expressed as:
[0084] D=(W c1 *S c1 +W c2 *S c2 +W c3 *S c3 +…)*d;
[0085] Among them, W cn Indicates the restoration proportion corresponding to different relative chromaticity of the face; S cn It represents the area occupied by different relative chromaticity of the face; d represents the coefficient corresponding to the sprayed medicine.
[0086] It should be noted that the recovery ratio is inversely proportional to the time required for the wound to recover, which is obtained through machine learning training; the spraying coefficient is determined according to the sprayed drug ingredients.
[0087] It is worth noting that the self-care method for postoperative wound repair of the eyes / face can be implemented alone or in combination with other hardware capable of quantitative spraying.
[0088] like Figure 6 , which is a schematic diagram of a module of a self-care device for repairing postoperative wounds of the eye / face in one embodiment of the present application. The self-care device 600 for repairing postoperative wounds of the eye / face comprises:
[0089] The scale construction module 610 is used to obtain historical facial images of patients at different angles and at different stages of postoperative repair, and to annotate skin features in the historical facial images to obtain annotated facial images and annotated data, and to train the annotated data using a DAF-E network to generate a facial recognition model based on supervised learning;
[0090] A scale construction module 620 is used to establish a facial chromaticity scale according to the mapping relationship between facial chromaticity, skin characteristics and the required recovery time of the wound surface;
[0091] The repair decision module 630 is used to identify the facial image of the current patient to be cared for based on the trained facial color recognition model to obtain the facial chromaticity and skin features of the current patient to be cared for, and determine the time required for the corresponding wound surface to recover based on the facial chromaticity scale, thereby calculating the total dose of the drug required to be sprayed daily.
[0092] It should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software calling through processing elements; they can also be all implemented in the form of hardware; some modules can also be implemented in the form of software calling through processing elements, and some modules can be implemented in the form of hardware. For example, the repair decision module 630 can be a separately established processing element, or it can be integrated in a chip of the above device. In addition, it can also be stored in the memory of the above device in the form of program code, and called and executed by a processing element of the above device. The function of the above repair decision module 630. The implementation of other modules is similar. In addition, all or part of these modules can be integrated together, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software.
[0093] For example, the above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASICs), or one or more digital signal processors (DSPs), or one or more field programmable gate arrays (FPGAs). For another example, when a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processors that can call program code. For another example, these modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
[0094] like Figure 7 FIG. 1 is a schematic diagram showing a self-care system 700 for repairing postoperative wounds of the eye or face in one embodiment of the present application. The self-care system 700 for repairing postoperative wounds of the eye or face comprises:
[0095] The containing device 710 is used for containing and spraying a solution that can repair postoperative wounds; the containing device 710 is also provided with a communication component.
[0096] It should be noted that the main component of the solution that can repair postoperative wounds is recombinant collagen repair solution.
[0097] For example, the containing device 710 may be a nursing bottle, which is provided with a Bluetooth communication module.
[0098] The self-care device 600 for repairing postoperative wounds of the eye / face as described above is used to provide daily care dosage. The self-care device 600 for repairing postoperative wounds of the eye / face is also provided with a communication component to establish a communication connection with the containing device.
[0099] For example, the accommodating device 710 and the eye / facial postoperative wound repair self-care device 600 can be connected by wireless communication, including any one of WIFI, Bluetooth, LORA, NB-IOT, ZIGBEE, 3G, 4G, 5G, etc.
[0100] In one embodiment of the present application, the system 700 also includes an image acquisition device 720 for acquiring facial images of the patient to be cared for; wherein the image acquisition device 720 is also provided with a communication component to establish a communication connection with the eye / facial postoperative wound repair self-care device 600.
[0101] It should be noted that the image acquisition device 720 and the eye / facial postoperative wound repair self-care device 600 can also be electrically connected; or the image acquisition device 720 and the eye / facial postoperative wound repair self-care device 600 are integrated into one. For example, the image acquisition device 720 can be a camera of a mobile terminal, and the eye / facial postoperative wound repair self-care device 600 can be integrated into a mobile terminal (such as a smart phone, tablet, etc.) in the form of a software APP.
[0102] Specifically, the self-care process based on the eye / facial postoperative wound repair self-care system 700 includes:
[0103] S701: Acquire the facial image of the patient to be cared for by the image acquisition device 720, and transmit it to the postoperative wound repair self-care device 600;
[0104] It should be noted that the image acquisition device 720 respectively acquires facial images of the patient immediately before and after the operation at different angles, and is also used to acquire facial images of the patient at different repair stages.
[0105] S702: the eye / facial postoperative wound repair self-care device 600 recognizes the received facial image of the patient to be cared for to obtain the relative facial chromaticity and skin features of the patient to be cared for, and identifies and determines the wound area;
[0106] S703: The total dosage of the medicine required for spraying on the day is analyzed and calculated by the eye / facial postoperative wound repair self-care device 600, and transmitted to the containing device 710 via wireless communication;
[0107] S704: The containing device 710 sprays the patient according to the total dose of the medicine required for spraying on the day received;
[0108] It should be noted that the patient can judge whether the repair is completed according to the facial condition. If the repair is completed, the process is terminated; if the repair is not completed, step S701 is repeated to update the facial image of the patient to be cared for until the wound surface is repaired. In addition, the current facial condition can be transmitted to an external device for evaluation by the attending physician of the patient to be cared for. If the attending physician finally confirms that the repair is completed, the self-care is completed; if the attending physician believes that continued care is needed, step S701 is repeated to update the facial image of the patient to be cared for until the wound surface is repaired.
[0109] It should be noted that after the attending physician completes the final confirmation of the patient's data, this stage of postoperative wound self-management can be ended.
[0110] like Figure 8 As shown, it is a schematic diagram of the structure of a computer device 800 in one embodiment of the present application. The computer device 800 includes: a memory 810, a processor 820 and a communicator 830; the memory 810 is used to store computer instructions; the processor 820 executes the computer instructions to implement the following Figure 1 The method described; the communicator 830 is used to communicate with external devices.
[0111] For example, the external device may be a cloud server; or it may be a user's mobile terminal, such as a mobile phone, PC, tablet, etc.
[0112] In some embodiments, the number of the memory 810, the processor 820, and the communicator 830 in the computer device 800 can be one or more. Figure 8 Take one as an example.
[0113] In one embodiment of the present application, the processor 820 in the computer device 800 will follow the following steps: Figure 1 In the above steps, one or more instructions corresponding to the process of the application are loaded into the memory 810, and the processor 820 runs the application stored in the memory 810, thereby achieving the following Figure 1 The method described.
[0114] The memory 810 may include a random access memory (RAM) or a non-volatile memory, such as at least one disk storage. The memory 810 stores an operating system and operating instructions, executable modules or data structures, or a subset thereof, or an extended set thereof, wherein the operating instructions may include various operating instructions for implementing various operations. The operating system may include various system programs for implementing various basic services and processing hardware-based tasks.
[0115] The processor 820 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
[0116] The communicator 830 is used to realize the communication connection between the database access device and other devices (such as a client, a read-write library, and a read-only library). The communicator 830 may include one or more modules of different communication modes, for example, a CAN communication module connected to a CAN bus. The communication connection may be one or more wired / wireless communication modes and combinations thereof. The communication modes include: any one or more of the Internet, CAN, intranet, wide area network (WAN), local area network (LAN), wireless network, digital subscriber line (DSL) network, frame relay network, asynchronous transfer mode (ATM) network, virtual private network (VPN) and / or any other suitable communication network. For example: any one or more of WIFI, Bluetooth, NFC, GPRS, GSM, and Ethernet and a combination thereof.
[0117] In some specific applications, the various components of the computer device 800 are coupled together through a bus system, wherein the bus system may include a power bus, a control bus, and a status signal bus in addition to a data bus. However, for the sake of clarity, Figure 8 In the text, all kinds of buses are called bus systems.
[0118] In summary, the present application provides a self-care method, device and system for postoperative wound repair of the eye / face, including: obtaining historical facial images of the patient at different angles and at different stages of postoperative repair, and annotating the skin features in the historical facial images to obtain annotated facial images and annotation data; using a DAF-E network to train the annotated data to generate a human face color recognition model based on supervised learning, and establishing a facial chromaticity scale according to the mapping relationship between facial chromaticity, skin features and the required recovery time of the wound; based on the trained human face color recognition model, identifying the facial image of the current patient to be cared for, to obtain the facial chromaticity and skin features of the current patient to be cared for, and determining the corresponding wound recovery time based on the facial chromaticity scale, thereby calculating the total dose of the drug required for spraying per day.
[0119] The present application proposes a self-care method, device and system for postoperative wound repair of the eye / face. Based on supervised machine learning, a facial color recognition model is constructed to customize personalized wound repair care plans according to the heterogeneity of wound types, wound sizes and personal constitutions of different patients, so as to achieve better self-care effects.
[0120] The present invention effectively overcomes various shortcomings of the prior art and has high industrial utilization value.
[0121] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.
Claims
1. A self-care method for repairing postoperative wounds of the eye / face, characterized in that: The method comprises: Obtain historical facial images of patients at different angles and at different stages of postoperative repair, and annotate skin features in the historical facial images to obtain annotated facial images and annotated data, and use the DAF-E network to train the annotated data to generate a facial recognition model based on supervised learning; A facial color scale is established based on the mapping relationship between facial color, skin characteristics and the time required for wound recovery; The facial image of the current patient to be cared for is recognized based on the trained facial color recognition model to obtain the facial chromaticity and skin features of the current patient to be cared for, and the time required for the corresponding wound surface to recover is determined based on the facial chromaticity scale, thereby calculating the total dose of the drug required for spraying per day.
2. The self-care method for repairing postoperative wounds of the eye / face according to claim 1, characterized in that: The method also includes: obtaining facial images of the patient at different angles immediately before and after surgery to determine the postoperative wound area and non-wound area; the non-wound area obtained immediately after surgery is the original wound area, and the wound area in the repair stage is reduced based on the basic range of the original wound area.
3. The self-care method for repairing postoperative wounds of the eye / face according to claim 1, characterized in that: The method of using the DAF-E network to train the labeled data to generate a human face recognition model based on supervised learning includes: Dividing the labeled data into a training set and a validation set; A human face color recognition model based on supervised learning is established using the training set, and the training set is analyzed using the DAF-E network to obtain the relative face color to characterize the skin features; wherein the relative face color refers to the color difference between the face color of the wound area and the basic face color of the non-wound area of the patient; The human face intensity recognition model is verified using the verification set to generate a trained human face intensity recognition model.
4. The self-care method for repairing postoperative wounds of the eye / face according to claim 1, characterized in that: The facial image of the patient to be cared for is recognized based on the trained human facial color recognition model to obtain the facial chromaticity and skin features of the patient to be cared for, and the corresponding wound recovery time is determined based on the facial chromaticity scale, including: Collect facial images of the patient to be cared for at different angles, and use an image feature algorithm in OpenCV to preprocess the facial images of the patient to be cared for to obtain facial images to be cared for; Inputting the facial image of the current patient to be cared for into the trained human face color recognition model for recognition to obtain the facial chromaticity of the current patient to be cared for, and performing facial relative chromaticity analysis based on the basic facial chromaticity of the current patient to be cared for to obtain corresponding skin features; The time required for the corresponding wound surface to recover is determined in combination with the facial color scale, and the total amount of medicine required to be sprayed per day is calculated accordingly.
5. The self-care method for repairing postoperative wounds of the eye / face according to claim 1, characterized in that: The total dose of the drug required for spraying per day is calculated by multiplying the weighted sum of the recovery proportion corresponding to different skin features and the area occupied by different facial chromaticities by the spraying coefficient; Among them, the recovery proportion is inversely proportional to the time required for the wound surface to recover, which is obtained through machine learning training; the spraying coefficient is determined according to the sprayed drug ingredients.
6. The self-care method for repairing postoperative wounds of the eye / face according to claim 1, characterized in that: The historical facial images include: any one or more combinations of the patient's frontal image, left face image, right face image, eye image, left eye image, and right eye image; the skin features include: any one or more combinations of normal skin, red and swollen skin, scabby skin, and detached skin; the annotation data includes: any one or more combinations of facial chromaticity, the position corresponding to the skin feature, the time corresponding to the skin feature, and the area corresponding to different facial chromaticities.
7. A self-care device for repairing postoperative wounds on the eye or face, characterized in that: include: A model building module is used to obtain historical facial images of patients at different angles and at different stages of postoperative repair, and to annotate skin features in the historical facial images to obtain annotated facial images and annotated data, and to train the annotated data using a DAF-E network to generate a facial recognition model based on supervised learning; A scale construction module is used to establish a facial color scale according to the mapping relationship between facial color, skin characteristics and the required recovery time of the wound surface; The repair decision module is used to identify the facial image of the current patient to be cared for based on the trained facial color recognition model to obtain the facial chromaticity and skin features of the current patient to be cared for, and determine the time required for the corresponding wound surface to recover based on the facial chromaticity scale, thereby calculating the total dose of the drug required to be sprayed daily.
8. A self-care system for repairing postoperative wounds of the eye or face, characterized in that: include: A containing device for containing and spraying a solution capable of repairing a postoperative wound surface; The accommodating device is also provided with a communication component; The self-care device for repairing postoperative wounds of the eye / face as described in claim 7 is used to provide a daily care dosage; the self-care device for repairing postoperative wounds of the eye / face is also provided with a communication component to establish a communication connection with the containing device.
9. The postoperative wound repair self-care system for eyes / face according to claim 8, characterized in that: The system also includes an image acquisition device for acquiring facial images of the patient to be cared for; wherein the image acquisition device is also provided with a communication component to establish a communication connection with the eye / facial postoperative wound repair self-care device.
10. A computer device, characterized in that: The device comprises: a memory, a processor and a communicator; The memory is used to store computer programs; the processor is used to execute the computer programs stored in the memory, so that the device performs the method according to any one of claims 1 to 6; and the communicator is used to communicate with an external device.
