CN110895827A - Pasting prompting method and device for electrocardiogram detection equipment and medium - Google Patents

Pasting prompting method and device for electrocardiogram detection equipment and medium Download PDF

Info

Publication number
CN110895827A
CN110895827A CN201911351572.3A CN201911351572A CN110895827A CN 110895827 A CN110895827 A CN 110895827A CN 201911351572 A CN201911351572 A CN 201911351572A CN 110895827 A CN110895827 A CN 110895827A
Authority
CN
China
Prior art keywords
position information
detection
preset
electrocardio
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201911351572.3A
Other languages
Chinese (zh)
Other versions
CN110895827B (en
Inventor
詹姆斯·之江·沈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lexin Pingjiang Technology Co Ltd
Original Assignee
Shenzhen Lexin Pingjiang Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lexin Pingjiang Technology Co Ltd filed Critical Shenzhen Lexin Pingjiang Technology Co Ltd
Priority to CN201911351572.3A priority Critical patent/CN110895827B/en
Publication of CN110895827A publication Critical patent/CN110895827A/en
Application granted granted Critical
Publication of CN110895827B publication Critical patent/CN110895827B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/70Determining position or orientation of objects or cameras
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/318Heart-related electrical modalities, e.g. electrocardiography [ECG]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/10Segmentation; Edge detection
    • G06T7/13Edge detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Molecular Biology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Biomedical Technology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Veterinary Medicine (AREA)
  • Pathology (AREA)
  • Biophysics (AREA)
  • Cardiology (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)

Abstract

The invention discloses a pasting prompting method of an electrocardio detection device, which comprises the following steps: when detecting that the electrocardio detection equipment is attached to a target user, acquiring an image of the target user; acquiring first position information of a preset detection point on the body of the target user and second position information of the electrocardio detection equipment according to the image; judging whether the electrocardio detection equipment is attached successfully or not according to the first position information and the second position information; and outputting prompt information when the electrocardio detection equipment is judged not to be attached successfully. The invention also discloses a pasting prompt device and a computer readable storage medium of the electrocardio detection equipment. The invention improves the accuracy rate when the electrocardio detection equipment is attached to the user.

Description

Pasting prompting method and device for electrocardiogram detection equipment and medium
Technical Field
The invention relates to the technical field of image recognition, in particular to a pasting prompting method of an electrocardiogram detection device, a pasting prompting device of the electrocardiogram detection device and a computer-readable storage medium.
Background
With the development of science and technology, portable electrocardio detection equipment appears in the market, and only the electrocardio detection equipment is attached to the chest of a user, so that the electrocardio data of the user can be detected. Although the portable electrocardiogram detection equipment is convenient to use, when the electrocardiogram detection equipment is manually attached, the chest detection point of a user is generally difficult to rapidly and accurately attach.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a pasting prompting method of an electrocardiogram detection device, a pasting prompting device of the electrocardiogram detection device and a computer readable storage medium, which improve the accuracy rate when the electrocardiogram detection device is pasted on a user.
In order to achieve the above object, the present invention provides a method for prompting placement of an electrocardiographic detection device, wherein the method for prompting placement of the electrocardiographic detection device comprises the following steps:
when detecting that the electrocardio detection equipment is attached to a target user, acquiring an image of the target user;
acquiring first position information of a preset detection point on the body of the target user and second position information of the electrocardio detection equipment according to the image;
judging whether the electrocardio detection equipment is attached successfully or not according to the first position information and the second position information;
and outputting prompt information when the electrocardio detection equipment is judged not to be attached successfully.
Optionally, the step of outputting the prompt message includes:
generating attaching direction information of the electrocardio detection equipment according to the first position information and the second position information;
and outputting prompt information according to the attaching direction information.
Optionally, the step of determining whether the electrocardiograph detection device is successfully attached according to the first position information and the second position information includes:
determining a first distance between the preset detection point and the electrocardio detection equipment according to the first position information and the second position information;
judging whether the electrocardio detection device is attached successfully or not according to the first distance and a first preset distance corresponding to the preset detection point;
when the first distance is greater than the first preset distance, judging that the electrocardio detection equipment is not attached successfully; and when the first distance is smaller than or equal to the first preset distance, judging that the electrocardio detection equipment is attached successfully.
Optionally, the target user has a plurality of preset detection points, wherein when a first distance between at least one preset detection point and the electrocardiograph detection device is greater than a first preset distance corresponding to the preset detection point, it is determined that the electrocardiograph detection device is not successfully attached; and when the first distance between each preset detection point and the electrocardio detection equipment is smaller than or equal to the first preset distance corresponding to the preset detection point, judging that the electrocardio detection equipment is successfully attached.
Optionally, the step of generating the attaching direction information of the electrocardiograph detection device according to the first position information and the second position information includes:
acquiring a preset detection point with the first distance larger than the first preset distance as a target detection point;
determining first direction information of the target detection point relative to the electrocardio detection equipment according to the first position information and the second position information of the target detection point;
generating the attaching direction information of the electrocardio detection equipment according to the first direction information.
Optionally, the step of determining whether the electrocardiograph detection device is successfully attached according to the first position information and the second position information includes:
determining a target area according to at least three pieces of first position information, wherein at least three preset detection points exist on the target user;
acquiring a boundary line of the target area;
judging whether the electrocardio detection equipment is attached successfully or not according to a second distance between the boundary line and the second position information and a second preset distance;
when a second distance between at least one boundary line and the second position information is larger than a second preset distance, judging that the electrocardio detection equipment is not attached successfully; and when a second distance between each boundary line and the electrocardio detection equipment is smaller than or equal to a second preset distance, judging that the electrocardio detection equipment is successfully attached.
Optionally, the step of generating the attaching direction information of the electrocardiograph detection device according to the first position information and the second position information includes:
acquiring the boundary line with the second distance greater than the second preset distance as a target boundary line;
determining a connecting line between the position corresponding to the second position information and the target boundary line, wherein the connecting line is perpendicular to the target boundary line;
determining second direction information of the connecting line from the position corresponding to the second position information to the target boundary line;
generating the attaching direction information of the electrocardio detection equipment according to the second direction information.
Optionally, before the step of acquiring the image of the target user when the electrocardiograph detection device is detected to be attached to the target user, the method further includes:
acquiring a human body image of the target user;
generating the attaching position information of the electrocardio detection equipment according to the first position information of the preset detection point in the human body image;
and outputting the attaching position information.
In order to achieve the above object, the present invention further provides a pasting prompting device for an electrocardiograph detection apparatus, wherein the pasting prompting device for the electrocardiograph detection apparatus comprises:
the pasting prompting device of the electrocardio detection equipment comprises a memory, a processor and a pasting prompting program of the electrocardio detection equipment, wherein the pasting prompting program of the electrocardio detection equipment is stored on the memory and can run on the processor, and the step of the pasting prompting method of the electrocardio detection equipment is realized when the pasting prompting program of the electrocardio detection equipment is executed by the processor.
In order to achieve the above object, the present invention further provides a computer-readable storage medium, where a placement prompt program of the electrocardiograph detection device is stored on the computer-readable storage medium, and when the placement prompt program of the electrocardiograph detection device is executed by a processor, the steps of the placement prompt method of the electrocardiograph detection device are implemented.
According to the pasting prompting method of the electrocardio detection equipment, the pasting prompting device of the electrocardio detection equipment and the computer readable storage medium, when the electrocardio detection equipment is detected to be pasted on a target user, an image of the target user is obtained; acquiring first position information of a preset detection point on the body of the target user and second position information of the electrocardio detection equipment according to the image; judging whether the electrocardio detection equipment is attached successfully or not according to the first position information and the second position information; and outputting prompt information when the electrocardio detection equipment is judged not to be attached successfully. Therefore, when the electrocardio detection device is not successfully attached, prompt information is output to a user or medical staff, so that the target user or medical staff can adjust the attachment position of the electrocardio detection device according to the prompt information, and the accuracy rate of attaching the electrocardio detection device to the user is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating a first embodiment of a placement prompting method for an electrocardiograph detection apparatus according to the present invention;
FIG. 3 is a schematic flow chart illustrating a second embodiment of a placement prompting method for an electrocardiograph detection apparatus according to the present invention;
FIG. 4 is a schematic flow chart illustrating a third embodiment of a placement prompting method for an electrocardiograph detection apparatus according to the present invention;
FIG. 5 is a schematic flow chart illustrating a fourth embodiment of a placement prompting method for an electrocardiograph detection apparatus according to the present invention;
FIG. 6 is a diagram illustrating an example of an electrocardiograph detecting apparatus according to an embodiment of the present invention;
FIG. 7 is an exemplary diagram of a preset mark point according to an embodiment of a method for prompting placement of an electrocardiograph detection apparatus of the present invention;
FIG. 8 is a diagram illustrating an example of placement of an electrocardiographic detection device according to an embodiment of the method for prompting placement of electrocardiographic detection apparatus of the present invention;
FIG. 9 is a diagram illustrating an example of placement of an electrocardiographic detection device according to another embodiment of the method for prompting placement of electrocardiographic detection apparatus of the present invention;
FIG. 10 is a diagram illustrating an example of an electrocardiograph detecting device being attached according to still another embodiment of the method for prompting electrocardiograph detection according to the present invention;
FIG. 11 is a diagram illustrating an example of an electrocardiograph detection device being attached according to still another embodiment of the method for prompting attachment of electrocardiograph detection apparatus according to the present invention;
fig. 12 is an exemplary diagram of a target area according to an embodiment of a placement prompting method for an electrocardiograph detection device of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The invention provides a pasting prompting method of an electrocardio detection device, which improves the accuracy rate when the electrocardio detection device is pasted on a user.
As shown in fig. 1, fig. 1 is a schematic diagram of a hardware operating environment of a terminal according to an embodiment of the present invention;
the terminal of the embodiment of the invention can be a pasting prompting device of the electrocardio detection equipment, such as an electrocardiogram machine, a control terminal for controlling the electrocardio detection equipment and the like, and the terminal of the embodiment can also be a server for controlling the electrocardio detection equipment.
As shown in fig. 1, the terminal may include: a processor 1001, such as a Central Processing Unit (CPU), a memory 1002, and a communication bus 1003. The communication bus 1003 is used for implementing connection communication between the components in the terminal. The memory 1002 may be a random-access memory (RAM) or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 1002 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration of the terminal shown in fig. 1 is not intended to be limiting of the terminal of embodiments of the present invention and may include more or less components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, the memory 1002, which is a kind of computer storage medium, may include a placement prompt program of the electrocardiograph detection apparatus.
In the terminal shown in fig. 1, the processor 1001 may be configured to call the placement prompting program of the electrocardiograph detection device stored in the memory 1002, and perform the following operations:
when detecting that the electrocardio detection equipment is attached to a target user, acquiring an image of the target user;
acquiring first position information of a preset detection point on the body of the target user and second position information of the electrocardio detection equipment according to the image;
judging whether the electrocardio detection equipment is attached successfully or not according to the first position information and the second position information;
and outputting prompt information when the electrocardio detection equipment is judged not to be attached successfully.
Further, the processor 1001 may call the placement prompting program of the electrocardiograph detection device stored in the memory 1002, and further perform the following operations:
generating attaching direction information of the electrocardio detection equipment according to the first position information and the second position information;
and outputting prompt information according to the attaching direction information.
Further, the processor 1001 may call the placement prompting program of the electrocardiograph detection device stored in the memory 1002, and further perform the following operations:
determining a first distance between the preset detection point and the electrocardio detection equipment according to the first position information and the second position information;
judging whether the electrocardio detection device is attached successfully or not according to the first distance and a first preset distance corresponding to the preset detection point;
when the first distance is greater than the first preset distance, judging that the electrocardio detection equipment is not attached successfully; and when the first distance is smaller than or equal to the first preset distance, judging that the electrocardio detection equipment is attached successfully.
Further, the processor 1001 may call the placement prompting program of the electrocardiograph detection device stored in the memory 1002, and further perform the following operations:
the target user is provided with a plurality of preset detection points, wherein when a first distance between at least one preset detection point and the electrocardio detection device is greater than a first preset distance corresponding to the preset detection point, the electrocardio detection device is judged not to be successfully attached; and when the first distance between each preset detection point and the electrocardio detection equipment is smaller than or equal to the first preset distance corresponding to the preset detection point, judging that the electrocardio detection equipment is successfully attached.
Further, the processor 1001 may call the placement prompting program of the electrocardiograph detection device stored in the memory 1002, and further perform the following operations:
acquiring a preset detection point with the first distance larger than the first preset distance as a target detection point;
determining first direction information of the target detection point relative to the electrocardio detection equipment according to the first position information and the second position information of the target detection point;
generating the attaching direction information of the electrocardio detection equipment according to the first direction information.
Further, the processor 1001 may call the placement prompting program of the electrocardiograph detection device stored in the memory 1002, and further perform the following operations:
determining a target area according to at least three pieces of first position information, wherein at least three preset detection points exist on the target user;
acquiring a boundary line of the target area;
judging whether the electrocardio detection equipment is attached successfully or not according to a second distance between the boundary line and the second position information and a second preset distance;
when a second distance between at least one boundary line and the second position information is larger than a second preset distance, judging that the electrocardio detection equipment is not attached successfully; and when a second distance between each boundary line and the electrocardio detection equipment is smaller than or equal to a second preset distance, judging that the electrocardio detection equipment is successfully attached.
Further, the processor 1001 may call the placement prompting program of the electrocardiograph detection device stored in the memory 1002, and further perform the following operations:
acquiring the boundary line with the second distance greater than the second preset distance as a target boundary line;
determining a connecting line between the position corresponding to the second position information and the target boundary line, wherein the connecting line is perpendicular to the target boundary line;
determining second direction information of the connecting line from the position corresponding to the second position information to the target boundary line;
generating the attaching direction information of the electrocardio detection equipment according to the second direction information.
Further, the processor 1001 may call the placement prompting program of the electrocardiograph detection device stored in the memory 1002, and further perform the following operations:
acquiring a human body image of the target user;
generating the attaching position information of the electrocardio detection equipment according to the first position information of the preset detection point in the human body image;
and outputting the attaching position information.
Referring to fig. 2, in an embodiment, the method for prompting placement of the electrocardiograph detection device includes:
and step S10, when detecting that the electrocardio detection equipment is attached to the body of the target user, acquiring the image of the target user.
In this embodiment, the terminal in the embodiment may be a placement prompt device of the electrocardiograph detection apparatus, such as an electrocardiograph, a control terminal that controls the electrocardiograph detection apparatus, or the like, and the terminal in the embodiment may also be a server that controls the electrocardiograph detection apparatus.
The terminal is provided with a camera device, or the terminal is connected with the camera device and establishes communication connection with the camera device through network connection.
Optionally, the electrocardiograph detection device may output the acquired electrocardiograph signal to an electrocardiograph or an electrocardiograph recorder to generate an electrocardiogram; the electrocardiogram detection device can also directly generate an electrocardiogram according to the acquired electrocardiosignals and output and display the generated electrocardiogram by the display device.
Optionally, the electrocardiograph detection device is a portable electrocardiograph detection device. Furthermore, the electrocardio detection equipment is wound patch electrocardio detection equipment.
Optionally, referring to fig. 6, the electrocardiograph detecting device 10 is provided with a tape 20, and the tape 20 is used for attaching the electrocardiograph detecting device 10 to a human body.
It should be noted that the target user is an object to acquire an electrocardiographic signal corresponding to the electrocardiographic detection device.
Optionally, when the terminal detects that the electrocardiograph detection device is attached to the body of the target user through the camera device, the image of the target user attached with the electrocardiograph detection device can be obtained through the camera device; or, the terminal can acquire the image of the target user in real time or at regular time through the camera device, and when the target user is detected to be attached with the electrocardio detection equipment in the acquired image of the target user, the image of the target user attached with the electrocardio equipment is acquired.
It should be understood that the electrocardiographic detection device attached to the target user may be attached to the target user, or may be attached to a medical staff or a person near the target user.
It should be noted that the terminal performs image recognition training in advance based on an image of a user to whom the electrocardiographic detection device is attached, of a certain data sample, and therefore, when the electrocardiographic detection device is attached to the user, the terminal can recognize the image.
And step S20, acquiring first position information of a preset detection point on the body of the target user and second position information of the electrocardio detection equipment according to the image.
Optionally, the preset detection point corresponds to a feature point in the upper body area of the target user, and may be selected from feature points of the clavicle, the axilla, the shoulder, the pectoral contour, the nipple and the like of the target user.
Optionally, the terminal determines in advance that there is at least one preset detection point.
Optionally, after the terminal acquires the image of the target user, a preset detection point in the image is identified, and first position information of the preset detection point on the human body is determined.
Optionally, referring to fig. 7, at least one preset mark point 30 is preset on the electrocardiograph detecting device 10.
Alternatively, referring to fig. 8, after acquiring the image of the target user, the terminal identifies the electrocardiograph detection device 10 in the image, and further identifies the preset mark point 30 in the electrocardiograph detection device 10. And then obtains second position information according to the position of the preset mark point 30 on the human body.
And step S30, judging whether the electrocardio detection equipment is attached successfully according to the first position information and the second position information.
Optionally, after the terminal obtains the first position information and the second position information, the terminal may calculate a first distance between a position corresponding to the first position information and a position corresponding to the second position information, then obtain a preset detection point corresponding to the first position information, further obtain a first preset distance corresponding to the preset detection point, then compare the first preset distance with the first distance, and determine whether the electrocardiographic detection device is successfully attached according to the comparison result. When the first distance is greater than the first preset distance, judging that the electrocardio detection equipment is not attached successfully; and when the first distance is smaller than or equal to the first preset distance, judging that the electrocardio detection equipment is attached successfully.
It should be noted that the first preset distance may be determined by a designer according to a distance between a correct detection position of the electrocardiograph detection device and a preset detection point, where target users of different ages may set different first preset distances, for example, the first preset distance corresponding to an adult is greater than the first preset distance of a child.
Optionally, after the terminal obtains the first position information and the second position information, the terminal may construct a target area according to the first position information, then obtain each boundary line of the target area, then calculate a second distance between each boundary line and a position corresponding to the second position information, compare the second distance with a second preset distance, and determine whether the electrocardiograph detection device is successfully attached according to a comparison result. When at least one second distance is larger than a second preset distance, judging that the electrocardio detection equipment is not attached successfully; and when all the second distances are smaller than or equal to a second preset distance, judging that the electrocardio detection equipment is successfully attached.
It should be noted that the first preset distance may be determined by a designer according to a distance between a correct detection position of the electrocardiograph detection device and a preset detection point, where target users of different ages may set different first preset distances, for example, the first preset distance corresponding to an adult is greater than the first preset distance of a child. The second predetermined distance may be the same as or different from the first predetermined distance.
And step S40, outputting prompt information when the electrocardio detection equipment is judged not to be attached successfully.
Optionally, when the terminal determines that the electrocardiograph detection device is not successfully attached to the human body, prompt information is generated and output. The prompt message can be a prompt message of failure in attaching the electrocardiogram detection equipment, so that the target user or medical personnel can know that the electrocardiogram detection equipment is not successfully attached after seeing the preset prompt message, and the attaching position of the electrocardiogram detection equipment on the target user is readjusted based on the fact. Therefore, the accuracy rate when the electrocardio detection equipment is attached to the human body can be improved, and the problem that the electrocardio detection equipment cannot acquire accurate electrocardiosignals due to inaccurate attachment of the electrocardio detection equipment is avoided.
Optionally, in order to facilitate the target user or the medical care personnel to readjust the placement position of the electrocardiograph detection device, when the terminal generates the prompt information, the terminal may generate the placement direction information of the electrocardiograph detection device according to the first position information and the second position information, and output the prompt information according to the placement direction information. Therefore, the target user or the medical staff can adjust the attaching position of the electrocardio detection equipment according to the attaching direction information output by the prompt information.
Optionally, when it is determined that the electrocardiograph detection device is successfully attached, the terminal may generate and output information of successful attachment of the electrocardiograph detection device, so as to prevent the target user or the medical care personnel from continuing to adjust the attachment position of the electrocardiograph detection device after the electrocardiograph detection device is successfully attached.
In one embodiment, when detecting that an electrocardiograph detection device is attached to a target user, acquiring an image of the target user; acquiring first position information of a preset detection point on the body of the target user and second position information of the electrocardio detection equipment according to the image; judging whether the electrocardio detection equipment is attached successfully or not according to the first position information and the second position information; and outputting prompt information when the electrocardio detection equipment is judged not to be attached successfully. Therefore, when the electrocardio detection device is not successfully attached, prompt information is output to a user or medical staff, so that the target user or medical staff can adjust the attachment position of the electrocardio detection device according to the prompt information, and the accuracy rate of attaching the electrocardio detection device to the user is improved.
In a second embodiment, as shown in fig. 3, on the basis of the embodiment shown in fig. 2, the step of determining whether the electrocardiograph detection device is successfully attached according to the first position information and the second position information includes:
step S31, determining a first distance between the preset detection point and the electrocardio detection device according to the first position information and the second position information.
And S32, judging whether the electrocardio detection device is successfully attached according to the first distance and a first preset distance corresponding to the preset detection point.
In this embodiment, at least two preset detection points are preset.
Optionally, referring to fig. 9, when the terminal recognizes that the target user has a plurality of preset detection points 40 through the image of the target user, the terminal determines the first position information corresponding to each preset detection point 40, respectively.
Optionally, the terminal may determine a first distance between each preset detection point and the electrocardiograph detection device (i.e., a preset marking point of the electrocardiograph detection device) according to the first position information of each preset detection point and the second position information of the electrocardiograph detection device, and associate the first distance with the preset detection point. Further, the terminal respectively compares a first distance corresponding to each preset detection point with a first preset distance, and when the first distance corresponding to at least one preset detection point is greater than the first preset distance, the fact that the electrocardio detection device is not attached successfully is judged; and when the first distances corresponding to all the preset detection points are smaller than or equal to the first preset distances, judging that the electrocardio detection equipment is successfully attached.
It should be noted that the first preset distances corresponding to different preset detection points may be the same or different.
For example, there are two preset detection points on the human body, which are the clavicle detection point and the axilla detection point, respectively, and the first preset distance corresponding to the clavicle detection point is 10cm, and the first preset distance corresponding to the axilla detection point is 5 cm. When the first distance between the clavicle detection point and the electrocardiograph detection equipment is 9cm and the first distance between the oxter detection point and the electrocardiograph detection equipment is 10m, judging that the electrocardiograph detection equipment is not attached successfully; and when the first distance between the clavicle detection point and the electrocardiogram detection equipment is 9cm and the first distance between the oxter detection point and the electrocardiogram detection equipment is 4cm, judging that the electrocardiogram detection equipment is successfully attached.
It should be noted that the larger the preset detection point is, the more accurate the detection of the attaching position of the electrocardiograph detection device is.
Optionally, when it is determined that the electrocardiograph detection device is not successfully attached, the terminal may obtain a preset detection point, as a target detection point, where the corresponding first distance is greater than the first preset distance, and then obtain first position information corresponding to the target detection point. Further, the terminal may determine, according to the first position information and the second position information, first direction information (i.e., a direction of the preset detection point relative to the electrocardiograph detection device) of a position corresponding to the first position information relative to a position corresponding to the second position information when the position corresponding to the second position information is taken as a center, and then generate the placement direction information of the electrocardiograph detection device according to the determined first direction information.
Alternatively, referring to fig. 10, when the electrocardiographic detecting device is provided with at least two preset mark points 30, the position information of each preset mark point is acquired as the second position information, respectively. At this time, the terminal respectively calculates a first distance between a position corresponding to each second position information and a position corresponding to each first position information, and then judges whether the electrocardiograph detection device is successfully attached according to all the first distances and all the first preset distances. When at least one first distance is larger than a corresponding first preset distance, judging that the electrocardio detection equipment is not attached successfully; and when all the first distances are smaller than or equal to the corresponding first preset distances, judging that the electrocardio detection equipment is successfully attached.
It should be noted that when the first distance between the same preset detection point and the different preset mark points is compared with the first preset distance of the preset detection point, the compared first preset distances are also different, that is, the terminal sets different first preset distances corresponding to the same preset detection point in advance for the different preset mark points. For example, when the preset detection point is a shoulder detection point, the electrocardiographic detection device is provided with a first preset marking point and a second preset marking point, the shoulder detection point is preset with a first preset distance corresponding to the first preset marking point of 10cm, and the first preset distance corresponding to the second preset marking point of 15 cm. And comparing the first distance with a first preset distance with the value of 10cm after determining the first distance between the shoulder detection point and the first preset mark point.
Therefore, when the electrocardio detection device is not successfully attached, prompt information is output to a user or medical staff, so that the target user or medical staff can adjust the attachment position of the electrocardio detection device according to the prompt information, and the accuracy rate of attaching the electrocardio detection device to the user is improved.
In a third embodiment, as shown in fig. 4, on the basis of the embodiments of fig. 2 to 3, the step of determining whether the electrocardiograph detection device is successfully attached according to the first position information and the second position information includes:
step S33, determining a target area according to the at least three first position information, where at least three preset detection points exist on the target user.
And step S34, acquiring the boundary line of the target area.
And step S35, judging whether the electrocardio detection device is attached successfully according to a second distance between the boundary line and the second position information and a second preset distance.
In this embodiment, after the terminal obtains the first position information and the second position information, the terminal may construct a target region according to the first position information, then obtain each boundary line of the target region, then calculate a second distance between each boundary line and a position corresponding to the second position information, compare the second distance with a second preset distance, and determine whether the electrocardiograph detection device is successfully attached according to a comparison result.
Optionally, the terminal is preset with at least three preset detection points. Referring to fig. 11, when the terminal recognizes that the target user has a plurality of preset detection points 40 through the image of the target user, the terminal determines first position information corresponding to each preset detection point 40. Further, the terminal establishes a connection line between the preset detection points 40 according to each piece of the first position information, then determines a maximum polygon area range established based on the connection line between the preset detection points 40, and takes the polygon area range as the target area 50.
Optionally, after determining that the target area is obtained, the terminal acquires boundary lines of the target area, then determines a minimum distance between each boundary line and a position corresponding to the second position information as a second distance, that is, establishes a connection line between the position corresponding to the second position information and each boundary line, where the established connection line is perpendicular to the boundary lines (that is, establishes a perpendicular line therebetween), acquires an intersection point of the connection line and the boundary lines, then calculates a distance between the intersection point and the position corresponding to the second position information as the second distance, and associates the second distance with the boundary line currently used for determining the second distance.
It should be understood that, when the length of the borderline is insufficient, it may be a perpendicular line establishing the extension of the position corresponding to the second position information and the borderline.
It should be noted that each boundary line is provided with a corresponding second preset distance, and the second preset distances corresponding to different boundary lines may be the same or different.
Further, the terminal respectively compares a second distance corresponding to each boundary line with a second preset distance, and when the second distance corresponding to at least one boundary line is greater than the second preset distance, the electrocardio detection device is judged not to be successfully attached; and when the second distances corresponding to all the boundary lines are smaller than or equal to a second preset distance, judging that the electrocardio detection equipment is successfully attached.
Optionally, when it is determined that the electrocardiographic detection device is not successfully attached, the terminal may obtain a boundary line, where the corresponding second distance is greater than a second preset distance, as a target boundary line, and then determine a connection line between each target boundary line and a position corresponding to the second position information, where the connection line is perpendicular to the target boundary line. Further, the terminal can obtain an intersection point of the connecting line and the target boundary line according to the connecting line obtained through determination, then determine the direction of the intersection point relative to the position corresponding to the second position information when the position corresponding to the second position information is taken as the center, determine the second direction information according to the direction, and then generate the attaching direction information of the electrocardiogram detection equipment according to the second direction information obtained through determination.
Alternatively, referring to fig. 12, when one preset detection point 40 is detected, the target area 50 may be constructed according to the first position information of the preset detection point and the preset geometric rule. Optionally, the position corresponding to the first position information is used as a corner of the preset geometric figure, and then the target area is constructed according to each side length of the preset geometric figure. For example, the preset plan graph is a rectangle, the length of the rectangle is 18cm, the width of the rectangle is 13cm, and the position corresponding to the first position information is taken as the corner of the lower left corner of the rectangle, so that a target area range of 18cm x 13cm can be obtained.
It should be understood that each side of the rectangular figure is a boundary line of the target area.
Therefore, when the electrocardio detection device is not successfully attached, prompt information is output to a user or medical staff, so that the target user or medical staff can adjust the attachment position of the electrocardio detection device according to the prompt information, and the accuracy rate of attaching the electrocardio detection device to the user is improved.
In a fourth embodiment, as shown in fig. 5, on the basis of the embodiments of fig. 2 to 4, before the step of acquiring the image of the target user when the electrocardiograph detection device is detected to be attached to the target user, the method further includes:
and step S50, acquiring the human body image of the target user.
And step S51, generating the attaching position information of the electrocardio detection equipment according to the first position information of the preset detection point in the human body image.
And step S52, outputting the mounting position information.
In this embodiment, before the target user or the medical staff attaches the electrocardiograph detection device to the target user, the terminal may obtain the human body image of the target user when the electrocardiograph detection device is not attached through the camera device.
Alternatively, the terminal may identify a preset detection point in the human body image, acquire first position information and a first preset distance of the preset detection point, and acquire shape information of the electrocardiograph detection device (the shape information includes side length information of the electrocardiograph detection device) input to the terminal in advance. Further, the terminal determines a target point according to the first position information and a first preset distance, the distance between the target point and the position corresponding to the first position information is smaller than or equal to the first preset distance, then a model of the electrocardio detection device is generated as attachment position information by utilizing a virtual reality augmentation technology according to the target point and the shape information of the electrocardio detection device, and the model is output to the display device in combination with the human body image.
Therefore, the target user or medical personnel can attach the electrocardio detection equipment to the target user according to the attachment position information, and the convenience in attaching the electrocardio detection equipment is realized.
In addition, the invention also provides a pasting prompting device of the electrocardiograph detection equipment, the pasting prompting device of the electrocardiograph detection equipment comprises a memory, a processor and a pasting prompting program of the electrocardiograph detection equipment, wherein the pasting prompting program of the electrocardiograph detection equipment is stored in the memory and can run on the processor, and the step of the pasting prompting method of the electrocardiograph detection equipment according to the embodiment is realized when the processor executes the pasting prompting program of the electrocardiograph detection equipment.
In addition, the present invention further provides a computer-readable storage medium, where the computer-readable storage medium includes a placement prompting program of the electrocardiograph detection device, and when executed by a processor, the placement prompting program of the electrocardiograph detection device implements the steps of the placement prompting method of the electrocardiograph detection device according to the above embodiment.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a television, a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A pasting prompting method of an electrocardiogram detection device is characterized by comprising the following steps:
when detecting that the electrocardio detection equipment is attached to a target user, acquiring an image of the target user;
acquiring first position information of a preset detection point on the body of the target user and second position information of the electrocardio detection equipment according to the image;
judging whether the electrocardio detection equipment is attached successfully or not according to the first position information and the second position information;
and outputting prompt information when the electrocardio detection equipment is judged not to be attached successfully.
2. The method for prompting placement of electrocardiographic detection apparatus according to claim 1, wherein the step of outputting the prompting information comprises:
generating attaching direction information of the electrocardio detection equipment according to the first position information and the second position information;
and outputting prompt information according to the attaching direction information.
3. The method for prompting attachment of electrocardiographic detection device according to claim 1 or 2, wherein the step of determining whether the electrocardiographic detection device is successfully attached according to the first position information and the second position information includes:
determining a first distance between the preset detection point and the electrocardio detection equipment according to the first position information and the second position information;
judging whether the electrocardio detection device is attached successfully or not according to the first distance and a first preset distance corresponding to the preset detection point;
when the first distance is greater than the first preset distance, judging that the electrocardio detection equipment is not attached successfully; and when the first distance is smaller than or equal to the first preset distance, judging that the electrocardio detection equipment is attached successfully.
4. The method for prompting placement of electrocardiographic detection apparatus according to claim 3, wherein the target user has a plurality of preset detection points, and wherein when a first distance between at least one preset detection point and the electrocardiographic detection apparatus is greater than a first preset distance corresponding to the preset detection point, it is determined that the electrocardiographic detection apparatus is not successfully placed; and when the first distance between each preset detection point and the electrocardio detection equipment is smaller than or equal to the first preset distance corresponding to the preset detection point, judging that the electrocardio detection equipment is successfully attached.
5. The method for prompting attachment of electrocardiographic detection device according to claim 4, wherein the step of generating the attachment direction information of the electrocardiographic detection device based on the first position information and the second position information comprises:
acquiring a preset detection point with the first distance larger than the first preset distance as a target detection point;
determining first direction information of the target detection point relative to the electrocardio detection equipment according to the first position information and the second position information of the target detection point;
generating the attaching direction information of the electrocardio detection equipment according to the first direction information.
6. The method for prompting attachment of electrocardiographic detection device according to claim 1 or 2, wherein the step of determining whether the electrocardiographic detection device is successfully attached according to the first position information and the second position information includes:
determining a target area according to at least three pieces of first position information, wherein at least three preset detection points exist on the target user;
acquiring a boundary line of the target area;
judging whether the electrocardio detection equipment is attached successfully or not according to a second distance between the boundary line and the second position information and a second preset distance;
when a second distance between at least one boundary line and the second position information is larger than a second preset distance, judging that the electrocardio detection equipment is not attached successfully; and when a second distance between each boundary line and the electrocardio detection equipment is smaller than or equal to a second preset distance, judging that the electrocardio detection equipment is successfully attached.
7. The method for prompting attachment of electrocardiographic detection device according to claim 6, wherein the step of generating the attachment direction information of the electrocardiographic detection device based on the first position information and the second position information comprises:
acquiring the boundary line with the second distance greater than the second preset distance as a target boundary line;
determining a connecting line between the position corresponding to the second position information and the target boundary line, wherein the connecting line is perpendicular to the target boundary line;
determining second direction information of the connecting line from the position corresponding to the second position information to the target boundary line;
generating the attaching direction information of the electrocardio detection equipment according to the second direction information.
8. The method for prompting attachment of electrocardiographic detection device according to claim 1, wherein before the step of acquiring the image of the target user when the electrocardiographic detection device is detected to be attached to the target user, the method further comprises:
acquiring a human body image of the target user;
generating the attaching position information of the electrocardio detection equipment according to the first position information of the preset detection point in the human body image;
and outputting the attaching position information.
9. A pasting prompting device of an electrocardiogram detection apparatus is characterized by comprising a memory, a processor and a pasting prompting program of the electrocardiogram detection apparatus, wherein the pasting prompting program is stored in the memory and can run on the processor, and when being executed by the processor, the pasting prompting device of the electrocardiogram detection apparatus realizes the steps of the pasting prompting method of the electrocardiogram detection apparatus according to any one of claims 1 to 8.
10. A computer-readable storage medium, wherein a placement prompt program of an electrocardiographic detection device is stored on the computer-readable storage medium, and when executed by a processor, the placement prompt program of the electrocardiographic detection device implements the steps of the placement prompt method of the electrocardiographic detection device according to any one of claims 1 to 8.
CN201911351572.3A 2019-12-23 2019-12-23 Pasting prompting method and device for electrocardiogram detection equipment and medium Active CN110895827B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911351572.3A CN110895827B (en) 2019-12-23 2019-12-23 Pasting prompting method and device for electrocardiogram detection equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911351572.3A CN110895827B (en) 2019-12-23 2019-12-23 Pasting prompting method and device for electrocardiogram detection equipment and medium

Publications (2)

Publication Number Publication Date
CN110895827A true CN110895827A (en) 2020-03-20
CN110895827B CN110895827B (en) 2022-08-30

Family

ID=69787431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911351572.3A Active CN110895827B (en) 2019-12-23 2019-12-23 Pasting prompting method and device for electrocardiogram detection equipment and medium

Country Status (1)

Country Link
CN (1) CN110895827B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0183410A2 (en) * 1984-11-21 1986-06-04 Robert James Athans Electrocardiograph sensor positioning device
CN102840824A (en) * 2011-06-23 2012-12-26 杭州古思科技有限公司 Method and device for detecting position of chip resistor on base plate
CN107137076A (en) * 2017-05-31 2017-09-08 深圳市德正智能有限公司 A kind of electrocardiograph monitoring device and the electrode position method based on the electrocardiograph monitoring device
CN108294743A (en) * 2017-12-29 2018-07-20 华为技术有限公司 A kind of robot and ECG detecting method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0183410A2 (en) * 1984-11-21 1986-06-04 Robert James Athans Electrocardiograph sensor positioning device
CN102840824A (en) * 2011-06-23 2012-12-26 杭州古思科技有限公司 Method and device for detecting position of chip resistor on base plate
CN107137076A (en) * 2017-05-31 2017-09-08 深圳市德正智能有限公司 A kind of electrocardiograph monitoring device and the electrode position method based on the electrocardiograph monitoring device
CN108294743A (en) * 2017-12-29 2018-07-20 华为技术有限公司 A kind of robot and ECG detecting method

Also Published As

Publication number Publication date
CN110895827B (en) 2022-08-30

Similar Documents

Publication Publication Date Title
US20210049395A1 (en) Image processing method and apparatus, and storage medium
CN109961780B (en) A man-machine interaction method a device(s) Server and storage medium
EP3447679A1 (en) Facial in-vivo verification method and device
US9959454B2 (en) Face recognition device, face recognition method, and computer-readable recording medium
US10552593B2 (en) Face verification method and electronic device
CN108898185A (en) Method and apparatus for generating image recognition model
CN110866897A (en) Image detection method and computer readable storage medium
CN110472481B (en) Sleeping gesture detection method, device and equipment
KR102500715B1 (en) Electronic apparatus and controlling method thereof
CN109938842B (en) Facial surgery positioning navigation method and device
CN110020628B (en) Sitting posture detection method, system and equipment based on face detection and storage medium
CN108427941A (en) Method, method for detecting human face and device for generating Face datection model
WO2023143215A1 (en) Acquisition method for human body measurement data, processing method for human body measurement data, and device
CN115337044A (en) Nucleic acid sampling monitoring method, device, system and computer readable storage medium
US20190018487A1 (en) Information processing apparatus, information processing method, and computer readable recording medium having program recorded therein
EP3499464A1 (en) Three-dimensional data matching device and method
CN109740511B (en) Facial expression matching method, device, equipment and storage medium
CN110895827B (en) Pasting prompting method and device for electrocardiogram detection equipment and medium
US20240104769A1 (en) Information processing apparatus, control method, and non-transitory storage medium
CN108509929A (en) Method, method for detecting human face and device for generating Face datection model
CN115171284B (en) Senior caring method and device
CN110852220A (en) Intelligent recognition method of facial expression, terminal and computer readable storage medium
KR101787255B1 (en) Facial expression recognition method based on ratio of facial ladnmark's distance
CN116320711A (en) Image shooting method and device
CN115346257A (en) Sitting posture monitoring method and device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant