KR102468648B1 - Method for calculating heart rate using rPPG signal of serial image and system thereof - Google Patents

Method for calculating heart rate using rPPG signal of serial image and system thereof Download PDF

Info

Publication number
KR102468648B1
KR102468648B1 KR1020220046422A KR20220046422A KR102468648B1 KR 102468648 B1 KR102468648 B1 KR 102468648B1 KR 1020220046422 A KR1020220046422 A KR 1020220046422A KR 20220046422 A KR20220046422 A KR 20220046422A KR 102468648 B1 KR102468648 B1 KR 102468648B1
Authority
KR
South Korea
Prior art keywords
image
region
heart rate
mesh structure
setting
Prior art date
Application number
KR1020220046422A
Other languages
Korean (ko)
Inventor
김연준
이재현
Original Assignee
주식회사 바이오커넥트
김연준
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 주식회사 바이오커넥트, 김연준 filed Critical 주식회사 바이오커넥트
Priority to KR1020220046422A priority Critical patent/KR102468648B1/en
Priority to KR1020220136557A priority patent/KR20230147511A/en
Application granted granted Critical
Publication of KR102468648B1 publication Critical patent/KR102468648B1/en

Links

Images

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/0002Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network
    • A61B5/0004Remote monitoring of patients using telemetry, e.g. transmission of vital signals via a communication network characterised by the type of physiological signal transmitted
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0033Features or image-related aspects of imaging apparatus classified in A61B5/00, e.g. for MRI, optical tomography or impedance tomography apparatus; arrangements of imaging apparatus in a room
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/0059Measuring for diagnostic purposes; Identification of persons using light, e.g. diagnosis by transillumination, diascopy, fluorescence
    • A61B5/0077Devices for viewing the surface of the body, e.g. camera, magnifying lens
    • 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/7235Details of waveform analysis
    • A61B5/7264Classification of physiological signals or data, e.g. using neural networks, statistical classifiers, expert systems or fuzzy systems

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Pathology (AREA)
  • Veterinary Medicine (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Biophysics (AREA)
  • Physiology (AREA)
  • Cardiology (AREA)
  • Nuclear Medicine, Radiotherapy & Molecular Imaging (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Radiology & Medical Imaging (AREA)
  • Artificial Intelligence (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Evolutionary Computation (AREA)
  • Signal Processing (AREA)
  • Psychiatry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Mathematical Physics (AREA)
  • Fuzzy Systems (AREA)

Abstract

One embodiment of the present invention provides a method for calculating a heart rate of a person using a remote photoplethysmogram signal for an image, which includes the steps of: obtaining an image; setting and extracting a first region including a human face from the obtained image; converting the extracted first region into a mesh structure and setting a second region in which a part of the converted mesh structure is removed; and calculating a heart rate of a person included in the image based on a processing result of a remote PPG signal for the set second region.

Description

영상에 대한 원격 광용적맥파신호를 이용하여 사람의 심박수를 산출하는 방법 {Method for calculating heart rate using rPPG signal of serial image and system thereof}[Method for calculating heart rate using rPPG signal of serial image and system thereof}

본 발명은 영상에 포함된 사람의 심박수를 산출하는 방법에 관한 것으로서, 보다 구체적으로는, 영상 속의 사람의 특정 부위의 특징을 분석하여, 분석한 결과를 기초로 그 사람의 심박수를 산출하는 방법 및 그 방법을 구현하기 위한 시스템에 관한 것이다.The present invention relates to a method for calculating the heart rate of a person included in an image, and more specifically, to a method for calculating the heart rate of a person by analyzing characteristics of a specific part of a person in an image, and based on the result of the analysis, and It is about a system for implementing the method.

디지털 카메라의 해상도가 점점 올라감에 따라서, 디지털 카메라를 통해서 획득된 영상을 분석하여 얻을 수 있는 정보도 다양해지고 있다. 최근 알려진 기술로서, 영상에 포함되어 있는 사람의 얼굴 부위의 색조를 기초로 그 사람의 심박수를 추정하는 방법도 소개되고 있다.As the resolution of digital cameras gradually increases, information that can be obtained by analyzing images acquired through digital cameras is also diversifying. As a recently known technique, a method of estimating a person's heart rate based on the tone of a person's face included in an image has also been introduced.

대한민국 공개특허 제10-2019-0137893호 (2019.12.11 공개)Republic of Korea Patent Publication No. 10-2019-0137893 (published on December 11, 2019)

본 발명이 해결하고자 하는 기술적 과제는, 영상속의 사람의 얼굴을 정확하게 식별하여 그 사람의 심박수를 산출할 수 있는 방법 및 그 방법을 구현하기 위한 시스템을 제공하는 데에 있다.A technical problem to be solved by the present invention is to provide a method for accurately identifying a person's face in an image and calculating the person's heart rate, and a system for implementing the method.

상기 기술적 과제를 해결하기 위한 본 발명의 일 실시 예에 따른 방법은, 영상을 획득하는 단계; 상기 획득된 영상에서 사람의 얼굴을 포함하는 제1영역을 설정하여 추출하는 단계; 상기 추출된 제1영역을 메시구조로 변환하고, 상기 변환된 메시구조의 일부를 제거한 제2영역을 설정하는 단계; 및 상기 설정된 제2영역에 대한 원격 광용적맥파(remote PPG)신호의 처리결과를 기초로 상기 영상에 포함된 사람의 심박(heart rate)을 산출하는 단계를 포함한다.A method according to an embodiment of the present invention for solving the above technical problem includes obtaining an image; setting and extracting a first region including a human face from the obtained image; converting the extracted first region into a mesh structure, and setting a second region by removing a part of the converted mesh structure; and calculating a heart rate of a person included in the image based on a processing result of a remote PPG signal for the set second region.

상기 방법에 있어서, 상기 영상은, 적어도 두 개 이상의 프레임(frame)으로 구성되어 있는 연속이미지일 수 있다.In the above method, the image may be a continuous image composed of at least two or more frames.

상기 방법에 있어서, 상기 제2영역을 설정하는 단계는, 상기 추출된 제1영역을 삼각형을 기본 단위로 하는 메시 구조로 변환하는 단계; 및 상기 변환된 메시구조에서 일부 삼각형을 제거하여 상기 제2영역을 설정하는 단계를 포함할 수 있다.In the above method, the setting of the second area may include: converting the extracted first area into a mesh structure having triangles as a basic unit; and setting the second region by removing some triangles from the converted mesh structure.

상기 방법에 있어서, 상기 메시 구조로 변환하는 단계는, 상기 추출된 제1영역에 기설정된 개수의 특징점(feature point)을 찍는 단계; 및 상기 특징점을 기초로 들로네 삼각분할을 수행하는 단계를 포함할 수 있다.In the method, the converting to the mesh structure may include: capturing a predetermined number of feature points in the extracted first region; and performing Delaunay triangulation based on the feature points.

상기 기술적 과제를 해결하기 위한 본 발명의 다른 일 실시 예에 따른 시스템은, 외부 장치로부터 영상을 획득하는 통신부; 및 처리부를 포함하고, 상기 처리부는, 상기 획득된 영상에서 사람의 얼굴을 포함하는 제1영역을 설정하여 추출하고, 상기 추출된 제1영역을 메시구조로 변환하고, 상기 변환된 메시구조의 일부를 제거한 제2영역을 설정하고, 상기 설정된 제2영역에 대한 원격 광용적맥파(remote PPG)신호의 처리결과를 기초로 상기 영상에 포함된 사람의 심박(heart rate)을 산출한다.System according to another embodiment of the present invention for solving the above technical problem, the communication unit for obtaining an image from an external device; and a processing unit, wherein the processing unit sets and extracts a first region including a human face from the obtained image, converts the extracted first region into a mesh structure, and converts a portion of the converted mesh structure. A second area from which is removed is set, and a heart rate of a person included in the image is calculated based on a processing result of a remote PPG signal for the set second area.

본 발명의 일 실시 예는, 상기 방법을 실행시키기 위한 프로그램을 저장하고 있는 컴퓨터 판독가능한 기록매체를 제공할 수 있다.An embodiment of the present invention may provide a computer readable recording medium storing a program for executing the method.

본 발명에 따르면, 영상속에 포함된 사람의 심박수를 정확하게 산출해낼 수 있다.According to the present invention, the heart rate of a person included in an image can be accurately calculated.

도 1은 본 발명에 따른 시스템을 구성하는 모듈들을 블록도로 나타낸 도면이다.
도 2는 도 1에서 설명한 처리부의 다른 일 예를 블록도로 나타낸 도면이다.
도 3은 제1영역설정부가 제1영역을 설정하는 과정의 일 예를 설명하기 위한 도면이다.
도 4는 제2영역설정부가 제1영역을 메시구조로 변환하는 과정의 일 예를 설명하기 위한 도면이다.
도 5는 제2영역설정부가 제2영역을 설정하는 과정의 일 예를 도식적으로 나타낸 도면이다.
도 6은 본 발명에 따른 방법의 일 예를 흐름도로 나타낸 도면이다.
1 is a block diagram showing modules constituting a system according to the present invention.
FIG. 2 is a block diagram illustrating another example of the processing unit described in FIG. 1 .
3 is a diagram for explaining an example of a process of setting a first area by a first area setting unit.
4 is a diagram for explaining an example of a process of converting a first region into a mesh structure by a second region setting unit.
5 is a diagram schematically illustrating an example of a process of setting a second area by a second area setting unit.
6 is a flowchart illustrating an example of a method according to the present invention.

본 발명은 다양한 변환을 가할 수 있고 여러 가지 실시 예를 가질 수 있는바, 특정 실시 예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 본 발명의 효과 및 특징, 그리고 그것들을 달성하는 방법은 도면과 함께 상세하게 후술되어 있는 실시 예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시 예들에 한정되는 것이 아니라 다양한 형태로 구현될 수 있다. Since the present invention can apply various transformations and have various embodiments, specific embodiments will be illustrated in the drawings and described in detail in the detailed description. Effects and features of the present invention, and a method of achieving them will become clear with reference to the embodiments described later in detail together with the drawings. However, the present invention is not limited to the embodiments disclosed below and may be implemented in various forms.

이하, 첨부된 도면을 참조하여 본 발명의 실시 예들을 상세히 설명하기로 하며, 도면을 참조하여 설명할 때 동일하거나 대응하는 구성 요소는 동일한 도면부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, and when describing with reference to the drawings, the same or corresponding components are given the same reference numerals, and overlapping descriptions thereof will be omitted. .

이하의 실시 예에서, 제1, 제2 등의 용어는 한정적인 의미가 아니라 하나의 구성 요소를 다른 구성 요소와 구별하는 목적으로 사용되었다. In the following embodiments, terms such as first and second are used for the purpose of distinguishing one component from another component without limiting meaning.

이하의 실시 예에서, 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다.In the following embodiments, singular expressions include plural expressions unless the context clearly indicates otherwise.

이하의 실시 예에서, 포함하다 또는 가지다 등의 용어는 명세서상에 기재된 특징, 또는 구성요소가 존재함을 의미하는 것이고, 하나 이상의 다른 특징을 또는 구성요소가 부가될 가능성을 미리 배제하는 것은 아니다. In the following embodiments, terms such as include or have mean that features or elements described in the specification exist, and do not preclude the possibility that one or more other features or elements may be added.

어떤 실시 예가 달리 구현 가능한 경우에 특정한 공정 순서는 설명되는 순서와 다르게 수행될 수도 있다. 예를 들어, 연속하여 설명되는 두 공정이 실질적으로 동시에 수행될 수도 있고, 설명되는 순서와 반대의 순서로 진행될 수 있다.When an embodiment is otherwise embodied, a specific process sequence may be performed differently from the described sequence. For example, two processes described in succession may be performed substantially simultaneously, or may be performed in an order reverse to the order described.

도 1은 본 발명에 따른 시스템을 구성하는 모듈들을 블록도로 나타낸 도면이다.1 is a block diagram showing modules constituting a system according to the present invention.

도 1을 참조하면, 본 발명에 따른 영상에 대한 원격 광용적맥파 신호를 이용하여 사람의 심박수를 산출하는 시스템(100)은 데이터베이스(110), 통신부(130), 처리부(150) 및 출력부(170)를 포함하는 것을 알 수 있다. 이하에서는, 본 발명에 따른 영상에 대한 원격 광용적맥파 신호를 이용하여 사람의 심박수를 산출하는 시스템(100)을 심박수산출 시스템(100)으로 약칭하기로 한다.Referring to FIG. 1 , a system 100 for calculating a person's heart rate using a remote photoplethysmogram signal for an image according to the present invention includes a database 110, a communication unit 130, a processing unit 150, and an output unit ( 170). Hereinafter, the system 100 for calculating a person's heart rate by using a remote photoplethysmogram of an image according to the present invention will be abbreviated as a heart rate calculation system 100.

본 발명의 일 실시 예에 따른 심박수산출 시스템(100)은 적어도 하나 이상의 프로세서(processor)에 해당하거나, 적어도 하나 이상의 프로세서를 포함할 수 있다. 이에 따라, 심박수산출 시스템(100) 및 심박수산출 시스템(100)에 포함되어 있는 통신부(130), 처리부(150), 출력부(170)는 마이크로 프로세서나 범용 컴퓨터 시스템과 같은 하드웨어 장치에 포함된 형태로 구동될 수 있다.The heart rate calculation system 100 according to an embodiment of the present invention may correspond to one or more processors or include one or more processors. Accordingly, the heart rate calculation system 100 and the communication unit 130, the processing unit 150, and the output unit 170 included in the heart rate calculation system 100 are included in a hardware device such as a microprocessor or a general-purpose computer system. can be driven by

도 1에 도시된 심박수산출 시스템(100)에 포함된 각 모듈의 명칭은, 각 모듈이 수행하는 대표기능을 직관적으로 설명하기 위해서 임의로 명명된 것으로서, 심박수산출 시스템(100)이 실제로 구현되었을때, 각 모듈에는 도 1에 기재된 명칭과는 서로 다른 명칭이 부여될 수 있다.The name of each module included in the heart rate calculation system 100 shown in FIG. 1 is arbitrarily named to intuitively describe the representative function performed by each module, and when the heart rate calculation system 100 is actually implemented, Each module may be given a name different from that described in FIG. 1 .

또한, 도 1의 심박수산출 시스템(100)에 포함되어 있는 모듈의 수는 실시 예에 따라 매번 달라질 수 있다. 보다 구체적으로는, 도 1의 심박수산출 시스템(100)은 총 4개의 모듈을 포함하고 있으나, 실시 예에 따라서, 적어도 둘 이상의 모듈이 하나의 모듈로 통합되거나, 적어도 하나 이상의 모듈이 둘 이상의 모듈로 분리되는 형태로 구현될 수도 있다.In addition, the number of modules included in the heart rate calculation system 100 of FIG. 1 may vary depending on the embodiment. More specifically, the heart rate calculation system 100 of FIG. 1 includes a total of four modules, but according to embodiments, at least two or more modules are integrated into one module, or at least one or more modules are combined into two or more modules. It may be implemented in a separate form.

데이터베이스(110)는 심박수산출 시스템(100)이 동작하기 위해서 필요한 각종 데이터를 저장하고 있다. 일 예로서, 데이터베이스(110)는 심박수산출 시스템(100)의 동작을 제어하기 위한 통합관리 프로그램을 저장하고 있으며, 데이터베이스(110)는 통신부(130)가 수신한 데이터를 전달받아 저장할 수 있다.The database 110 stores various data necessary for the heart rate calculation system 100 to operate. As an example, the database 110 stores an integrated management program for controlling the operation of the heart rate calculation system 100, and the database 110 may receive and store data received by the communication unit 130.

통신부(130)는 데이터베이스(110)와 같은 내부 저장장치나 외부의 저장장치과 통신을 수행하고, 영상을 획득할 수 있다. 통신부(130)가 획득한 영상은 기본적으로 사람의 얼굴이 촬영된 촬상물일 수 있으나, 이에 제한되지 않는다. 일 예로, 본 발명에 따른 심박수산출 시스템(100)은 획득된 모든 영상에 대해서 본 발명의 특징에 따른 프로세스를 적용할 수 있다. 통신부(130)는 데이터망, 이동통신망, 인터넷 등 각종 유무선 통신망을 이용하기 위해서, 통신망에 접속하고 인증하기 위한 모듈(module)을 포함할 수 있다.The communication unit 130 may perform communication with an internal storage device such as the database 110 or an external storage device and obtain an image. The image acquired by the communication unit 130 may basically be a photographed image of a person's face, but is not limited thereto. For example, the heart rate calculation system 100 according to the present invention may apply the process according to the characteristics of the present invention to all acquired images. The communication unit 130 may include a module for accessing and authenticating a communication network in order to use various wired and wireless communication networks such as a data network, a mobile communication network, and the Internet.

처리부(150)는 통신부(130)가 수신한 데이터 및 송신할 데이터를 처리한다. 일 예로서, 처리부(150)는 데이터베이스(110) 및 통신부(130) 중 어느 하나로부터 수신한 영상을 분석하여, 영상에 포함된 사람의 심박수를 산출할 수 있다. 다른 예로서, 처리부(150)는 데이터베이스(110) 및 통신부(130) 중 어느 하나로부터 수신한 영상에서, 사람의 얼굴 영역을 검출하고, 검출된 얼굴 영역에서 다시 한번 더 일부 피부 영역을 제외시키는 프로세스를 처리할 수도 있다. 처리부(150)가 분석하는 영상은 복수의 프레임(frame)으로 구성된 연속이미지(serial image)일 수 있으며, 이하에서는, 반대되는 설명이 없으면, 영상은 시간이 경과해도 고정된 정지영상이 아니라 시간의 흐름에 따라서 출력결과가 달라지는 동영상(video)인 것으로 간주한다. 예를 들어, 처리부(150)가 데이터베이스(110)나 통신부(130)로부터 수신하는 영상은 확장자가 mp4, m4v, avi, wmv, mwa, asf, mpg, mpeg, ts, mkv, mov, 3gp, 3g2, 및 webm 중 어느 하나인 파일이 될 수 있으나, 이에 제한되지 않는다. 전술한 실시 예 외에도, 처리부(150)는 본 발명에 따른 방법을 구현하기 위해 필요한 데이터 처리를 총괄하는 기능을 수행한다.The processing unit 150 processes data received by the communication unit 130 and data to be transmitted. As an example, the processing unit 150 may analyze an image received from any one of the database 110 and the communication unit 130 to calculate the heart rate of a person included in the image. As another example, a process in which the processing unit 150 detects a face region of a person in an image received from any one of the database 110 and the communication unit 130 and excludes some skin regions from the detected face region. can also handle The image analyzed by the processing unit 150 may be a serial image composed of a plurality of frames. Hereinafter, unless otherwise stated, the image is not a still image that is fixed over time, but a time-dependent image. It is regarded as a video in which the output result changes according to the flow. For example, the video processing unit 150 receives from the database 110 or the communication unit 130 has an extension of mp4, m4v, avi, wmv, mwa, asf, mpg, mpeg, ts, mkv, mov, 3gp, 3g2 , and may be a file that is any one of webm, but is not limited thereto. In addition to the above-described embodiments, the processing unit 150 performs a function of overall data processing necessary to implement the method according to the present invention.

출력부(170)는 처리부(150)의 명령을 받아서 각종 데이터를 산출하고 출력하는 기능을 수행한다. 일 예로서, 출력부(170)는 처리부(150)가 처리한 결과데이터를 출력하여, 통신부(130)에 전달할 수 있다.The output unit 170 receives a command from the processing unit 150 and performs a function of calculating and outputting various data. As an example, the output unit 170 may output result data processed by the processing unit 150 and transmit it to the communication unit 130 .

도 2는 도 1에서 설명한 처리부의 다른 일 예를 블록도로 나타낸 도면이다.FIG. 2 is a block diagram illustrating another example of the processing unit described in FIG. 1 .

도 2를 참조하면, 처리부(150)는 영상획득부(151), 제1영역설정부(153), 제2영역설정부(155) 및 심박산출부(157)를 포함하는 것을 알 수 있다. 영상획득부(151), 제1영역설정부(153), 제2영역설정부(155) 및 심박산출부(157)는 처리부(150)에 포함된 하위모듈이므로, 전술한 것처럼 적어도 하나 이상의 프로세서에 해당하거나, 적어도 하나 이상의 프로세서를 포함하여 독자적인 연산이 가능한 모듈일 수 있다. 또한, 도 2에서 처리부(150)는 총 4개의 하위모듈을 포함하는 것으로 도시되어 있으나, 실시 예에 따라서, 도 2에 도시된 적어도 하나 이상의 모듈이 다른 모듈에 포함되거나, 적어도 둘 이상의 모듈이 하나의 모듈로 통합된 형태로 구현될 수도 있다. 이하에서는, 도 1 및 도 2를 참조하여 설명하기로 한다.Referring to FIG. 2 , it can be seen that the processing unit 150 includes an image acquisition unit 151, a first region setting unit 153, a second region setting unit 155, and a heart rate calculator 157. Since the image acquisition unit 151, the first region setting unit 153, the second region setting unit 155, and the heart rate calculation unit 157 are sub-modules included in the processing unit 150, at least one or more processors as described above. , or may be a module capable of independent operation including at least one processor. In addition, in FIG. 2, the processing unit 150 is illustrated as including a total of four sub-modules, but according to embodiments, at least one or more modules shown in FIG. 2 are included in another module, or at least two or more modules are included in one module. It may be implemented in an integrated form as a module of. Hereinafter, it will be described with reference to FIGS. 1 and 2 .

영상획득부(151)는 데이터베이스(110), 통신부(130) 및 다른 외부 장치로부터 영상을 획득하는 기능을 수행한다. 영상획득부(151)는 단순히 영상을 수신하는 기능을 수행할 뿐만 아니라, 획득된 영상에 실질적으로 내용이 담겨 있지 않은 더미(dummy)구간, 영상 포맷(format)에 대한 기본정보데이터처럼 영상을 분석하는 데에 필요하지 않은 데이터를 제거하는 기능을 수행할 수 있다. The image acquisition unit 151 performs a function of acquiring images from the database 110, the communication unit 130 and other external devices. The image acquisition unit 151 not only performs a function of simply receiving an image, but also analyzes the image, such as basic information data on a dummy section and image format, which do not substantially contain content in the acquired image. You can perform a function to remove data that is not necessary for

다른 일 예로서, 영상획득부(151)는 획득된 영상을 프레임(frame) 단위로 분리하여, 제1영역설정부(153)에 전달하는 기능을 수행할 수 있고, 영상획득부(151)는 획득된 영상이 분석이 불가능한 타입(포맷)의 영상일 경우, 이를 프레임 단위로 분리하지 않고, 다른 영상을 획득할 때까지 대기할 수 있다.As another example, the image acquisition unit 151 may perform a function of dividing the obtained image into frame units and transmitting the obtained image to the first region setting unit 153, and the image acquisition unit 151 may If the acquired image is an image of a type (format) that cannot be analyzed, it may wait until another image is acquired without dividing it into frame units.

제1영역설정부(153)는 영상획득부(151)로부터 영상을 전달받고, 영상에서 사람의 얼굴을 포함하는 제1영역을 추출할 수 있다. The first region setting unit 153 may receive an image from the image acquisition unit 151 and extract a first region including a human face from the image.

일 예로서, 제1영역설정부(153)는 영상에서 제1영역을 설정하고 추출할 수 있다. 여기서, 제1영역(1st Domain)은 영상을 구성하는 프레임의 일부를 설정하기 위한 경계선에 의해 도출되는 것으로서, 영상의 해상도(resolution)내에서 일정한 넓이를 가질 수 있다. 예를 들어, 영상의 해상도가 1028*720이라면, 그 영상의 제1영역은 300*200의 직사각형의 영역이거나 600*600의 정사각형의 영역일 수 있다. 전술한 제1영역의 크기 및 모양은 예시적인 것이므로, 실시 예에 따라 달라질 수 있다. 제1영역설정부(153)가 추출하는 제1영역은 영상의 해상도를 초과할 수 없다. 예를 들어, 740160개의 픽셀(pixel)로 구성되는 1028*768 크기의 영상이 획득되면, 그 영상에서 추출되는 제1영역들의 픽셀의 총계는 740160개를 초과할 수 없을 뿐만 아니라, 제1영역의 가로 및 세로의 픽셀 수는 각각 1028개 및 768개로 제한된다.As an example, the first region setting unit 153 may set and extract the first region from the image. Here, the first domain (1st domain) is derived by a boundary line for setting a part of a frame constituting an image, and may have a certain area within the resolution of the image. For example, if the resolution of an image is 1028*720, the first area of the image may be a 300*200 rectangular area or a 600*600 square area. The size and shape of the first region described above are illustrative, and may vary according to embodiments. The first region extracted by the first region setting unit 153 cannot exceed the resolution of the image. For example, when a 1028*768 size image composed of 740160 pixels is obtained, the total number of pixels of the first areas extracted from the image cannot exceed 740160, and the number of pixels in the first area The number of horizontal and vertical pixels is limited to 1028 and 768 respectively.

제1영역설정부(153)는 영상에서 사람의 얼굴로 추정되는 부위를 판별하고 판별된 부위의 크기를 기초로 제1영역의 크기를 설정하여 추출할 수 있다. 제1영역설정부(153)가 제1영역을 설정하고 추출하는 과정에서는, 색깔, 위치, 신체구조상의 특징이 고려될 수 있으며, 사람의 얼굴을 판단하기 위한 색깔, 위치, 신체구조상에 대한 정보는 데이터베이스(110)에 저장되어 있거나, 제1영역설정부(153)의 라이브러리(DLL)형태로 저장되어 있다. 또한, 제1영역설정부(153)는 OpenCV(OPENsource Computer Vision library)를 이용하여, 영상에서 사람의 얼굴 부위를 검출하고, 검출된 얼굴과 얼굴외 피부를 구분할 수도 있다.The first region setting unit 153 may determine a region estimated to be a human face in the image, set a size of the first region based on the size of the determined region, and extract the region. In the process of setting and extracting the first region by the first region setting unit 153, color, location, and body structure characteristics may be considered, and information on color, location, and body structure for determining a person's face is stored in the database 110 or stored in the form of a library (DLL) of the first area setting unit 153. In addition, the first region setting unit 153 may detect a part of a person's face in an image using OpenCV (OPENsource Computer Vision library), and distinguish the detected face from non-face skin.

또 다른 일 예로서, 제1영역설정부(153)는 획득한 영상을 프레임별로 분리하고, 분리된 프레임들을 모두 학습한 후, 학습한 결과를 기초로 하여 제1영역을 설정할 수도 있다. 제1영역설정부(153)는 영상에서 사람의 형상, 사람의 얼굴, 영상에 포함된 사람의 자세 등을 학습하여 판별할 수 있는 학습모델을 포함할 수 있다. 이때, 학습모델은 모델 내부에 설정되어 있는 기계학습알고리즘을 통해서, 학습을 반복하고 영상에 포함되어 있는 사람 및 사람의 신체를 구분할 수 있는 모델을 의미하며, 제1영역설정부(153)에 물리적 또는 논리적으로 구현될 수 있다. 학습모델은 ANN(Artificial Neural Network), RNN(Recurrent Neural Network), DNN(Deep Neural Network), 오토인코더(autoencoder) 등과 같은 알고리즘을 포함할 수 있으나, 이에 제한되지 않는다. 또한, 제1영역설정부(153)의 학습모델은 사람의 얼굴을 포함하는 제1영역을 설정하여 추출하기 위해서, 사람의 얼굴외 피부영역(domain of skin other than the human face)을 구분하기 위한 로직을 포함할 수 있다. 사람의 얼굴과 색은 비슷하면서 구별되는 신체부위는 사람의 목, 사람의 쇄골, 사람의 팔, 사람의 다리, 사람의 배 등이 될 수 있다.As another example, the first region setting unit 153 may divide the acquired image into frames, learn all of the separated frames, and then set the first region based on the learning result. The first region setting unit 153 may include a learning model capable of learning and discriminating a person's shape, a person's face, and a person's posture included in the image. At this time, the learning model refers to a model capable of repeating learning through a machine learning algorithm set inside the model and distinguishing a person and a person's body included in the image, and the first region setting unit 153 physically Or it can be implemented logically. The learning model may include an algorithm such as an Artificial Neural Network (ANN), a Recurrent Neural Network (RNN), a Deep Neural Network (DNN), an autoencoder, etc., but is not limited thereto. In addition, the learning model of the first area setting unit 153 is used to set and extract a first area including a human face, to distinguish a domain of skin other than the human face. may contain logic. A body part that is similar in color to a person's face but distinguished may be a person's neck, a person's clavicle, a person's arm, a person's leg, a person's stomach, and the like.

제1영역설정부(153)는 위와 같은 방식으로 영상에서 사람의 얼굴을 포함하는 제1영역을 추출하고, 추출한 제1영역을 제2영역설정부(155)에 전달하며, 추출된 제1영역의 수는 영상을 구성하는 프레임의 개수와 동일하게 된다.The first region setting unit 153 extracts a first region including a human face from the image in the same manner as above, transfers the extracted first region to the second region setting unit 155, and extracts the first region. The number of is the same as the number of frames constituting the image.

제2영역설정부(155)는 제1영역설정부(153)가 추출한 제1영역을 메시(mesh) 구조로 변환하고, 변환된 메시구조의 일부를 제거한 제2영역을 설정하는 기능을 수행한다. 여기서, 메시구조는 기본단위를 이루는 다각형이 그물망을 형성한 구조를 의미하고, 본 발명에서의 메시구조는 한 종류의 다각형으로 구성될 수 있다. 예를 들어, 제2영역설정부(155)는 제1영역을 복수의 삼각형으로 구성된 그물형태로 변환할 수도 있고, 복수의 육각형으로 구성된 그물형태로 변환할 수도 있다. 본 발명에서, 제2영역설정부(155)가 제1영역을 메시구조로 변환하는 이유는, 영상에서 사람의 얼굴 부위 중에서, 특히, 심박수를 잘 검출하기 좋은 부위를 정확하게 특정하기 위함이다.The second area setting unit 155 converts the first area extracted by the first area setting unit 153 into a mesh structure and sets a second area obtained by removing a part of the converted mesh structure. . Here, the mesh structure means a structure in which polygons constituting basic units form a mesh, and the mesh structure in the present invention may be composed of one type of polygon. For example, the second area setting unit 155 may convert the first area into a mesh shape composed of a plurality of triangles or a mesh shape composed of a plurality of hexagons. In the present invention, the reason why the second area setter 155 converts the first area into a mesh structure is to accurately specify a part of a person's face in the image, particularly a part where the heart rate can be well detected.

제2영역(2nd Domain)은 메시 구조로 변환된 제1영역에서 일부 다각형을 제거하는 방식으로 설정되므로, 제1영역보다 더 적은 화소(pixel)정보를 포함한다. 달리 말하면, 제2영역은 사람의 얼굴 중에서도, 특히, 원격 광용적맥파 신호(remote photoplethysmography signal)로 심박수를 산출하기 위해 필요한 얼굴 부위로 이해될 수 있다.Since the 2nd domain is set by removing some polygons from the first domain converted to the mesh structure, it includes less pixel information than the first domain. In other words, the second region may be understood as a face part necessary for calculating a heart rate with a remote photoplethysmography signal, among the human face.

일 실시 예로서, 제2영역설정부(155)는 제1영역을 삼각형을 기본 단위로 하는 메시 구조로 변환하고, 변환된 메시구조에서 일부 삼각형을 제거하여 제2영역을 설정할 수 있다. 다른 일 실시 예로서, 제2영역설정부(155)는 제1영역을 사각형을 기본 단위로 하는 메시 구조로 변환하고, 변환된 메시구조에서 일부 사각형을 제거하여 제2영역을 설정할 수도 있다. 전술한 실시 예 외에도, 메시구조에 포함된 다각형의 각수가 하나로 통일된다면, 본 발명에 따른 방법으로, 영상 속 사람의 심박수를 정확히 산출해낼 수 있다. 제2영역설정부(155)의 구체적인 동작에 대해서는, 도 3 내지 도 5를 통해 후술하기로 한다.As an embodiment, the second area setting unit 155 may convert the first area into a mesh structure using triangles as a basic unit, and may set the second area by removing some triangles from the converted mesh structure. As another embodiment, the second region setting unit 155 may convert the first region into a mesh structure having rectangles as a basic unit, and may set the second region by removing some rectangles from the converted mesh structure. In addition to the above-described embodiment, if each number of polygons included in the mesh structure is unified into one, the method according to the present invention can accurately calculate the heart rate of a person in an image. A detailed operation of the second area setting unit 155 will be described later with reference to FIGS. 3 to 5 .

심박산출부(157)는 제2영역설정부(155)가 설정한 제2영역에 대한 원격 광용적맥파(remote PPG)신호의 처리결과를 기초로, 영상에 포함된 사람의 심박수(heart rate)을 산출한다. 보다 구체적으로, 심박산출부(157)는 제2영역에 포함되어 있는 각각의 화소들에 대해서 원격 광용적맥파신호를 산출하고, 산출된 원격 광용적맥파신호를 가공처리하여 호흡과 관련된 지표인, HRV(Heart Rate Variability), Oxygen Saturation(SpO2), HR(Heart Rate) 등을 간접적으로 산출할 수 있다. 이 과정에서, 화소별로 산출된 제2영역의 원격 광용적맥파신호는, 분석의 정확성과 속도를 향상시키기 위해서 시간 영역(time domain)이 아니라, 주파수 영역(frequency domain)으로 변환되어 처리될 수 있으며, 이에 대해서는 후술한다. The heart rate calculation unit 157 determines the heart rate of a person included in the image based on the processing result of the remote PPG signal for the second area set by the second area setting unit 155. yields More specifically, the heart rate calculation unit 157 calculates a remote photoplethysmogram (PDP) signal for each pixel included in the second region, and processes the calculated remote photoplethysmogram (PDP) signal, which is an index related to respiration. HRV (Heart Rate Variability), Oxygen Saturation (SpO2), HR (Heart Rate), etc. can be calculated indirectly. In this process, the remote photoplethysmogram signal of the second region calculated for each pixel may be converted into the frequency domain rather than the time domain and processed in order to improve the accuracy and speed of the analysis. , which will be described later.

본 발명에서, 제2영역에 대해서 원격 광용적맥파신호를 산출하는 방법은 종래의 방법을 따르며, 일 예로서, 대한민국 등록특허 제10-2225557호에 기술이 개시되어 있는, 얼굴 영상에서 원격 광용적맥파신호를 추출하여 심박수를 구하는 방법이 본 발명에 적용될 수도 있으며, 이에 한정되지 않는다.In the present invention, the method of calculating the remote optical pulse wave signal for the second region follows the conventional method. As an example, the technology disclosed in Korean Patent Registration No. 10-2225557, remote optical pulse wave signal in the face image. A method of obtaining a heart rate by extracting a pulse wave signal may be applied to the present invention, but is not limited thereto.

도 3은 제1영역설정부가 제1영역을 설정하는 과정의 일 예를 설명하기 위한 도면이다.3 is a diagram for explaining an example of a process of setting a first area by a first area setting unit.

도 3을 참조하면, 제1영역설정부(153)는 제1영역을 설정하여 추출하기 위해서 디텍션 박스(detection box)를 생성한 것을 알 수 있으며, 도 3에서 디텍션 박스의 모양은 정사각형이지만, 이에 제한되지 않는다. 예를 들어, 갸름한 얼굴에 대해서는 세로가 더 긴 직사각형의 디텍션 박스가 생성될 수 있으며, 둥근 얼굴에 대해서는 가로가 더 긴 직사각형의 디텍션 박스가 생성될 수도 있다. 제1영역설정부(153)는 사람의 얼굴 피부의 정보를 담고 있는 화소의 개수 및 분포도를 파악하고, 파악된 화소의 개수 및 분포도를 고려하여 디텍션 박스의 형태와 크기를 조절할 수 있다.Referring to FIG. 3 , it can be seen that the first area setting unit 153 has created a detection box in order to set and extract the first area. In FIG. 3, the shape of the detection box is square. Not limited. For example, a rectangular detection box with a longer length may be created for a slim face, and a rectangular detection box with a longer width may be created for a round face. The first area setting unit 153 may determine the number and distribution of pixels containing information on human facial skin, and adjust the shape and size of the detection box in consideration of the identified number and distribution of pixels.

제1영역설정부(153)는 내부적으로 저장되어 있는 얼굴 색상에 대한 정보, 얼굴 윤곽에 대한 정보, 얼굴의 각 부위의 굴곡점에 대한 정보를 기초로 프레임 하나에 포함된 정보를 탐지하면서, 얼굴을 구성하는 특징점(landmark)의 좌표를 판단할 수 있고, 일 예로서, 특징점의 수는 68개일 수 있으나, 이에 제한되지 않는다.The first area setting unit 153 detects information included in one frame based on internally stored information about face color, information about face contour, and information about inflection points of each part of the face, while detecting information included in the face. It is possible to determine the coordinates of landmarks constituting . As an example, the number of landmarks may be 68, but is not limited thereto.

도 4는 제2영역설정부가 제1영역을 메시구조로 변환하는 과정의 일 예를 설명하기 위한 도면이다.4 is a diagram for explaining an example of a process of converting a first region into a mesh structure by a second region setting unit.

도 4를 참조하면, 제2영역설정부(155)는 도 3에서처럼 제1영역이 설정되어 추출되면, 제1영역을 추출하는 과정에서 형성된 특징점들을 기초로 하여 제1영역을 삼각형을 기본 단위로 하는 메시구조로 변환하는 것을 알 수 있다. 제1영역설정부(153)에서 형성되는 특징점은 제1영역에서 사람의 얼굴 피부에 해당하는 부분에만 위치하므로, 특징점을 연결하여 형성되는 메시구조는, 안구를 제외하고 사람의 얼굴 피부에 전반적으로 형성된다. 일 예로서, 도 4처럼, 메시 구조의 기본 단위가 삼각형으로 결정되었다면, 들로네 삼각분할(Delaunay triangulation)기법을 통해서 모든 특징점들이 삼각형으로 연결될 수 있다. 들로네 삼각분할 기법을 통해 제1영역이 메시구조로 변환되면, 메시구조를 구성하는 각각의 삼각형이 정삼각형에 가장 가까운 형태가 되므로, 후술하는 것처럼, 메시구조 전체에서 메시구조를 형성하는 다각형 일부를 제거하였을 때 남는 얼굴 영역이 일정한 법칙성을 갖게 되어, 정확한 심박수를 산출하기 용이해질 수 있다. 이에 대해서는 도 5에서 후술한다.Referring to FIG. 4 , when the first area is set and extracted as shown in FIG. 3 , the second area setter 155 converts the first area into triangles as a basic unit based on feature points formed in the process of extracting the first area. It can be seen that it is converted to a mesh structure that Since the feature points formed by the first region setting unit 153 are located only in the portion corresponding to the human facial skin in the first region, the mesh structure formed by connecting the feature points is generally applied to the human facial skin except for the eyeball. is formed As an example, as shown in FIG. 4 , if the basic unit of the mesh structure is determined as a triangle, all feature points may be connected as triangles through a Delaunay triangulation technique. When the first area is converted into a mesh structure through the Delaunay triangulation technique, each triangle constituting the mesh structure becomes the closest to an equilateral triangle, so as described later, a portion of the polygons forming the mesh structure is removed from the entire mesh structure When this is done, the remaining facial area has a certain regularity, so it may be easy to calculate an accurate heart rate. This will be described later with reference to FIG. 5 .

도 4에서는 설명의 편의를 위해서, 삼각형을 기본 단위를 하는 메시 구조로 설명하였으나, 삼각형이 아닌 다른 다각형의 메시 구조에 대해서도 유사하게 적용될 수 있으며, 들로네 삼각분할 기법 대신, 들로네 삼각분할 기법과 듀얼 관계인 보로노이 다이어그램(Voronoi Diagram) 알고리즘이 적용될 수도 있다.In FIG. 4, for convenience of explanation, a triangle is described as a mesh structure that is a basic unit, but it can be similarly applied to a mesh structure of a polygon other than a triangle, and instead of a Delaunay triangulation technique, a dual relationship with the Delaunay triangulation technique A Voronoi Diagram algorithm may be applied.

도 5는 제2영역설정부가 제2영역을 설정하는 과정의 일 예를 도식적으로 나타낸 도면이다.5 is a diagram schematically illustrating an example of a process of setting a second area by a second area setting unit.

도 5는 도 4에서 생성된 제1영역의 메시 구조에서 메시 구조를 형성하는 일부 다각형을 제거하여 제2영역을 설정하는 과정을 설명하기 위한 도면이다. 제2영역설정부(155)는 메시 구조를 형성하는 삼각형들에 대한 수학적 지표를 각각 측정하고, 측정된 메시 구조를 형성하는 다각형의 수학적 지표를 기초로 하여 메시 구조를 감축할 수 있다. FIG. 5 is a diagram for explaining a process of setting a second area by removing some polygons forming the mesh structure from the mesh structure of the first area generated in FIG. 4 . The second area setting unit 155 may measure mathematical indices of triangles constituting the mesh structure, respectively, and reduce the mesh structure based on the measured mathematical indices of polygons constituting the mesh structure.

일 예로서, 제2영역설정부(155)는 메시 구조를 형성하는 삼각형들 중에서 한 변의 길이가 제1기준값 미만인 삼각형들을 제거할 수 있다. 위와 같은 일부제거 프로세스를 통해서, 제2영역설정부(155)는 메시 구조 전체에서 사람의 눈과 입술에 대한 삼각형을 제거할 수 있게 된다.As an example, the second area setter 155 may remove triangles having a side length less than the first reference value from among the triangles forming the mesh structure. Through the partial removal process as described above, the second area setting unit 155 can remove triangles for human eyes and lips from the entire mesh structure.

다른 예로서, 제2영역설정부(155)는 메시 구조를 형성하는 삼각형들 중에서 넓이가 제2기준값 미만인 삼각형들을 제거할 수 있다. 위와 같은 일부제거 프로세스를 통해서, 제2영역설정부(155)는 얼굴 전체에서 심박수를 산출하는 데에 가장 필요한 부분(동맥혈)만 남겨놓을 수 있게 된다.As another example, the second area setting unit 155 may remove triangles having an area less than the second reference value from among triangles forming the mesh structure. Through the partial removal process as described above, the second region setting unit 155 can leave only the most necessary part (arterial blood) for calculating the heart rate in the entire face.

제2영역설정부(155)에 의해 실행되는, 제1기준값, 제2기준값을 기초로 한 일부 다각형 제거 프로세스는 순차적으로 또는 동시에 진행될 수 있으며, 영상속의 사람의 얼굴각도가 기설정된 기준각도를 초과한 경우나, 사람의 얼굴길이가 기설정된 길이를 초과하면, 둘 중 어느 하나의 프로세스가 생략되거나 가중치가 적용되어 증폭될 수 있다.The process of removing some polygons based on the first reference value and the second reference value, which is executed by the second area setting unit 155, may be performed sequentially or simultaneously, and the face angle of the person in the image exceeds the preset reference angle. In one case, if the length of a person's face exceeds a predetermined length, either process may be omitted or a weight may be applied and amplified.

선택적 일 실시 예로서, 제2영역설정부(155)는 메시 구조를 형성하는 기본 단위, 영상속의 사람의 얼굴의 굴곡으로 추정된 추정각도를 기초로 제거되어야 다각형 번호를 파악하고 제거할 수도 있다. 예를 들어, 제2영역설정부(155)는 메시 구조를 형성하는 기본단위가 삼각형이고, 영상속 사람의 얼굴의 굴곡으로 추정되는 추정각도가 20도 내지 30도라면, 좌측 상단부터 우측 하단까지 라벨링되어 있는 복수의 다각형 중에서, 16번 내지 30번, 45번 내지 51번의 다각형만 제거할 수 있다. 본 선택적 일 실시 예에서, 제2영역설정부(155)가 참조하는 데이터는 테이블(table)형태로 제2영역설정부(155)에 저장되어 있으며, 실시 예에 따라서, 데이터베이스(110)에 저장될 수도 있다. 본 선택적 일 실시 예에 따르면, 제2영역설정부(155)는 수학적, 경험적, 통계적으로 가장 제거되면 정확한 심박수를 산출하게 되는 다각형을 메시 구조에서 빠르게 제거할 수 있게 되며, 파라미터(parameter)인 메시구조를 형성하는 기본단위 및 사람 얼굴의 추정각도에 따라 제거되어야 하는 다각형 번호정보만 업데이트되면, 심박수산출 시스템(100)의 전체 알고리즘을 개선하지 않고도, 높은 정확도로 영상속 사람의 심박수를 산출할 수 있게 된다.As an optional embodiment, the second region setting unit 155 may identify and remove polygon numbers only when they are removed based on the basic unit forming the mesh structure, the estimated angle estimated by the curvature of a person's face in the image. For example, if the basic unit forming the mesh structure is a triangle and the estimated angle estimated by the curvature of a person's face in the image is 20 degrees to 30 degrees, the second area setting unit 155 determines from the upper left corner to the lower right corner Of the plurality of labeled polygons, only polygons numbered 16 to 30 and polygons 45 to 51 can be removed. In this optional embodiment, the data referred to by the second region setting unit 155 is stored in the second region setting unit 155 in the form of a table, and is stored in the database 110 according to the embodiment. It could be. According to this optional embodiment, the second region setting unit 155 can quickly remove from the mesh structure a polygon that calculates an accurate heart rate when it is removed mathematically, empirically, or statistically, and is a mesh parameter. If only the polygon number information to be removed according to the basic unit forming the structure and the estimated angle of the human face is updated, the heart rate of the person in the image can be calculated with high accuracy without improving the entire algorithm of the heart rate calculation system 100. there will be

결국, 제2영역설정부(155)는 도 5에 도시된 것처럼, 영상 속 사람의 심박수를 산출하는 데에 필요성이 낮은 부위를 제거한 제2영역을 설정할 수 있게 된다. 심박산출부(157)는 도 5에 도시된 제2영역에 대해서만 선택적으로 rPPG신호처리를 수행함으로써, 영상에 포함된 사람의 심박수를 정확하게 산출해낼 수 있다.As a result, as shown in FIG. 5 , the second region setting unit 155 can set a second region in which regions less necessary for calculating the heart rate of a person in the image are removed. The heart rate calculation unit 157 can accurately calculate the heart rate of a person included in the image by selectively processing the rPPG signal only for the second region shown in FIG. 5 .

도 6은 본 발명에 따른 방법의 일 예를 흐름도로 나타낸 도면이다.6 is a flowchart illustrating an example of a method according to the present invention.

도 6에 따른 방법은 도 1 및 도 2에서 설명한 심박수산출 시스템(100) 또는 심박수산출 시스템(100)에 포함된 하위 모듈들에 의해 구현될 수 있으므로, 이하에서는, 도 1 및 도 2를 참조하여 설명하기로 하고, 중복된 설명은 생략하기로 한다.Since the method according to FIG. 6 can be implemented by the heart rate calculation system 100 described in FIGS. 1 and 2 or sub-modules included in the heart rate calculation system 100, hereinafter, referring to FIGS. 1 and 2 description, and redundant description will be omitted.

영상획득부(151)는 영상을 획득한다(S610).The image acquisition unit 151 acquires an image (S610).

제1영역설정부(153)는 획득된 영상에서 사람의 얼굴을 포함하는 제1영역을 설정하여 추출할 수 있다(S630).The first region setting unit 153 may set and extract a first region including a human face in the acquired image (S630).

제2영역설정부(155)는 추출된 제1영역을 메시구조로 변환하고, 메시구조의 일부를 제거한 제2영역을 설정한다(S650).The second area setting unit 155 converts the extracted first area into a mesh structure and sets a second area from which a part of the mesh structure is removed (S650).

심박산출부(157)는 제2영역에 대한 rPPG신호의 처리결과를 기초로 영상에 포함된 사람의 심박수를 산출할 수 있다(S670).The heart rate calculation unit 157 may calculate the heart rate of the person included in the image based on the processing result of the rPPG signal for the second region (S670).

이상 설명된 본 발명에 따른 실시 예는 컴퓨터상에서 다양한 구성요소를 통하여 실행될 수 있는 컴퓨터 프로그램의 형태로 구현될 수 있으며, 이와 같은 컴퓨터 프로그램은 컴퓨터로 판독 가능한 매체에 기록될 수 있다. 이때, 매체는 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical medium), 및 ROM, RAM, 플래시 메모리 등과 같은, 프로그램 명령어를 저장하고 실행하도록 특별히 구성된 하드웨어 장치를 포함할 수 있다.Embodiments according to the present invention described above may be implemented in the form of a computer program that can be executed through various components on a computer, and such a computer program may be recorded on a computer-readable medium. At this time, the medium is a magnetic medium such as a hard disk, a floppy disk and a magnetic tape, an optical recording medium such as a CD-ROM and a DVD, a magneto-optical medium such as a floptical disk, and a ROM hardware devices specially configured to store and execute program instructions, such as RAM, flash memory, and the like.

한편, 상기 컴퓨터 프로그램은 본 발명을 위하여 특별히 설계되고 구성된 것이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수 있다. 컴퓨터 프로그램의 예에는, 컴파일러에 의하여 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용하여 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함될 수 있다.Meanwhile, the computer program may be specially designed and configured for the present invention, or may be known and usable to those skilled in the art of computer software. An example of a computer program may include not only machine language code generated by a compiler but also high-level language code that can be executed by a computer using an interpreter or the like.

본 발명에서 설명하는 특정 실행들은 일 실시 예들로서, 어떠한 방법으로도 본 발명의 범위를 한정하는 것은 아니다. 명세서의 간결함을 위하여, 종래 전자적인 구성들, 제어 시스템들, 소프트웨어, 상기 시스템들의 다른 기능적인 측면들의 기재는 생략될 수 있다. 또한, 도면에 도시된 구성 요소들 간의 선들의 연결 또는 연결 부재들은 기능적인 연결 및/또는 물리적 또는 회로적 연결들을 예시적으로 나타낸 것으로서, 실제 장치에서는 대체 가능하거나 추가의 다양한 기능적인 연결, 물리적인 연결, 또는 회로 연결들로서 나타내어질 수 있다. 또한, “필수적인”, “중요하게” 등과 같이 구체적인 언급이 없다면 본 발명의 적용을 위하여 반드시 필요한 구성 요소가 아닐 수 있다.Specific implementations described in the present invention are examples and do not limit the scope of the present invention in any way. For brevity of the specification, description of conventional electronic components, control systems, software, and other functional aspects of the systems may be omitted. In addition, the connection of lines or connecting members between the components shown in the drawings are examples of functional connections and / or physical or circuit connections, which can be replaced in actual devices or additional various functional connections, physical connection, or circuit connections. In addition, if there is no specific reference such as “essential” or “important”, it may not be a component necessarily required for the application of the present invention.

본 발명의 명세서(특히 특허청구범위에서)에서 “상기”의 용어 및 이와 유사한 지시 용어의 사용은 단수 및 복수 모두에 해당하는 것일 수 있다. 또한, 본 발명에서 범위(range)를 기재한 경우 상기 범위에 속하는 개별적인 값을 적용한 발명을 포함하는 것으로서(이에 반하는 기재가 없다면), 발명의 상세한 설명에 상기 범위를 구성하는 각 개별적인 값을 기재한 것과 같다. 마지막으로, 본 발명에 따른 방법을 구성하는 단계들에 대하여 명백하게 순서를 기재하거나 반하는 기재가 없다면, 상기 단계들은 적당한 순서로 행해질 수 있다. 반드시 상기 단계들의 기재 순서에 따라 본 발명이 한정되는 것은 아니다. 본 발명에서 모든 예들 또는 예시적인 용어(예들 들어, 등등)의 사용은 단순히 본 발명을 상세히 설명하기 위한 것으로서 특허청구범위에 의해 한정되지 않는 이상 상기 예들 또는 예시적인 용어로 인해 본 발명의 범위가 한정되는 것은 아니다. 또한, 당업자는 다양한 수정, 조합 및 변경이 부가된 특허청구범위 또는 그 균등물의 범주 내에서 설계 조건 및 팩터에 따라 구성될 수 있음을 알 수 있다.In the specification of the present invention (especially in the claims), the use of the term “above” and similar indicating terms may correspond to both singular and plural. In addition, when a range is described in the present invention, it includes an invention in which individual values belonging to the range are applied (unless there is a description to the contrary), and each individual value constituting the range is described in the detailed description of the invention Same as Finally, unless an order is explicitly stated or stated to the contrary for the steps constituting the method according to the present invention, the steps may be performed in any suitable order. The present invention is not necessarily limited according to the order of description of the steps. The use of all examples or exemplary terms (eg, etc.) in the present invention is simply to explain the present invention in detail, and the scope of the present invention is limited due to the examples or exemplary terms unless limited by the claims. it is not going to be In addition, those skilled in the art can appreciate that various modifications, combinations and changes can be made according to design conditions and factors within the scope of the appended claims or equivalents thereof.

100 : 심박수산출 시스템
110 : 데이터베이스
130 : 통신부
150 : 처리부
151 : 영상획득부
153 : 제1영역설정부
155 : 제2영역설정부
157 : 심박산출부
170 : 출력부
100: heart rate calculation system
110: database
130: Ministry of Communication
150: processing unit
151: image acquisition unit
153: first area setting unit
155: second area setting unit
157: heart rate calculation unit
170: output unit

Claims (5)

영상획득부가 영상을 획득하는 단계;
제1 영역설정부가 상기 획득된 영상에서 사람의 얼굴을 포함하는 제1영역을 설정하여 추출하는 단계;
제2 영역설정부가 상기 추출된 제1영역을 메시구조로 변환하고, 상기 변환된 메시구조의 일부를 제거한 제2영역을 설정하는 단계; 및
심박산출부가 상기 설정된 제2영역에 대한 원격 광용적맥파(remote PPG)신호의 처리결과를 기초로 상기 영상에 포함된 사람의 심박(heart rate)을 산출하는 단계를 포함하고,
상기 제2 영역을 설정하는 단계는,
상기 변환된 메시구조를 형성하는 다각형들 중에서 적어도 한 변의 길이가 제1 기준값 미만인 다각형들을 제거하고, 상기 다각형들 중에서 넓이가 제2 기준값 미만인 다각형들을 제거하는 단계를 포함하는, 영상에 대한 원격 광용적맥파신호를 이용하여 사람의 심박수를 산출하는 방법.
Acquiring an image by an image acquisition unit;
setting and extracting a first region including a human face from the acquired image by a first region setting unit;
converting the extracted first region into a mesh structure by a second region setting unit and setting a second region by removing a part of the converted mesh structure; and
Calculating, by a heart rate calculator, a heart rate of a person included in the image based on a processing result of a remote PPG signal for the set second region;
Setting the second area,
Removing polygons having at least one side length less than a first reference value from among the polygons forming the transformed mesh structure, and removing polygons having a width less than a second reference value from among the polygons, A method for calculating human heart rate using a pulse wave signal.
제1항에 있어서,
상기 영상은,
적어도 두 개 이상의 프레임(frame)으로 구성되어 있는 연속이미지인, 영상에 대한 원격 광용적맥파신호를 이용하여 사람의 심박수를 산출하는 방법.
According to claim 1,
The video,
A method for calculating human heart rate using a remote photoplethysmogram signal for an image, which is a continuous image composed of at least two or more frames.
제1항에 있어서,
상기 제2영역을 설정하는 단계는,
상기 추출된 제1영역을 삼각형을 기본 단위로 하는 메시 구조로 변환하는 단계; 및
상기 변환된 메시구조에서 일부 삼각형을 제거하여 상기 제2영역을 설정하는 단계를 포함하는, 영상에 대한 원격 광용적맥파신호를 이용하여 사람의 심박수를 산출하는 방법.
According to claim 1,
The step of setting the second area,
converting the extracted first region into a mesh structure in which triangles are basic units; and
and setting the second area by removing some triangles from the converted mesh structure, wherein the heart rate of a person is calculated using a remote photoplethysmogram signal for an image.
제3항에 있어서,
상기 메시 구조로 변환하는 단계는,
상기 추출된 제1영역에 기설정된 개수의 특징점(feature point)을 찍는 단계; 및
상기 특징점을 기초로 들로네 삼각분할을 수행하는 단계를 포함하는, 영상에 대한 원격 광용적맥파신호를 이용하여 사람의 심박수를 산출하는 방법.
According to claim 3,
The step of converting to the mesh structure,
stamping a preset number of feature points on the extracted first region; and
A method of calculating a human heart rate using a remote photoplethysmogram signal for an image, comprising performing a Delaunay triangulation based on the feature points.
외부 장치로부터 영상을 획득하는 통신부; 및
처리부를 포함하고,
상기 처리부는,
상기 획득된 영상에서 사람의 얼굴을 포함하는 제1영역을 설정하여 추출하고,
상기 추출된 제1영역을 메시구조로 변환하고, 상기 변환된 메시구조의 일부를 제거한 제2영역을 설정하고,
상기 설정된 제2영역에 대한 원격 광용적맥파(remote PPG)신호의 처리결과를 기초로 상기 영상에 포함된 사람의 심박(heart rate)을 산출하고,
상기 변환된 메시구조의 일부를 제거한 제2 영역을 설정할 때, 상기 변환된 메시구조를 형성하는 다각형 중에서 적어도 한 변의 길이가 제1 기준값 미만인 다각형을 제거하고, 상기 다각형 중에서 넓이가 제2 기준값 미만인 다각형을 제거하는, 영상에 대한 원격 광용적맥파신호를 이용하여 사람의 심박수를 산출하는 시스템.
a communication unit that acquires an image from an external device; and
Including a processing unit,
The processing unit,
Setting and extracting a first region including a human face in the obtained image;
Converting the extracted first region into a mesh structure and setting a second region in which a part of the converted mesh structure is removed;
Calculating a heart rate of a person included in the image based on a processing result of a remote PPG signal for the set second region;
When setting the second area from which a part of the transformed mesh structure is removed, polygons having at least one side length less than the first reference value are removed from among the polygons forming the transformed mesh structure, and polygons having a width less than the second reference value among the polygons A system for calculating a person's heart rate using a remote photoplethysmogram signal for an image, which eliminates
KR1020220046422A 2022-04-14 2022-04-14 Method for calculating heart rate using rPPG signal of serial image and system thereof KR102468648B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1020220046422A KR102468648B1 (en) 2022-04-14 2022-04-14 Method for calculating heart rate using rPPG signal of serial image and system thereof
KR1020220136557A KR20230147511A (en) 2022-04-14 2022-10-21 Method for calculating heart rate using rPPG signal of serial image and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220046422A KR102468648B1 (en) 2022-04-14 2022-04-14 Method for calculating heart rate using rPPG signal of serial image and system thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020220136557A Division KR20230147511A (en) 2022-04-14 2022-10-21 Method for calculating heart rate using rPPG signal of serial image and system thereof

Publications (1)

Publication Number Publication Date
KR102468648B1 true KR102468648B1 (en) 2022-11-22

Family

ID=84236633

Family Applications (2)

Application Number Title Priority Date Filing Date
KR1020220046422A KR102468648B1 (en) 2022-04-14 2022-04-14 Method for calculating heart rate using rPPG signal of serial image and system thereof
KR1020220136557A KR20230147511A (en) 2022-04-14 2022-10-21 Method for calculating heart rate using rPPG signal of serial image and system thereof

Family Applications After (1)

Application Number Title Priority Date Filing Date
KR1020220136557A KR20230147511A (en) 2022-04-14 2022-10-21 Method for calculating heart rate using rPPG signal of serial image and system thereof

Country Status (1)

Country Link
KR (2) KR102468648B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102576679B1 (en) 2022-12-13 2023-09-11 주식회사 바이오커넥트 A method and apparatus for calculating blood pressure values using photoplethysmography feature values

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160171684A1 (en) * 2014-12-15 2016-06-16 Koninklijke Philips N.V. Device, System and Method for Skin Detection
KR20190137893A (en) 2017-05-01 2019-12-11 삼성전자주식회사 Arterial Positioning Using Camera-based Sensing
KR20200139047A (en) * 2019-06-03 2020-12-11 계명대학교 산학협력단 Non-contact system of measuring blood pressure and its way to working

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160171684A1 (en) * 2014-12-15 2016-06-16 Koninklijke Philips N.V. Device, System and Method for Skin Detection
KR20190137893A (en) 2017-05-01 2019-12-11 삼성전자주식회사 Arterial Positioning Using Camera-based Sensing
KR20200139047A (en) * 2019-06-03 2020-12-11 계명대학교 산학협력단 Non-contact system of measuring blood pressure and its way to working

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102576679B1 (en) 2022-12-13 2023-09-11 주식회사 바이오커넥트 A method and apparatus for calculating blood pressure values using photoplethysmography feature values

Also Published As

Publication number Publication date
KR20230147511A (en) 2023-10-23

Similar Documents

Publication Publication Date Title
US10991094B2 (en) Method of analyzing dental image for correction diagnosis and apparatus using the same
US9795306B2 (en) Method of estimating blood pressure based on image
US11238272B2 (en) Method and apparatus for detecting face image
US9881204B2 (en) Method for determining authenticity of a three-dimensional object
JP4830650B2 (en) Tracking device
US20160162673A1 (en) Technologies for learning body part geometry for use in biometric authentication
CN111598038B (en) Facial feature point detection method, device, equipment and storage medium
KR101301821B1 (en) Apparatus and method for detecting complexion, apparatus and method for determinig health using complexion, apparatus and method for generating health sort function
US20200337573A1 (en) Biological information detection device, biological information detection method and non-transitory computer-readable storage medium for biological information detection
JP6822482B2 (en) Line-of-sight estimation device, line-of-sight estimation method, and program recording medium
KR101788803B1 (en) Generation method of personal identification information using electrocardiogram and personal identification method using the information
US10635919B2 (en) Information processing device, image processing system, image processing method, and program storage medium
US10496874B2 (en) Facial detection device, facial detection system provided with same, and facial detection method
KR102468648B1 (en) Method for calculating heart rate using rPPG signal of serial image and system thereof
TW202034845A (en) Baseline correction and extraction of heartbeat profiles
Wei et al. Remote photoplethysmography and heart rate estimation by dynamic region of interest tracking
CN111784660B (en) Method and system for analyzing frontal face degree of face image
EP3699865B1 (en) Three-dimensional face shape derivation device, three-dimensional face shape deriving method, and non-transitory computer readable medium
CN111563492A (en) Fall detection method, fall detection device and storage device
KR102468654B1 (en) Method of heart rate estimation based on corrected image and apparatus thereof
CA3187876A1 (en) System and method for automatic personalized assessment of human body surface conditions
KR102369059B1 (en) Apparatus and method for measuring heart rate without contact
JP5688514B2 (en) Gaze measurement system, method and program
CN109389089A (en) More people's Activity recognition method and devices based on intelligent algorithm
CN113408531B (en) Target object shape frame selection method and terminal based on image recognition

Legal Events

Date Code Title Description
N231 Notification of change of applicant
A107 Divisional application of patent
GRNT Written decision to grant