CN106377240A - Device and method detecting heartbeat rate - Google Patents

Device and method detecting heartbeat rate Download PDF

Info

Publication number
CN106377240A
CN106377240A CN201610755756.6A CN201610755756A CN106377240A CN 106377240 A CN106377240 A CN 106377240A CN 201610755756 A CN201610755756 A CN 201610755756A CN 106377240 A CN106377240 A CN 106377240A
Authority
CN
China
Prior art keywords
image
colour
target
target image
heart rate
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.)
Pending
Application number
CN201610755756.6A
Other languages
Chinese (zh)
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.)
SUZHOU PINNUO NEW MEDICAL TECHNOLOGY Co Ltd
Original Assignee
SUZHOU PINNUO NEW MEDICAL 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 SUZHOU PINNUO NEW MEDICAL TECHNOLOGY Co Ltd filed Critical SUZHOU PINNUO NEW MEDICAL TECHNOLOGY Co Ltd
Priority to CN201610755756.6A priority Critical patent/CN106377240A/en
Publication of CN106377240A publication Critical patent/CN106377240A/en
Pending legal-status Critical Current

Links

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/02Detecting, measuring or recording pulse, heart rate, blood pressure or blood flow; Combined pulse/heart-rate/blood pressure determination; Evaluating a cardiovascular condition not otherwise provided for, e.g. using combinations of techniques provided for in this group with electrocardiography or electroauscultation; Heart catheters for measuring blood pressure
    • A61B5/024Detecting, measuring or recording pulse rate or heart rate
    • A61B5/02416Detecting, measuring or recording pulse rate or heart rate using photoplethysmograph signals, e.g. generated by infrared radiation
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/72Signal processing specially adapted for physiological signals or for diagnostic purposes
    • A61B5/7271Specific aspects of physiological measurement analysis
    • A61B5/7285Specific aspects of physiological measurement analysis for synchronising or triggering a physiological measurement or image acquisition with a physiological event or waveform, e.g. an ECG signal
    • A61B5/7289Retrospective gating, i.e. associating measured signals or images with a physiological event after the actual measurement or image acquisition, e.g. by simultaneously recording an additional physiological signal during the measurement or image acquisition

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Cardiology (AREA)
  • Veterinary Medicine (AREA)
  • Physics & Mathematics (AREA)
  • Public Health (AREA)
  • Biophysics (AREA)
  • Pathology (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • General Health & Medical Sciences (AREA)
  • Physiology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Signal Processing (AREA)
  • Psychiatry (AREA)
  • Image Analysis (AREA)

Abstract

The invention provides a device and method detecting heartbeat rate. The device comprises an image collection unit, an image correction unit, a tone detection unit and a heart rate detection unit, wherein the image collection unit can collect images of a target part of a to-be-detected user at intervals preset to form a first target image; the target part has a monitoring area; the image correction unit can rotate the first target image to a preset target position to form a second target image; the tone detection unit can acquire a third target image corresponding to the monitoring area according to the second target image, and acquire tone of the third target image; and the heart rate detection unit forms a tone change curve according to tones of each third target image, and determines the heart rate of the to-be-detected user based on the tone change curve. Heart rate detection accuracy during the motion can be improved by the use of the technical scheme.

Description

A kind of device and method of detection heart rate
Technical field
The present invention relates to technical field of medical instruments, particularly to a kind of device and method of detection heart rate.
Background technology
Heart rate is the important parameter of heart body, may determine that the various hearts according to heart rate and with reference to other specification Dirty disease, in addition, according to the change of motor process heart rate, targetedly training plan can be formulated for athlete, with Improve athletic games results.
At present, when detecting heart rate, need corresponding heart rate detection equipment is fixed on user to be detected, with The mode of directly contact detects to the heart rate of user to be detected.
It is directed to the method that prior art detects heart rate, due to needing that heart rate detection equipment is fixed on use to be detected With family, detect heart rate in the way of directly contact, the heart rate situation of change during detection Athletess When, it is fixed on the heart rate detection equipment with athlete and athletic motion will be brought with inconvenience, athlete is normal for impact The carrying out of motion, thus lead to the accuracy in motor process, heart rate being detected relatively low.
Content of the invention
Embodiments provide a kind of device and method of detection heart rate, it is possible to increase right in motor process The accuracy that heart rate is detected.
Embodiments provide a kind of device of detection heart rate, including:Image acquisition units, image calibration original Unit, colour detector unit and heart rate detection unit;
Described image collecting unit, for every the interval time setting, carrying out figure to the target site of user to be detected As collection, form first object image, wherein said target site includes monitored area;
Described image corrects unit, for by described first object image rotation to the target location pre-setting, being formed Second target image;
Described colour detector unit, for according to described second target image, obtaining the corresponding to described monitored area Three target images, and obtain the colour of described 3rd target image;
Described heart rate detection unit, for the colour according to each described 3rd target image, forms colour change curve, And the heart rate of described user to be detected is determined according to described colour change curve.
Preferably,
Described image correction unit includes:Identification subelement and rotation subelement;
Described identification subelement, for identifying at least one character shape from described first object image;
Described rotation subelement, for according to described identification subelement identify described at least one character shape and water Square to relative position, described first object image is rotated, forms described second target image, so that described in each The image of target site described in second target image and the relative position of horizontal direction are identical.
Preferably,
Described identification subelement, for by Hough transformation identify from described first object image set in advance at least One described character shape.
Preferably,
Described colour detector unit includes:Locator unit and computation subunit;
Described locator unit, for identifying at least one characteristic point from described second target image, according to described extremely Monitored area described in few feature point pairs is positioned, and will be located in described monitored area on described second target image Image is as described 3rd target image;
Described computation subunit, for obtaining each pixel that described 3rd target image includes, according to presetting Target primary colors, detect the colour of target primary colors described in each described pixel, calculate described in each described pixel The colour sum of target primary colors, using described colour sum as described 3rd target image colour.
Preferably,
Described target primary colors includes:Green.
Preferably,
Described heart rate detection unit, for the collection according to each first object image corresponding to described 3rd target image Sequentially, with acquisition time as abscissa, using the colour of the 3rd target image each described as vertical coordinate, simulate described colour Change curve;And according to included by described colour change curve stationary point number, and first on described colour change curve The corresponding acquisition time in stationary point and last stationary point, determines the heart rate of described user to be detected by equation below one;
Described formula one includes:
γ = 30 ( m - 1 ) t 2 - t 1
Wherein, described γ is the heart rate of described user to be detected, unit be beat/min;Described m is that described colour becomes Change the number in stationary point included by curve;Described t1For the corresponding acquisition time in first stationary point on described colour change curve, single Position is the second;Described t2For the corresponding acquisition time in last stationary point on described colour change curve, unit is the second.
The embodiment of the present invention additionally provides a kind of method of detection heart rate speed, and the method includes:
Every the interval time setting, image acquisition is carried out to the target site of user to be detected, forms first object figure Picture, wherein said target site includes monitored area;
By described first object image rotation to the target location pre-setting, form the second target image;
According to described second target image, obtain the 3rd target image corresponding to described monitored area, and obtain described The colour of the 3rd target image;
According to the colour of each described 3rd target image, form colour change curve;
Determine the heart rate of described user to be detected according to described colour change curve.
Preferably,
Described by described first object image rotation to the target location pre-setting, form the second target image and include:
Identify at least one character shape from described first object image, according at least one character shape described and water Square to relative position, described first object image is rotated, forms described second target image, so that described in each The image of target site described in second target image and the relative position of horizontal direction are identical.
Preferably,
Described according to described second target image, obtain the 3rd target image corresponding to described monitored area and include:
Identify at least one characteristic point from described second target image, supervise according at least one feature point pairs described Survey region to be positioned, and using the image being located in described monitored area on described second target image as described 3rd target Image;
The described colour obtaining described 3rd target image includes:
Obtain each pixel that described 3rd target image includes, according to target primary colors set in advance, detect each The colour of target primary colors described in individual described pixel, calculates the colour sum of target primary colors described in each described pixel, Using described colour sum as described 3rd target image colour.
Preferably,
The described colour according to each described 3rd target image, forms colour change curve and includes:
Acquisition order according to each first object image corresponding to described 3rd target image, with acquisition time for horizontal seat Mark, using the colour of the 3rd target image each described as vertical coordinate, simulates described colour change curve;
Described included according to the heart rate that described colour change curve determines described user to be detected:
First stationary point in the number in stationary point, and described colour change curve according to included by described colour change curve And the corresponding acquisition time in last stationary point, the heart rate of described user to be detected is determined by equation below one;
Described formula one includes:
γ = 30 ( m - 1 ) t 2 - t 1
Wherein, described γ is the heart rate of described user to be detected, unit be beat/min;Described m is that described colour becomes Change the number in stationary point included by curve;Described t1For the corresponding acquisition time in first stationary point on described colour change curve, single Position is the second;Described t2For the corresponding acquisition time in last stationary point on described colour change curve, unit is the second.
The device and method of detection heart rate provided in an embodiment of the present invention, beating with heart, blood red in tissue The oxygen content of albumen can generating period change, and the cyclically-varying of hemoglobin oxygen content can make the colour of skin institute reflected light Generating period changes, and then so that the colour generating period of skin image is changed, and according to this principle, image acquisition units are every Every the interval time setting, the target site of user to be detected is carried out with an image acquisition, form first object image, image Correction unit forms the second target image to first object correct image;Colour detector unit is known from the second target image After not going out corresponding 3rd target image in monitored area, obtain the colour of the 3rd target image;Heart rate detection unit is according to each The colour of the 3rd image forms colour change curve, and determines the heart rate of user to be detected according to colour change curve. Due to image acquisition units not with user's directly contact to be detected, the motion of user to be detected will not be impacted, so as to Enough improve the accuracy in motor process, heart rate being detected.
Brief description
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Have technology description in required use accompanying drawing be briefly described it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of schematic device of detection heart rate that one embodiment of the invention provides;
Fig. 2 is a kind of method flow diagram of detection heart rate that one embodiment of the invention provides;
Fig. 3 is a kind of method flow diagram of detection heart rate that another embodiment of the present invention provides;
Fig. 4 is a kind of schematic diagram of colour change curve that one embodiment of the invention provides.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention are clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described it is clear that described embodiment is The a part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment being obtained on the premise of not making creative work, broadly falls into the scope of protection of the invention.
As shown in figure 1, embodiments providing a kind of device of detection heart rate, including:Image acquisition units 101st, image correction unit 102, colour detector unit 103 and heart rate detection unit 104;
Described image collecting unit 101, for every the interval time setting, carrying out to the target site of user to be detected Image acquisition, forms first object image, and wherein said target site includes monitored area;
Described image correct unit 102, for by described first object image rotation to the target location pre-setting, shape Become the second target image;
Described colour detector unit 103, for according to described second target image, obtaining corresponding to described monitored area 3rd target image, and obtain the colour of described 3rd target image;
Described heart rate detection unit 104, for the colour according to each described 3rd target image, forms colour change bent Line, and the heart rate of described user to be detected is determined according to described colour change curve.
Embodiments provide a kind of device of detection heart rate, beating with heart, blood red egg in tissue White oxygen content can generating period change, and the cyclically-varying of hemoglobin oxygen content can make the colour of skin institute reflected light send out Raw cyclically-varying, and then make the colour generating period of skin image change, according to this principle, heart rate detection unit according to Image acquisition units were once gathered to the target site of user to be detected every the interval time setting, and formed first object Image, image correction unit forms the second target image to first object correct image;Colour detector unit is from the second mesh After corresponding 3rd target image in monitored area is identified on logo image, obtain the colour of the 3rd target image;Heart rate detection list Unit forms colour change curve according to the colour of each the 3rd image, and determines user's to be detected according to colour change curve Heart rate.Due to image acquisition units not with user's directly contact to be detected, shadow will not be caused to the motion of user to be detected Ring such that it is able to improve the accuracy in motor process, heart rate being detected.
In an embodiment of the invention, image correction unit includes identification subelement and rotation subelement, and image is adopted Collection unit often collects a first object image, and identification subelement identifies at least one feature shape in this first object image Shape, rotation subelement according to the relative position of identification at least one character shape of identifying of subelement and horizontal direction, to this First object image is rotated, formed the second target subelement so that in each second target image user to be detected mesh The image at mark position is identical with the relative position of horizontal direction.
Specifically,
Due to image acquisition units, in collection first object image process, user to be detected is it may happen that motion, to be detected The motion of user leads to the relative position of the image of use target site to be detected and horizontal direction in different first object images not Same, if directly identifying the monitored area eventually for detection colour from first object image, can lead to from different first mesh The monitored area identified in logo image is inconsistent;Because the distribution situation of human body different parts skin blood vessel is different, correspondingly The colour of reflected light also differs, and after being ultimately imaged, corresponding colour is also different;If identified from each first object image The monitored area going out is inconsistent, it will so that the colour change curve that the colour according to image in monitored area is formed is existed larger Error, and then lead to the heart rate detecting to there is also larger error.By image correction unit to first object image It is corrected, form the second target image to carrying out rotation in first object image, make to be detected in each second target image The relative position all same of the image at ownership goal position and horizontal direction is it is ensured that orient from each second target image Monitored area both corresponds to the same position on ownership goal position to be detected, and that is, each the 3rd target image is all to be detected The image of user's same skin, thus the Variable Control of impact colour is this parameter of heart beating it is ensured that the heart that detects The accuracy of hop rate rate.
For example, using photographic head as image acquisition units, the entirely facial image of user to be detected is gathered by photographic head As first object image, it is directed to each first object image that photographic head collects, image correction unit is from the first mesh Two inner eye corners of user to be detected are identified on logo image, the relative position according to two inner eye corners and horizontal direction is to the first mesh Logo image is rotated, and makes line and the horizontal direction parallel of two inner eye corners, and such as first object image is rotated counterclockwise 10 °, postrotational first object image is exported to colour detector unit as the second target image, so ensure to be transferred to In each second target image of colour detector unit, the line of two inner eye corners of user to be detected all has horizontal direction to put down OK.
In an embodiment of the invention, identification subelement is in identification feature shape from first object image, permissible At least one character shape default in first object image is identified by Hough transformation.Because Hough transformation can be known exactly Not various geometries, can be recognized accurately the relative position of character shape and horizontal direction, Jin Ertong by Hough transformation Cross accurate rotation and first object image is rotated it is ensured that ownership goal position to be detected in each second target image Image is identical with the relative position of horizontal direction.
For example, default character shape is two inner eye corners of user to be detected, identification subelement pass through Hough transformation from Two inner eye corners of user to be detected are identified on the face of user to be detected.
In an embodiment of the invention, colour detector unit includes locator unit and computation subunit, locator Unit identifies at least one characteristic point from the second target image, set in advance according at least one feature point pairs identifying Monitored area is positioned, using the image being located in monitored area on the second target image as the 3rd target image.By knowing Not at least one characteristic point default monitored area to be positioned it is ensured that can be recognized accurately from the second target image For detecting the 3rd target image of colour, and ensure that the 3rd target image identifying from different second target images is all right In the same skin of user to be detected, and then the accuracy of heart rate detecting should be ensured.
For example, the border circular areas presetting an a diameter of 1cm on user's forehead to be detected are monitored area, this prison The center of circle surveying region is located on the perpendicular bisector of two inner eye corner lines of user to be detected, and the distance away from two inner eye corner lines is 5cm.After image correction unit forms the second target image, locator unit identifies user to be detected on the second target image Two inner eye corners, the position according to two inner eye corners orients monitored area from the second target image, will be positioned at this monitoring The second target image in region is as the 3rd target image.
In an embodiment of the invention, after locator unit identifies the 3rd target image from the second target image, Computation subunit obtains each pixel that the 3rd target image includes, and according to target primary colors set in advance, detects each The colour of target primary colors in pixel, calculate the 3rd target image included by each pixel in target primary colors colour it With, using the colour calculating sum as the 3rd target image colour.
Specifically,
Heart is beated each time and is organized fresh blood pump to each, and in fresh blood, the oxygen content of hemoglobin is relatively Height, the oxygen content of hemoglobin will affect the absorbtivity to each primary colors in incident illumination for the skin, thus affecting in skin reflex light The amount of each primary colors, the colour ultimately resulting in each primary colors in each pixel on skin image changes;But, selecting After one primary colors is as target primary colors, when hemoglobin oxygen content changes, mesh corresponding to each of skin image pixel The colour variable quantity very little of mark primary colors, if carry out matching colour by the colour change of target primary colors corresponding to some pixel Change curve, it will make matching colour change curve out excessively gentle, and easily affected by accidentalia.Calculate the The colour sum of the target primary colors corresponding to each pixel included by three target images, can be by corresponding to each pixel The colour change of target primary colors is added up, by the color of target primary colors corresponding to each pixel included by the 3rd target image Value sum carrys out matching colour change curve as the colour of the 3rd target image, can make the variation tendency of colour change curve more Plus substantially, facilitate the later stage to be determined the heart rate of user to be detected it is ensured that detected heart beating according to colour change curve The accuracy of speed;Meanwhile, matching colour change curve is come with the colour sum of target primary colors corresponding to each pixel, permissible Avoid leading to some or the colour of target primary colors corresponding to several pixel that ANOMALOUS VARIATIONS occurs due to accidentalia, and check colors Value changes curve causes the situation of more serious impact to occur it is ensured that colour change curve can correctly reflect the 3rd target image Colour variation tendency.
In an embodiment of the invention, target primary colors can be the green under RGB color pattern.When containing of hemoglobin When oxygen amount is higher, hemoglobin substantially increases to the absorbtivity of green glow in incident illumination, and the change of HONGGUANG and blue light absorption amount is relatively Little, thus using green as target primary colors, when the oxygen content change of hemoglobin, the colour of the 3rd target image will produce relatively Significantly change, so that the variation tendency of colour change curve is become apparent from, make to determine heart rate according to colour change curve Shi Gengjia is accurate.
In an embodiment of the invention, heart rate detection unit is after getting the colour of the 3rd target image, according to The acquisition order of each first object image corresponding to the 3rd target image, with acquisition time as abscissa, with each the 3rd mesh The colour of logo image is as vertical coordinate, matching colour change curve.After obtaining colour change curve, from colour change curve Identification stationary point, obtains the number in stationary point included by colour change curve, and first stationary point and last on colour change curve The corresponding acquisition time in one stationary point, determines the heart rate of user to be detected by equation below one;
Described formula one includes:
γ = 30 ( m - 1 ) t 2 - t 1
Wherein, γ is the heart rate of user to be detected, unit be beat/min;M is stationary point included by colour change curve Number;t1For the corresponding acquisition time in first stationary point on colour change curve, unit is the second;t2For on colour change curve The corresponding acquisition time in last stationary point, unit is the second.
Specifically,
Using the time of each first object image acquisition corresponding to the 3rd target image as abscissa, with each the 3rd mesh The colour of logo image has reacted monitored area inner skin image as vertical coordinate matching colour change curve, colour change curve The time dependent trend of colour.So that target primary colors is as green as a example, during heart contraction, gradually by fresh blood pump to monitoring Region, in monitored area, the oxygen content of hemoglobin is stepped up, and monitored area increases to the absorbtivity of green glow, leads to monitoring section The colour of domain inner skin image reduces, when the oxygen content of hemoglobin in monitored area reaches maximum, monitored area endothelium The colour of skin image is minimum, and lower stationary point in colour change curve;It is consumed with the oxygen in hemoglobin, blood in monitored area The oxygen content of Lactoferrin progressively declines, and monitored area is reduced to the absorbtivity of green glow, leads to the color of monitored area inner skin image Value increases, and when the oxygen content of hemoglobin in detection zone reaches minima, the colour of detection zone inner skin image is maximum, Upper stationary point in colour change curve;Beating with heart beating, colour change curve is in cyclically-varying, recycles now note point With upper stationary point, beat week for one of the corresponding heart of difference of two neighboring upper stationary point or the corresponding acquisition time of two neighboring bet point Phase, the time needed for as one time heart beating.The total number in stationary point is obtained from colour change curve, and first stationary point and The corresponding acquisition time in stationary point, calculates the heart rate of user to be detected by formula one afterwards.
It should be noted that the device of detection heart rate provided in an embodiment of the present invention has multiple ways of realization, than Outward appearance is manufactured into the form of similar mirror, is placed in the public places such as hospital, stadium, so that user self-help carries out heart beating speed The detection of rate.
As shown in Fig. 2 one embodiment of the invention provides a kind of method of detection heart rate, the method can include Following steps:
Step 201:Every the interval time setting, the target site of user to be detected is carried out with image acquisition, form the One target image, wherein said target site includes monitored area;
Step 202:By described first object image rotation to the target location pre-setting, form the second target image;
Step 203:According to described second target image, obtain the 3rd target image corresponding to described detection zone, and Obtain the colour of described 3rd target image;
Step 204:According to the colour of each described 3rd target image, form colour change curve;
Step 205:Determine the heart rate of described user to be detected according to described colour change curve.
Embodiments provide a kind of method of detection heart rate, collection includes ownership goal position to be detected First object image, obtains the second target image to after first object image rectification, identifies monitoring section from the second target image Corresponding 3rd target image in domain, the change according to the 3rd target image colour forms colour change curve, is changed according to colour Curve obtains the heart rate of user to be detected;This method can cause shadow to the colour of skin image according to hemoglobin oxygen content The principle rung, need not directly and use to be detected detecting heart rate it is only necessary to gather the image at ownership goal position to be detected Family contacts, thus interfering to the motion of user to be detected when avoiding user direct and to be detected to contact, improves in motion During accuracy that heart rate is detected.
In an embodiment of the invention, obtain first object image after, identify from described first object image to A few character shape, according to the relative position of at least one character shape described and horizontal direction, to described first object figure As being rotated, form described second target image, so that the image of target site described in each described second target image Identical with the relative position of horizontal direction.
In an embodiment of the invention, obtain the second target image after, identify from described second target image to A few characteristic point, monitored area according at least one feature point pairs described is positioned, and by described second target figure As on image in described monitored area as described 3rd target image;
After obtaining the 3rd target image, obtain each pixel of including of described 3rd target image, according to setting in advance Fixed target primary colors, detects the colour of target primary colors described in each described pixel, calculates institute in each described pixel State the colour sum of target primary colors, using described colour sum as described 3rd target image colour.
In an embodiment of the invention, after the colour obtaining the 3rd target image, according to each described 3rd target The acquisition order of first object image corresponding to image, with acquisition time as abscissa, with the 3rd target image each described Colour, as vertical coordinate, simulates described colour change curve;
After getting setting change curve, the number in stationary point according to included by described colour change curve, and described The corresponding acquisition time in first stationary point and last stationary point on colour change curve, by equation below one determine described in treat The heart rate of detection user;
Described formula one includes:
γ = 30 ( m - 1 ) t 2 - t 1
Wherein, described γ is the heart rate of described user to be detected, unit be beat/min;Described m is that described colour becomes Change the number in stationary point included by curve;Described t1For the corresponding acquisition time in first stationary point on described colour change curve, single Position is the second;Described t2For the corresponding acquisition time in last stationary point on described colour change curve, unit is the second.
Below to detect athletic heart rate example, in conjunction with the dress of detection heart rate provided in an embodiment of the present invention Put, the method for detection heart rate provided in an embodiment of the present invention is described in further detail, as shown in figure 3, the method can To comprise the following steps:
Step 301:Every the interval time setting, an image acquisition, shape are carried out to the target site of user to be detected Become first object image.
In an embodiment of the invention, preset an interval time, gather one time every an interval time Require to include the target site of user to be detected in one target image, wherein first object image, include in target site Monitored area.
For example, the target site presetting user to be detected is athletic face, with one piece of position in forehead region in face It is set to monitored area;Preset interval time is 0.04s, often passes through photographic head to athletic face shots one through 0.04s Image, as first object image;Or, shot by photographic head and include the facial video of athlete, often through 0.04s from regarding Pictures are intercepted as first object image on frequency.
Step 302:First object image is rotated, forms the second target image.
In an embodiment of the invention, it is directed to each the first object image get in step 301, by suddenly Husband's conversion identifies at least one character shape set in advance, according at least one feature identifying on first object image Shape and the relative position of horizontal direction, rotate to first object image, by first object image rotation to target location, Form the second target image so that in each second target image the image of target site and horizontal direction relative position phase With.
For example, preset athletic two inner eye corners and be characterized shape, the target location of first object image is two Individual inner eye corner line and the position of horizontal direction parallel;After obtaining the first object image including athlete's face, by suddenly Husband's conversion identifies athletic two inner eye corners on first object image, according to two inner eye corners of athlete and horizontal direction Relative position rotates to first object image, makes the line of two inner eye corners of athlete and level side on first object image To parallel, first object image rotation to target location is formed the second target image.
Step 303:Identify monitored area from the second target image, obtain the 3rd target image.
In an embodiment of the invention, it is directed to each second target image obtain in step 302, from the second mesh At least one characteristic point set in advance is identified on logo image, by least one feature point pairs prison set in advance identifying Survey region to be positioned, using the image being located in monitored area on the second target image as the 3rd target image.
For example, the border circular areas presetting an a diameter of 1cm on athlete's forehead are monitored area, this monitoring section The center of circle in domain is located on the perpendicular bisector of two inner eye corner lines of athlete, and the distance away from two inner eye corner lines is 5cm;And it is pre- If athletic two inner eye corners are as characteristic point.After athletic two inner eye corners are identified from the second target image, root Monitored area is oriented from the second target image in position according to two inner eye corners, by the second target in this monitored area Image is as the 3rd target image.
Step 304:Obtain the colour of the 3rd target image.
In an embodiment of the invention, preset target primary colors, be directed to each get in step 303 Three target images, obtain each pixel that the 3rd target image includes, and according to the target primary colors setting, detect each pixel The colour of target primary colors in point, after calculating the colour of target primary colors in each pixel included by the 3rd target image, will As the colour of the 3rd target image after the colour calculating.
For example, presetting target primary colors is green, and the 3rd target image includes 100 pixels, in RGB color mould Under formula, the G-value of each pixel that detection the 3rd target image includes, calculates 100 that the 3rd target image includes respectively After the G-value of pixel, using the G-value calculating sum as the 3rd target image colour.
Step 305:According to the colour of each the 3rd target image, matching colour change curve.
In an embodiment of the invention, the colour according to each calculating the 3rd target image, with the 3rd target The acquisition time of first object image corresponding to image as abscissa, using the colour of the 3rd target image as vertical coordinate matching Colour change curve.
For example, step 301 acquires 100 first object images altogether, correspondingly obtains 100 in step 304 The colour of three target images, according to the acquisition order of this first object image corresponding to 100 the 3rd target images, during gathering Between be abscissa, with the colour of 100 the 3rd target images as vertical coordinate, simulate colour change curve as shown in Figure 4.
Step 306:Determine the heart rate of user to be detected according to colour change curve.
In an embodiment of the invention, after getting colour change curve, from colour change curve, identify stationary point, When obtaining number m in stationary point included by colour change curve, and obtaining on colour change curve the corresponding collection in first stationary point Between t1And last stationary point corresponding acquisition time t2;According to stationary point number m getting, the corresponding collection in first stationary point Time t1And last stationary point corresponding acquisition time t2, the heart rate γ of user to be detected is calculated by equation below one, Wherein formula one is as follows:
γ = 30 ( m - 1 ) t 2 - t 1
Wherein, γ is the heart rate of user to be detected, unit be beat/min;M is stationary point included by colour change curve Number;t1For the corresponding acquisition time in first stationary point on colour change curve, unit is the second;t2For on colour change curve The corresponding acquisition time in last stationary point, unit is the second.
For example, number m in stationary point included by colour change curve as shown in Figure 4 is 8, corresponding to wherein first stationary point The acquisition time t of first object image1For 0.25s, the acquisition time t of first object image corresponding to last stationary point2For 3.75s, above input is substituted into formula one and is calculated this athletic heart rate for 60 beats/min.
The device and method of detection heart rate provided in an embodiment of the present invention, at least has the advantages that:
1st, in the device and method of detection heart rate provided in an embodiment of the present invention, beating with heart, tissue The oxygen content of interior hemoglobin can generating period change, and the cyclically-varying of hemoglobin oxygen content can make skin institute reflected light The change of colour generating period, and then so that the colour generating period of skin image is changed, according to this principle, image acquisition Unit carries out an image acquisition every the interval time setting to the target site of user to be detected, forms first object figure Picture, image correction unit forms the second target image to first object correct image;Colour detector unit is from the second target After corresponding 3rd target image in monitored area is identified on image, obtain the colour of the 3rd target image;Heart rate detection unit Colour according to each the 3rd image forms colour change curve, and determines the heart of user to be detected according to colour change curve Hop rate rate.Due to image acquisition units not with user's directly contact to be detected, the motion of user to be detected will not be impacted, So as to improve the accuracy in motor process, heart rate being detected.
2nd, in the device and method of detection heart rate provided in an embodiment of the present invention, image correction unit can be to the One target image is rotated, by first object image rotation to target location, form the second target image it is ensured that each In second target image, ownership goal station diagram picture to be detected all has identical relative position with horizontal direction, eliminate due to User movement to be detected causes ownership goal station diagram picture to be detected and horizontal direction relative position in different first object images Different situations, thereby may be ensured that the monitored area identified from the second target image both corresponds to the same of user to be detected One piece of skin, the variable controlling impact the 3rd target image colour it is ensured that the accuracy of the colour change curve simulating, thus The accuracy of the heart rate detecting can be improved.
3rd, in the device and method of detection heart rate provided in an embodiment of the present invention, first object image is being carried out Timing, can pass through Hough transformation identification feature shape from first object image, with according to character shape and horizontal direction Relative position first object image is rotated;The geometry in image can be identified due to Hough transformation exactly, By Hough transformation come identification feature shape, it is possible to increase the accuracy to first object correct image, thus further Improve the accuracy in motor process, heart rate being detected.
4th, in the device and method of detection heart rate provided in an embodiment of the present invention, obtaining the 3rd target image During colour, using the colour sum of target primary colors in each pixel included by the 3rd target image as the 3rd target image Colour.So the colour of target primary colors in each pixel is carried out the cumulative colour as the 3rd target image, on the one hand The variation tendency that colour change curve can be made becomes apparent from, to determine heart rate according to colour change curve;The opposing party Face, can avoid the colour leading to target primary colors in some or several pixel due to accidentalia ANOMALOUS VARIATIONS and check colors Value changes curve causes the situation of more serious impact to occur.
5th, in the device and method of detection heart rate provided in an embodiment of the present invention, can be former as target using green Color because in natural light green glow affected by hemoglobin oxygen content the most notable.When hemoglobin oxygen content increases, skin On image, G-value reduces;When hemoglobin oxygen content reduces, on skin image, G-value increases.Using green as target primary colors, can So that the variation tendency of colour change curve becomes apparent from, reduce the error producing in colour detection process it is ensured that colour changes The accuracy of curve.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation is made a distinction with another entity or operation, and not necessarily requires or imply exist between these entities or operation Any this actual relation or order.And, term " inclusion ", "comprising" or its any other variant are intended to non- The comprising of exclusiveness, so that including a series of process of key elements, method, article or equipment not only include those key elements, But also include other key elements being not expressly set out, or also include being consolidated by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element being limited by sentence " including ", does not arrange Remove and also there is other same factor in the process including described key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:The all or part of step realizing said method embodiment can be passed through Completing, aforesaid program can be stored in the storage medium of embodied on computer readable the related hardware of programmed instruction, this program Upon execution, execute the step including said method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
Last it should be noted that:The foregoing is only presently preferred embodiments of the present invention, be merely to illustrate the skill of the present invention Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention, Equivalent, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of device of detection heart rate is it is characterised in that include:Image acquisition units, image correction unit, colour inspection Survey unit and heart rate detection unit;
Described image collecting unit, for every the interval time setting, carrying out image to the target site of user to be detected and adopting Collection, forms first object image, and wherein said target site includes monitored area;
Described image corrects unit, for by described first object image rotation to the target location pre-setting, forming second Target image;
Described colour detector unit, for according to described second target image, obtaining the 3rd mesh corresponding to described monitored area Logo image, and obtain the colour of described 3rd target image;
Described heart rate detection unit, for the colour according to each described 3rd target image, forms colour change curve, and root Determine the heart rate of described user to be detected according to described colour change curve.
2. device according to claim 1 it is characterised in that
Described image correction unit includes:Identification subelement and rotation subelement;
Described identification subelement, for identifying at least one character shape from described first object image;
Described rotation subelement, at least one character shape and level side described in being identified according to described identification subelement To relative position, described first object image is rotated, formed described second target image so that each described second The image of target site described in target image is identical with the relative position of horizontal direction.
3. device according to claim 2 it is characterised in that
Described identification subelement, for by Hough transformation identify from described first object image set in advance at least one Described character shape.
4. device according to claim 1 it is characterised in that
Described colour detector unit includes:Locator unit and computation subunit;
Described locator unit, for identifying at least one characteristic point from described second target image, according to described at least one Monitored area described in individual feature point pairs is positioned, and the image being located in described monitored area on described second target image As described 3rd target image;
Described computation subunit, for obtaining each pixel that described 3rd target image includes, according to mesh set in advance Mark primary colors, detects the colour of target primary colors described in each described pixel, calculates target described in each described pixel The colour sum of primary colors, using described colour sum as described 3rd target image colour.
5. device according to claim 4 it is characterised in that
Described target primary colors includes:Green.
6. device according to claim 1 it is characterised in that
Described heart rate detection unit, suitable for the collection according to each first object image corresponding to described 3rd target image Sequence, with acquisition time as abscissa, using the colour of the 3rd target image each described as vertical coordinate, simulates described colour and becomes Change curve;And according to included by described colour change curve stationary point number, and on described colour change curve first stay Point and the corresponding acquisition time in last stationary point, determine the heart rate of described user to be detected by equation below one;
Described formula one includes:
γ = 30 ( m - 1 ) t 2 - t 1
Wherein, described γ is the heart rate of described user to be detected, unit be beat/min;Described m is that described colour change is bent The number in stationary point included by line;Described t1For the corresponding acquisition time in first stationary point on described colour change curve, unit is Second;Described t2For the corresponding acquisition time in last stationary point on described colour change curve, unit is the second.
7. a kind of method of detection heart rate is it is characterised in that include:
Every the interval time setting, image acquisition is carried out to the target site of user to be detected, forms first object image, its Described in target site include monitored area;
By described first object image rotation to the target location pre-setting, form the second target image;
According to described second target image, obtain the 3rd target image corresponding to described monitored area, and obtain the described 3rd The colour of target image;
According to the colour of each described 3rd target image, form colour change curve;
Determine the heart rate of described user to be detected according to described colour change curve.
8. method according to claim 7 it is characterised in that
Described by described first object image rotation to the target location pre-setting, form the second target image and include:
Identify at least one character shape from described first object image, according at least one character shape described and level side To relative position, described first object image is rotated, formed described second target image so that each described second The image of target site described in target image is identical with the relative position of horizontal direction.
9. method according to claim 7 it is characterised in that
Described according to described second target image, obtain the 3rd target image corresponding to described monitored area and include:
Identify at least one characteristic point from described second target image, monitoring section according at least one feature point pairs described Domain is positioned, and using the image being located in described monitored area on described second target image as described 3rd target figure Picture;
The described colour obtaining described 3rd target image includes:
Obtain each pixel that described 3rd target image includes, according to target primary colors set in advance, detect each institute State the colour of target primary colors described in pixel, calculate the colour sum of target primary colors described in each described pixel, by institute State colour sum as the colour of described 3rd target image.
10. method according to claim 7 it is characterised in that
The described colour according to each described 3rd target image, forms colour change curve and includes:
Acquisition order according to each first object image corresponding to described 3rd target image, with acquisition time as abscissa, Using the colour of the 3rd target image each described as vertical coordinate, simulate described colour change curve;
Described included according to the heart rate that described colour change curve determines described user to be detected:
First stationary point and in the number in stationary point, and described colour change curve according to included by described colour change curve The corresponding acquisition time in stationary point, determines the heart rate of described user to be detected by equation below one afterwards;
Described formula one includes:
γ = 30 ( m - 1 ) t 2 - t 1
Wherein, described γ is the heart rate of described user to be detected, unit be beat/min;Described m is that described colour change is bent The number in stationary point included by line;Described t1For the corresponding acquisition time in first stationary point on described colour change curve, unit is Second;Described t2For the corresponding acquisition time in last stationary point on described colour change curve, unit is the second.
CN201610755756.6A 2016-08-30 2016-08-30 Device and method detecting heartbeat rate Pending CN106377240A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610755756.6A CN106377240A (en) 2016-08-30 2016-08-30 Device and method detecting heartbeat rate

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610755756.6A CN106377240A (en) 2016-08-30 2016-08-30 Device and method detecting heartbeat rate

Publications (1)

Publication Number Publication Date
CN106377240A true CN106377240A (en) 2017-02-08

Family

ID=57917353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610755756.6A Pending CN106377240A (en) 2016-08-30 2016-08-30 Device and method detecting heartbeat rate

Country Status (1)

Country Link
CN (1) CN106377240A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108294737A (en) * 2018-01-26 2018-07-20 深圳还是威健康科技有限公司 Method for measuring heart rate, device and intelligent wearable device
CN108654063A (en) * 2018-05-18 2018-10-16 四川斐讯信息技术有限公司 A kind of the heart rate acquisition equipment and heart rate acquisition methods of open air running
CN111588946A (en) * 2020-07-01 2020-08-28 哈尔滨理工大学 Intelligent infusion system with heart rate monitoring function
CN112618907A (en) * 2020-12-11 2021-04-09 珠海格力电器股份有限公司 Environment management apparatus and control method thereof

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2438849A1 (en) * 2010-10-06 2012-04-11 Latvijas Universitate Device and method for an optical contactless monitoring of cardiac parameters
CN102499664A (en) * 2011-10-24 2012-06-20 西双版纳大渡云海生物科技发展有限公司 Video-image-based method and system for detecting non-contact vital sign
US20130096439A1 (en) * 2011-10-14 2013-04-18 Industrial Technology Research Institute Method and system for contact-free heart rate measurement
CN103083005A (en) * 2011-11-01 2013-05-08 北京瓦力网络科技有限公司 Method for testing heart rate of user
CN103271734A (en) * 2012-12-10 2013-09-04 中国人民解放军第一五二中心医院 Heart rate measuring method based on low-end imaging device
CN104138254A (en) * 2013-05-10 2014-11-12 天津点康科技有限公司 Non-contact type automatic heart rate measurement system and measurement method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2438849A1 (en) * 2010-10-06 2012-04-11 Latvijas Universitate Device and method for an optical contactless monitoring of cardiac parameters
US20130096439A1 (en) * 2011-10-14 2013-04-18 Industrial Technology Research Institute Method and system for contact-free heart rate measurement
CN102499664A (en) * 2011-10-24 2012-06-20 西双版纳大渡云海生物科技发展有限公司 Video-image-based method and system for detecting non-contact vital sign
CN103083005A (en) * 2011-11-01 2013-05-08 北京瓦力网络科技有限公司 Method for testing heart rate of user
CN103271734A (en) * 2012-12-10 2013-09-04 中国人民解放军第一五二中心医院 Heart rate measuring method based on low-end imaging device
CN104138254A (en) * 2013-05-10 2014-11-12 天津点康科技有限公司 Non-contact type automatic heart rate measurement system and measurement method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108294737A (en) * 2018-01-26 2018-07-20 深圳还是威健康科技有限公司 Method for measuring heart rate, device and intelligent wearable device
CN108294737B (en) * 2018-01-26 2020-11-13 深圳市元征科技股份有限公司 Heart rate measuring method and device and intelligent wearable equipment
CN108654063A (en) * 2018-05-18 2018-10-16 四川斐讯信息技术有限公司 A kind of the heart rate acquisition equipment and heart rate acquisition methods of open air running
CN111588946A (en) * 2020-07-01 2020-08-28 哈尔滨理工大学 Intelligent infusion system with heart rate monitoring function
CN112618907A (en) * 2020-12-11 2021-04-09 珠海格力电器股份有限公司 Environment management apparatus and control method thereof

Similar Documents

Publication Publication Date Title
CN106377240A (en) Device and method detecting heartbeat rate
KR102264014B1 (en) Method, server and program of acquiring image for measuring a body size and a method for measuring a body size using the same
CN107169456A (en) A kind of sitting posture detecting method based on sitting posture depth image
US9737239B2 (en) Systems and methods for tracking body surfaces of individuals
US10702192B2 (en) Dynamic analysis system
CN110021009A (en) A kind of method, apparatus and storage medium for assessing eye fundus image quality
CN110168562B (en) Depth-based control method, depth-based control device and electronic device
CN104573620B (en) Iris locating method and system
US10579203B2 (en) Wellness mirror
US20120274902A1 (en) Method and a device for automatically measuring at least one refractive characteristic of both eyes of an individual
CN105188522A (en) Pulse wave velocity measurement method and system, and imaging device
CN109044314A (en) A kind of contactless rhythm of the heart method based on Euler's video amplifier
CN106901741A (en) A kind of respiratory rate detection method suitable for environment round the clock
CN110276271A (en) Merge the non-contact heart rate estimation technique of IPPG and depth information anti-noise jamming
JPH09313447A (en) Analysis device for eyeground disease
US20100303345A1 (en) Red-eye reduction using facial detection
KR100955686B1 (en) Method of tracing an eyeball in an eyeball tumor treatment
CN109840478A (en) A kind of movement appraisal procedure, device, mobile terminal and readable storage medium storing program for executing
CN105498100B (en) A kind of method and system of monitoring physiological movement curve and body surface profile
CN105844096B (en) Functional evaluation method based on image processing techniques
CN109008937A (en) Method for detecting diopter and equipment
US20210068695A1 (en) Method Providing ECG Analysis Interface and System
JP3508111B2 (en) Analyzer for fundus disease
CN110412257A (en) A kind of combination is manually demarcated and the indicator paper block localization method of astral ray algorithm
CN106446805A (en) Segmentation method and system for optic cup in eye ground photo

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170208