Wearable device

By wearing a wearable device with a hard square area on the wrist and combining it with image processing technology, the problem of insufficient accuracy in hand compression depth detection during cardiac resuscitation is solved, the accuracy and reliability of detection are improved, and the heart rate is improved. Patient survival during resuscitation.

CN221860902UActive Publication Date: 2024-10-18焦旭
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202123432205.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2021-12-30
Publication Date
2024-10-18
Estimated Expiration
2031-12-30

AI Technical Summary

Technical Problem

During cardiac resuscitation, the lack of tools to accurately measure hand compression depth makes it difficult to evaluate the quality, frequency, and timeliness of CPR, affecting patient survival rates.

Method used

Design a wearable device as a calibration object. Through digital image processing and algorithm-assisted calculation, combined with the traditional scale measurement idea, the vertical distance of the bracelet is extracted to improve the accuracy of hand pressing depth detection.

Benefits of technology

Through wearable equipment and image processing technology, it is possible to accurately track the position changes of the tracking frame on the bracelet, improve the accuracy of hand compression depth detection, reduce the possibility of reckless detection, and enhance the compression depth measurement accuracy during cardiopulmonary resuscitation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN221860902U_ABST
    Figure CN221860902U_ABST
Patent Text Reader

Abstract

The utility model provides electronic equipment, which comprises the following steps executed by a processor: acquiring a video provided by image acquisition equipment, the video comprising a plurality of images of a video frame sequence generated according to a time sequence; wherein each image comprises a wearable device worn near a pressing part when the user presses the patient, and the wearable device is provided with a positioning mark image of the wearable device as a tracking frame; according to at least one frame of image in the video frame sequence, identifying a tracking frame in the wearable device in the image; tracking the fluctuation change of the position of the tracking frame in the plurality of images in the video frame sequence in the pressing direction; and determining the depth of the pressing action of the user according to the fluctuation change of the position, and outputting the depth of the pressing action to the electronic equipment and / or the wearable equipment. The electronic equipment can improve the accuracy of the pressing depth.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to a wearable device. Background Art

[0002] In treated OHCA, the overall survival rate is very low, and the discharge rate ranges from 3.0% to 16.3%. The difference in patient survival can be attributed in part to the following five important links: rapid emergency medical system (ENS) access, early cardiopulmonary resuscitation (CPR), early defibrillation, early advanced life support (ACLS), and effective post-resuscitation treatment. In recent years, after the community and hospitals have vigorously strengthened the above links, the survival rate has only been slightly improved. It has been recognized that the quality, frequency and timeliness of CPR in cardiac resuscitation are crucial to the survival of cardiac arrest patients. Related studies have found that the increase in compression depth during CPR is closely related to the degree of improvement in survival rate, and when the compression depth is 4.03-5.53cm (peak 4.56cm), the patient's survival rate is the highest. However, in the actual process of cardiac resuscitation, it is difficult to evaluate the compression depth during cardiac resuscitation due to the lack of tools to measure depth. Traditional contact distance measurement has high accuracy and good stability, but it is not widely used due to factors such as size, mass, installation conditions, structure and inconvenient operation. In actual situations, it is also difficult to measure distance on the compressor and the patient through contact instruments.

[0003] The accuracy of current hand pressure depth detection methods needs to be further improved. Utility Model Content

[0004] In order to improve the deficiencies of the above-mentioned prior art, the present application proposes a wearable device, which can improve the accuracy of detection by serving as a calibration object.

[0005] In some embodiments of the present application, a wearable device is provided, wherein the wearable device is used in the above electronic device scenario, and is worn near a pressing part of a user in a scenario where a user provides cardiopulmonary resuscitation to a patient;

[0006] The wearable device is provided with a hard square area, the background color of the hard square area is red or green, and the hard square area is provided with a white square area.

[0007] In some embodiments, the hard square area is provided with a white square area, specifically comprising:

[0008] A white square area is arranged at the center of the hard square area; and / or

[0009] At least two of the four sides of the hard square area are provided with white square areas; and / or

[0010] Black strip areas are arranged on two median lines of the hard square area, and the black strip areas extend from the center of the hard square area to one or more of the four sides.

[0011] In some embodiments, white lines are arranged around the red or green background image of the hard square area, and the white lines are the outlines of the red or green background image of the hard square area.

[0012] In some implementations, the tracking frame includes one of the outline of the white square area, the outline of the black strip area, and the outline of the red or green background image, or a combination of any two or more of them.

[0013] In some embodiments, the wearable device is a bracelet worn on a wrist, the bracelet includes a wristband, and the hard square area is provided on the wristband.

[0014] In some embodiments, the background colors of the plurality of hard square regions are different and do not form central symmetry or axial symmetry.

[0015] The wearable device provided in the present application can reduce the possibility of reckless detection and improve the accuracy of depth detection of user pressing actions by serving as a calibration object. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The features and advantages of the present application will be more clearly understood by referring to the accompanying drawings, which are schematic and should not be construed as limiting the present application in any way. In the accompanying drawings:

[0017] Figure 1 A schematic diagram of the system architecture of the hand pressing depth detection method and the detection device in some examples of the present application;

[0018] Figure 2 A schematic diagram of shooting a video in a hand pressing depth detection method in some embodiments of the present application;

[0019] Figure 3 This is a schematic diagram of the wristband structure in some embodiments of the present application;

[0020] Figure 4 This is a schematic diagram of the flow chart of the hand pressing depth detection method according to some embodiments of the present application;

[0021] Figure 5 A schematic diagram of tracking coordinate position detection results in a hand pressing depth detection method in some embodiments of the present application;

[0022] Figure 6 A schematic diagram of tracking coordinate position detection results in a hand pressing depth detection method in some embodiments of the present application;

[0023] Figure 7 A schematic diagram of a tracking frame detected by a hand pressing depth detection method in some embodiments of the present application;

[0024] Figure 8 A flowchart of an implementation method for identifying a tracking frame in a wearable device in an image according to at least one frame of an image in a video frame sequence in some embodiments of the present application;

[0025] Fig. 9 It shows a schematic diagram of the structure of a computer system suitable for implementing the control device of the embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to more clearly understand the above-mentioned purposes, features and advantages of the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.

[0027] In the following description, many specific details are set forth to facilitate a full understanding of the present application. However, the present application may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the present application is not limited to the specific embodiments disclosed below.

[0028] Figure 1 An exemplary system architecture 100 is shown to which embodiments of the present application may be applied, such as a hand pressure depth detection system, a hand pressure depth detection method, a hand pressure depth detection device, an electronic device, and a wearable device.

[0029] like Figure 1 As shown, the system architecture 100 may include a terminal device 101, a terminal device 102, a terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.

[0030] The user can use one or more of the terminal devices 101, 102, and 103 to interact with the server 105 through the network 104 to receive or send data (such as video), etc. Various communication client applications can be installed on the terminal devices 101, 102, and 103, such as video playback software, video processing applications, web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0031] Terminal devices 101, 102, and 103 may be hardware, such as various electronic devices having a display screen and supporting data transmission, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, smart wearable devices, etc. Among them, smart wearable devices may be smart glasses, smart bracelets, smart helmets, etc.

[0032] When the terminal device 101, the terminal device 102, and the terminal device 103 are software, they can be installed in the electronic devices listed above. They can be implemented as multiple software or software modules (for example, software or software modules for providing distributed services), or as a single software or software module. No specific limitation is made here.

[0033] The server 105 may be a server that provides various services, such as a background server that supports the video displayed on the terminal device 101, the terminal device 102, and the terminal device 103. The background server may analyze and process the received data such as the slice request, and feed back the processing result (such as the indexed slice or slice sequence) to the electronic device (such as the terminal device) that is connected to the communication.

[0034] It should be noted that the hand pressure depth detection method provided in the embodiment of the present application can be executed by a processor. Accordingly, the computer program of the hand pressure depth detection method can be stored in a non-volatile computer-readable storage medium, and the processor can obtain and execute instructions from the computer-readable storage medium.

[0035] The processor and memory may be placed in a terminal device, such as a mobile phone, a computer, or a wearable device, or the processor and memory may be placed in a server. Alternatively, the processor and the memory may be one or more, respectively. If there are multiple processors or memories, part of the processor or part of the memory may be placed in the server, and part in the terminal device.

[0036] It should be noted that the server can be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster consisting of multiple servers, or it can be implemented as a single server. When the server is software, it can be implemented as multiple software or software modules (for example, software or software modules used to provide distributed services), or it can be implemented as a single software or software module. No specific limitation is made here.

[0037] It should be understood that Figure 1The number of terminal devices, networks, and servers in the system is only illustrative. Depending on the implementation requirements, there may be any number of terminal devices, networks, and servers. When the electronic device on which the live streaming playback method is running does not need to transmit data with other electronic devices, the system architecture may only include the electronic device on which the hand pressing depth detection method is running (e.g., terminal devices 101, 102, 103 or server 105).

[0038] The hand compression depth detection method of the present application is used to detect the depth of the user's compression action in the scenario where the user provides cardiopulmonary resuscitation to the patient. The compression depth is achieved by distance measurement, and the accuracy of the distance measurement affects the accuracy of the compression depth.

[0039] There are many factors that affect the ranging accuracy, but the influence of hardware factors can be reduced by selecting high-resolution CCD cameras, high-sampling frequency image acquisition cards and other high-quality hardware, and the limitations of various environmental factors. Because mobile phones are different in style, the method of improving the ranging accuracy of the system through software algorithms is a relatively effective way.

[0040] The solution that has been tried so far is to detect the depth of compression through image ranging. For example, a calibration object (for example, with obvious color features and known length and width) is added to the compression scene, and the camera is calibrated and the image is corrected through this calibration object, so as to obtain the distance accuracy of the image and obtain the measured distance of the target. However, during the process of cardiac compression, it is difficult to set a calibration object with known length and width.

[0041] The distance measurement scheme of the embodiment of the present application is: combining the traditional measurement idea of ​​a ruler, through digital image processing, extracting the wearable device (such as a bracelet) when pressed, and using the vertical distance moved by the wearable device, using algorithm-assisted calculation to complete the distance measurement to ensure speed and accuracy.

[0042] In order to more accurately and quickly measure the depth of the user's pressing action, the present application proposes a system such as Figure 2 As shown, the system includes: an electronic device (such as a mobile phone 01), a wearable device (such as a wristband 02);

[0043] For example, Figure 2 As shown, the mobile phone 01 has a shooting function or can shoot a video in real time to obtain video data, wherein the video content includes a user providing cardiopulmonary resuscitation compression actions for a patient. The mobile phone is also used to process the video data and identify the user's compression actions and compression depth in the video data.

[0044] Identifying the pressing depth can identify the fluctuations of the hand used by the user when pressing, and determine the pressing depth. In order to improve the accuracy of recognition and avoid confusion between the hand color and similar colors in the video, the detection may be reckless. A calibration object can also be worn on the pressing hand, and the hand pressing depth can be determined by tracking the fluctuations of the calibration object as the hand presses.

[0045] Figure 2 In the figure, the bracelet 02 worn on the user's wrist is a calibration object worn near the pressing action when providing pressing depth detection, which is convenient for the mobile phone to quickly identify the calibration object in the picture and track the calibration object, and determine the pressing depth according to the changes of the calibration object to improve the accuracy of pressing depth detection.

[0046] The calibration object is a reference object for detecting the fluctuation position change of the pressing action. The calibration object can be the entire bracelet, or a combination of one or more features in the graphics / colors of a local position in the bracelet.

[0047] In order to reduce the possibility of reckless detection and improve detection accuracy, the embodiment of the present application provides a wearable device as a calibration object.

[0048] A wearable device is used for a user to wear near the user's pressing part in a scene of providing cardiopulmonary resuscitation for a patient, so that when a camera captures a video image of the user providing cardiopulmonary resuscitation for the patient, the wearable device is also captured, and the video is provided to an electronic device, and the electronic device identifies the wearable device in the video image and tracks the tracking frame on the wearable device, so that the electronic device determines the pressing depth according to the up and down position changes of the tracking frame. The tracking frame here corresponds to the object recognized by computer vision.

[0049] In order to prevent the wearable device from being easily deformed when it is soft, which will increase the difficulty of detection or reduce the accuracy of detecting the pressing depth, the wearable device is provided with a hard square area, and the background color of the hard square area can be white, red, yellow or green, etc.

[0050] For example, see Figure 3 , a wearable device is provided, which is a wristband, and the wristband is configured to be wearable on a user's wrist. The wristband includes a wristband 20, and a hard square area 21 is provided on the wristband 20. The background color of the hard square area 21 can be a red or green area.

[0051] In some embodiments, the hard square area is provided with a white square area, specifically including: a white square area is provided in the center of the hard square area; and / or white square areas are provided on at least two opposite sides of the four sides of the hard square area; and / or black strip areas are provided on two median lines of the hard square area, and the black strip areas extend from the center of the hard square area to one or more of the four sides.

[0052] For example, see Figure 3 A white square area 22 is disposed at the center of the hard square area 21, and / or white square areas 23 are disposed on at least two opposite sides of the hard square area 21, and the positions of the white square areas 23 intersect with the rectangular median line. Black strip areas 24 are disposed on the two medians of the hard square area 21, and the black strip areas 24 extend from the center of the hard square area to the four sides.

[0053] In some implementations, white lines are arranged around the red or green background image of the hard square area, and the white lines are the outlines of the red or green background image of the hard square area.

[0054] For example, see Figure 3 , the periphery of the red or green background image of the hard square area 21 is provided with a white line 25. The white line is the outline of the red or green background image of the hard square area 21.

[0055] In some embodiments, the background colors of the plurality of hard square areas 21 are different and do not form central symmetry or axial symmetry. For example, the two upper areas are green, the lower left area is red, and the lower right area is blue. Those skilled in the art should understand that other asymmetric color combinations may also be used. Such asymmetric color combinations can avoid the problem of inaccurate recognition due to symmetry in some positioning algorithms (e.g., feature point positioning scenarios of the Harris algorithm), thereby further improving the recognition effect.

[0056] The above-mentioned electronic device identifies the wearable device in the video image and tracks the tracking frame on the wearable device, so that the electronic device determines the pressing depth according to the up and down position changes of the tracking frame, wherein the tracking frame includes one of the outline of the white square area, the outline of the black strip area, the outline of the red or green background image, or a combination of any two or more of them.

[0057] The hand pressing depth detection method provided in the embodiment of the present application includes the following steps: Figure 4 Steps shown:

[0058] S1: The processor obtains a video provided by an image acquisition device, wherein the video includes a plurality of images of a video frame sequence generated in time sequence;

[0059] The processor may be a processor on an electronic device, such as a processor on a mobile terminal, or a processor on a server, or a processor on a wearable device, etc.

[0060] The image acquisition device may be a camera on the electronic device or a camera independent of the electronic device.

[0061] The video is a video captured by a camera and received by the processor in real time, or an offline video.

[0062] Each of the images contains a wearable device worn by the user near the pressing part when pressing the patient, and a positioning mark image of the wearable device is set on the wearable device as a tracking frame.

[0063] For example, the processor is a processor on a mobile phone, and the image acquisition device is a front or rear camera on the mobile phone. Figure 2 As shown, the user provides cardiopulmonary resuscitation to the patient in real time, and the camera on the mobile phone captures the picture of pressing the patient in real time. The user wears the above-mentioned wearable device, such as a bracelet, when pressing the patient. The picture is provided to the processor of the mobile phone for processing, and the processor obtains multiple images according to the acquired video.

[0064] S2: The processor identifies a tracking frame in the wearable device in the image according to at least one frame image in the video frame sequence;

[0065] The positioning mark image that can be used as the tracking frame in step S1 is pre-set in the detection method.

[0066] Step S2, some implementations are: the tracking frame can be identified at least simultaneously based on a preset shape and color of a background image of the wearable device, and based on a preset color and shape of a local image in the background image.

[0067] Exemplarily, after the mobile phone shoots a video for a period of time, the processor determines the tracking frame according to the video received during this period of time. For example, in chronological order, after the shooting starts, image 1, image 2, image 3, ..., image 30 are obtained; the tracking frame in the image is identified according to a pre-set tracking frame identification method. The image 1, image 2, image 3, ..., image 30 are actual images in chronological order, and can also be sampling values, for example, one image is sampled every 5 actual pictures as image 1, image 2, image 3, ..., image 30.

[0068] S3: The processor tracks fluctuations in the position of the tracking frame in the pressing direction in a plurality of images in the video frame sequence;

[0069] In some implementations, the tracking box is tracked using a KCF algorithm, where the KCF algorithm at least fuses features of a histogram of oriented gradients, a color domain, and a score of a classifier.

[0070] Exemplarily, after the tracking frame is determined in step S2, the tracking frame is then tracked in subsequent video images, and the coordinates of the top and bottom points of the tracking frame in each image are determined to obtain a series of coordinate positions, such as Figure 5 shown.

[0071] Figure 5 The horizontal axis is a plurality of images of a video frame sequence generated in time sequence, and the vertical axis is the coordinates of the highest point and the lowest point of the motion trajectory of the tracking box.

[0072] After removing the abnormal points, only one set of extreme points (highest point and lowest point) is selected for each press. This paper selects the pressing peak value of the bracelet in the 1-100 and 500-600 frame intervals for measurement, and the results are as follows: Figure 6 As shown in the figure, it is the peak and trough information of the movement height. Figure 6 X and Y are the horizontal coordinates of the data, and Y is the vertical coordinate of the value.

[0073] S4: The processor determines the depth of the user's pressing action according to the fluctuation of the position and outputs the depth of the pressing action to the electronic device and / or the wearable device;

[0074] In some embodiments, the depth of the user's pressing action is determined based on the fluctuation of the position and the depth of the pressing action is output to the display of the electronic device and / or the display of the wearable device, or voice prompt information is output on the display or the wearable device.

[0075] Exemplarily, the compression depth is output to at least one or a combination of the following, such as output to a display screen of a mobile phone, output in the form of voice broadcast, output to a wearable device or other device of the user, such as smart glasses or a smart watch worn by the user, other terminal devices for monitoring or reference by others, such as a telemedicine doctor, or a patient's family member, etc.

[0076] In the above step 2, a tracking frame in the wearable device in the image is identified according to at least one frame image in the video frame sequence.

[0077] In actual application scenarios, for example, Figure 7 As shown, a tracking frame of the bracelet is obtained, and the tracking frame includes a hard square area and a part of the wristband.

[0078] In the above steps 3 to 4, firstly, a trajectory map is given for the pole, and according to the number of frames corresponding to the trajectory, the corresponding calibration object (such as a bracelet) is processed to calculate the pixel width of the bracelet appearing in the image, and the ratio of the actual length of the bracelet to the pixel width in the image is converted. The width of the bracelet can be effectively extracted through the canny edge and the circumscribed border.

[0079] Specifically, in step 2, identifying a tracking frame in the wearable device in the image according to at least one frame image in the video frame sequence specifically includes the following steps: Figure 8 Steps shown:

[0080] S21: The processor converts the original image in the at least one acquired video into the HSV color space, extracts color features in the image, and the extracted color features are consistent with preset color features, and the preset color features include the preset color features of the background image and the preset color features of the local image;

[0081] For example, get Figure 3 The image of the wristband when worn by the user is shown, and the green / red in the image is extracted. In order to further quickly and accurately extract the rectangular area of ​​the target red or target green, it is necessary to extract the green or red area near the black and white lines, so it is necessary to extract the white, black, red and green areas. The preset background color is rectangular red or rectangular green, and the preset color feature of the local image is at least one of black and white.

[0082] S22: The processor filters the colors in the image area corresponding to the extracted color feature according to the preset shape and color of the background image and the shape and color of the local image, and extracts the directional gradient histogram feature and the gray level co-occurrence matrix feature;

[0083] In some embodiments, the preset background image is a red rectangular area or a green rectangular area; the preset local image includes a plurality of white rectangular areas and a black rectangular area in the red rectangular area or the green rectangular area;

[0084] One of the multiple white rectangular areas is located at the center of the red rectangular area or the green rectangular area, the multiple white rectangular areas are at least partially located on at least two opposite sides of the red rectangular area or the green rectangular area, and the position of the white square area intersects with the rectangular median line.

[0085] For example, Figure 3 The wristband shown, after obtaining the color feature in step 21, further retains the target feature and filters the interference area according to the following preset features.

[0086] See also Figure 3 , the preset features that need to be retained are as follows:

[0087] The red or green area is rectangular or square; and / or

[0088] The red or green area has a white square in the center; and / or

[0089] White squares are arranged on at least two opposite sides of the four sides of the red or green rectangular area; and / or

[0090] Black strip areas are arranged on two median lines of the red or green rectangular area, and the black strip areas extend from the center of the hard square area to one or more of the four sides.

[0091] On the basis of the features after color filtering, the oriented gradient histogram features and the gray-level co-occurrence matrix features are extracted based on the above-mentioned extracted color and graphic features.

[0092] The Histogram of Oriented Gradient (HOG) feature is a feature descriptor used for object detection in computer vision and image processing. The HOG feature is constructed by calculating and counting the gradient direction histogram of the local area of ​​the image. The HOG feature is a feature of the image.

[0093] Gray-level co-occurrence matrix is ​​a common method to describe texture by studying the spatial correlation characteristics of gray. Gray-level histogram is the result of statistical analysis of a single pixel on an image having a certain gray level, while gray-level co-occurrence matrix is ​​the result of statistical analysis of the situation where two pixels on an image that maintain a certain distance have a certain gray level.

[0094] S23: The processor uses the oriented gradient histogram feature and the gray level co-occurrence matrix feature as input of the classifier to identify the tracking frame in the wearable device;

[0095] The classifier is pre-trained, and the shape and color of the preset background image and the shape and color of the local image are used as input when training the classifier.

[0096] Above Figure 4 The method described above can be executed by a processor on an electronic device. The present application provides an electronic device for detecting the depth of a user's pressing action in a scene where a user provides cardiopulmonary resuscitation to a patient. The electronic device includes at least a processor.

[0097] The processor is configured to perform the following steps:

[0098] Acquire a video provided by an image acquisition device, wherein the video includes a plurality of images of a video frame sequence generated in time order; wherein each of the images includes a wearable device worn by the user near a pressing part when pressing the patient, and a positioning mark image of the wearable device is provided on the wearable device as a tracking frame;

[0099] Identify a tracking frame in a wearable device in the image according to at least one frame image in the video frame sequence;

[0100] Tracking fluctuations in the position of the tracking frame in a pressing direction in a plurality of images in the video frame sequence;

[0101] The depth of the user's pressing action is determined according to the fluctuation of the position and the depth of the pressing action is output to the electronic device and / or the wearable device.

[0102] Above Figure 4 The method described can be applied to a hand pressing depth detection system, which includes an electronic device and a wearable device;

[0103] The electronic device comprises:

[0104] one or more processors;

[0105] A storage device having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement the following steps:

[0106] Acquire a video provided by an image acquisition device, wherein the video includes a plurality of images of a video frame sequence generated in time order; wherein each of the images includes a wearable device worn by the user near a pressing part when pressing the patient, and a positioning mark image of the wearable device is provided on the wearable device as a tracking frame;

[0107] Identify a tracking frame in a wearable device in the image according to at least one frame image in the video frame sequence;

[0108] Tracking fluctuations in the position of the tracking frame in a pressing direction in a plurality of images in the video frame sequence;

[0109] The depth of the user's pressing action is determined according to the fluctuation of the position and the depth of the pressing action is output to the electronic device and / or the wearable device.

[0110] Above Figure 4 The method described above may be an instruction stored in a non-transitory computer-readable storage medium, and when the instruction is executed, the above steps are implemented, namely:

[0111] Acquire a video provided by an image acquisition device, wherein the video includes a plurality of images of a video frame sequence generated in time order; wherein each of the images includes a wearable device worn by the user near a pressing part when pressing the patient, and a positioning mark image of the wearable device is provided on the wearable device as a tracking frame;

[0112] Identify a tracking frame in a wearable device in the image according to at least one frame image in the video frame sequence;

[0113] Tracking fluctuations in the position of the tracking frame in a pressing direction in a plurality of images in the video frame sequence;

[0114] The depth of the user's pressing action is determined according to the fluctuation of the position and the depth of the pressing action is output to the electronic device and / or the wearable device.

[0115] Reference below Fig. 9 , which shows a schematic diagram of the structure of a computer system 800 suitable for implementing a control device of an embodiment of the present application. Fig. 9 The control device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0116] like Fig. 9 As shown, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage part 808 into a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the system 800 are also stored. The CPU 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0117] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, etc.; an output section 807 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 808 including a hard disk, etc.; and a communication section 809 including a network interface card such as a LAN card, a modem, etc. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. A removable medium 811, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 810 as needed, so that a computer program read therefrom is installed into the storage section 808 as needed.

[0118] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 809, and / or installed from a removable medium 811. When the computer program is executed by a central processing unit (CPU) 801, the above-mentioned functions defined in the method of the present application are executed.

[0119] It should be noted that the computer-readable medium described in the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, optical cable, RF, etc., or any suitable combination of the above.

[0120] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Python, Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0121] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0122] The units involved in the embodiments described in the present application may be implemented by software or by hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes an acquisition unit, a segmentation unit, a determination unit, and a selection unit. The names of these units do not constitute a limitation on the units themselves in some cases, for example, the acquisition unit may also be described as a "unit for acquiring a picture book image to be processed".

[0123] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or it may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device: reads a target video, which is a video captured by a fixed shooting device for a hand pressing action, and a calibration object is worn on the hand; performs calibration object detection on the target video to obtain a tracking frame of the calibration object; tracks the tracking frame to obtain the highest point and the lowest point of the calibration object in the pressing direction; obtains the hand pressing depth according to the coordinates of the highest point and the coordinates of the lowest point.

[0124] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of application involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above application concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.

Claims

1. A wearable device, applied to a hand pressing depth detection system, the system comprising a mobile phone and a wearable device, characterized in that: The wearable device is used to be worn near the pressing part of the user when the user provides cardiopulmonary resuscitation to the patient; The wearable device is provided with a hard square area, the background color of the hard square area is red or green, and the hard square area is provided with a white square area; The wearable device is a bracelet worn on the wrist, the bracelet comprises a wristband, and the hard square area is arranged on the wristband; The wristband is a calibration object worn near the pressing action when providing pressing depth detection, which is convenient for the mobile phone to quickly identify the calibration object in the picture and track the calibration object, and determine the pressing depth according to the changes of the calibration object.

2. The wearable device according to claim 1, characterized in that: The hard square area is provided with a white square area, specifically including: A white square area is arranged at the center of the hard square area; and / or At least two of the four sides of the hard square area are provided with white square areas on the opposite sides; and / or Black strip areas are arranged on two median lines of the hard square area, and the black strip areas extend from the center of the hard square area to one or more of the four sides.

3. The wearable device according to claim 2, characterized in that: White lines are arranged around the red or green background image of the hard square area, and the white lines are the outlines of the red or green background image of the hard square area.

4. The wearable device according to claim 2 or 3, characterized in that: The tracking frame includes one of the outline of the white square area, the outline of the black strip area, and the outline of the red or green background image, or a combination of any two or more of them.

5. The wearable device according to claim 1, characterized in that: The background colors of the multiple hard square areas are different and they do not form central symmetry or axial symmetry.