KR20230094062A - Face recognition system and method for controlling the same - Google Patents

Face recognition system and method for controlling the same Download PDF

Info

Publication number
KR20230094062A
KR20230094062A KR1020210183218A KR20210183218A KR20230094062A KR 20230094062 A KR20230094062 A KR 20230094062A KR 1020210183218 A KR1020210183218 A KR 1020210183218A KR 20210183218 A KR20210183218 A KR 20210183218A KR 20230094062 A KR20230094062 A KR 20230094062A
Authority
KR
South Korea
Prior art keywords
face image
face
pixels
temperature values
image
Prior art date
Application number
KR1020210183218A
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 KR1020210183218A priority Critical patent/KR20230094062A/en
Publication of KR20230094062A publication Critical patent/KR20230094062A/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V10/00Arrangements for image or video recognition or understanding
    • G06V10/70Arrangements for image or video recognition or understanding using pattern recognition or machine learning
    • G06V10/74Image or video pattern matching; Proximity measures in feature spaces
    • G06V10/75Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
    • G06V10/751Comparing pixel values or logical combinations thereof, or feature values having positional relevance, e.g. template matching

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Artificial Intelligence (AREA)
  • Computing Systems (AREA)
  • Databases & Information Systems (AREA)
  • Evolutionary Computation (AREA)
  • Medical Informatics (AREA)
  • Software Systems (AREA)
  • Collating Specific Patterns (AREA)

Abstract

본 발명은 사용자 인증을 수행하기 위하여, 사용자의 얼굴을 인식하는 시스템 및 이를 제어하는 방법에 관한 것이다. 본 발명은 얼굴 영상을 수신하는 단계 및 상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 단계를 포함하고, 상기 영상에 대한 진위 여부를 판단하는 단계는, 상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 수행되는 것을 특징으로 하는 얼굴 인식 방법을 제공할 수 있다.The present invention relates to a system for recognizing a user's face and a method for controlling the same in order to perform user authentication. The present invention includes receiving a face image and determining authenticity of the image based on a temperature value corresponding to each of a plurality of pixels included in the face image, and determining authenticity of the image. The step of performing the comparison may include a comparison result of temperature values of each of pixels disposed along a preset direction based on a point of the face image and a temperature value of pixels constituting one region of the face image and other values of the face image. A face recognition method characterized in that it is performed based on at least one of comparison results between temperature values of pixels constituting one area may be provided.

Description

얼굴 인식 시스템 및 얼굴 인식 시스템을 위한 제어 방법{FACE RECOGNITION SYSTEM AND METHOD FOR CONTROLLING THE SAME}Face recognition system and control method for face recognition system {FACE RECOGNITION SYSTEM AND METHOD FOR CONTROLLING THE SAME}

본 발명은 사용자 인증을 수행하기 위하여, 사용자의 얼굴을 인식하는 시스템 및 이를 제어하는 방법에 관한 것이다. The present invention relates to a system for recognizing a user's face and a method for controlling the same in order to perform user authentication.

기술이 발전함에 따라, 단말기의 활용도가 높아지고 있으며, 특히, 단말기는 다양한 상황에서 사용자를 인증하는 수단으로서 활용되고 있다. As technology develops, utilization of terminals is increasing, and in particular, terminals are used as a means of authenticating users in various situations.

예를 들어, 출입 통제 공간에 설치된 출입 통제 장치(예를 들어, 출입 통제 게이트 또는 스피드 게이트)에서의 사용자 확인, 컨퍼런스에서의 참석자 확인, 병원에서의 환자 내원 확인, 카페에서의 결제를 위한 사용자 확인과 같이, 다양한 상황에서 진정한 사용자를 인증하기 위한 니즈가 있다. 이와 같이, 사용자에 대한 인증을 요구하는 상황에서 단말기의 활용은, 불필요한 노동력을 줄이고, 나아가 사용자 인증 시간에 소모되었던 시간을 감소시키는 효과를 가져오고 있다.For example, user identification at an access control device installed in an access control space (e.g. access control gate or speed gate), attendee verification at a conference, patient visit verification at a hospital, user verification for payment at a cafe As such, there is a need to authenticate genuine users in various situations. In this way, the use of the terminal in a situation requiring user authentication has the effect of reducing unnecessary labor and, furthermore, reducing the time consumed for user authentication.

단말기를 활용한 사용자 인증 방식은 다양하며, 예를 들어, 사용자가 직접 자신을 식별하기 위한 식별 정보(예를 들어, 전화번호, 메일주소 등) 또는 생체 정보 (예를 들어, 지문 정보 등)를 단말기에 입력함으로써, 인증이 이루어지는 방식이 존재할 수 있다.There are various user authentication methods using terminals. For example, identification information (eg, phone number, e-mail address, etc.) or biometric information (eg, fingerprint information, etc.) There may be a method in which authentication is performed by inputting into a terminal.

최근에는, 사용자가 단말기에 정보를 직접적으로 인가하는 행위 없이 사용자 인증을 수행하기 위하여, 신속하고 정확하게 사용자의 얼굴을 인식하는 방법에 대한 활발한 연구가 진행되고 있다. Recently, active research is being conducted on a method for quickly and accurately recognizing a user's face in order to perform user authentication without the user directly applying information to the terminal.

본 발명은, 사용자 인증을 시도하는 사용자의 얼굴을 보다 신속하고 정확하게 인식하는 얼굴 인식 시스템 및 이를 제어하는 방법을 제공하기 위한 것이다. An object of the present invention is to provide a face recognition system that more quickly and accurately recognizes the face of a user attempting user authentication, and a method for controlling the face recognition system.

나아가, 본 발명은 사용자 인증을 시도하는 사용자의 얼굴의 진위 여부를 빠르게 판단할 수 있도록 하는 얼굴 인식 시스템 및 이를 제어하는 방법을 제공하기 위한 것이다.Furthermore, the present invention is to provide a face recognition system and a method for controlling the face recognition system that can quickly determine the authenticity of a user's face attempting user authentication.

더 나아가, 본 발명은, 별도의 연산 자원 없이 얼굴 인식 장치에 내장된 연산 자원만으로 사용자 인증을 시도하는 사용자의 얼굴의 진위 여부를 빠르게 판단할 수 있는 얼굴 인식 시스템 및 이의 제어 방법을 제공하기 위한 것이다.Furthermore, the present invention is to provide a face recognition system and a control method capable of quickly determining the authenticity of a user's face attempting user authentication only with computational resources built into a face recognition device without separate computational resources. .

위에서 살펴본 과제를 해결하기 위하여, 본 발명은 얼굴 영상을 수신하는 단계 및 상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 단계를 포함하고, 상기 영상에 대한 진위 여부를 판단하는 단계는, 상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 수행되는 것을 특징으로 하는 얼굴 인식 방법을 제공할 수 있다. In order to solve the above problems, the present invention includes receiving a face image and determining whether the image is authentic based on a temperature value corresponding to each of a plurality of pixels included in the face image, Determining the authenticity of the image may include a comparison result of temperature values of each of pixels disposed along a preset direction with respect to a point of the face image and a temperature value of pixels constituting one region of the face image. The face recognition method may be performed based on at least one of a comparison result between a temperature value and a temperature value of a pixel constituting another area of the face image.

또한, 본 발명은 얼굴 영상을 획득하는 카메라부 및 상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 제어부를 포함하고, 상기 제어부는 상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 상기 영상에 대한 진위 여부를 판단하는 것을 특징으로 하는 얼굴 인식 시스템을 제공할 수 있다.In addition, the present invention includes a camera unit that acquires a face image and a controller that determines whether or not the image is authentic based on a temperature value corresponding to each of a plurality of pixels included in the face image, wherein the controller determines the authenticity of the face image. The comparison result of the temperature values of each of the pixels arranged along a predetermined direction based on a point of the image and the temperature values of the pixels constituting one area of the face image and the pixels constituting another area of the face image It is possible to provide a face recognition system characterized in that it determines the authenticity of the image based on at least one of the comparison results between the temperature values of the.

또한, 본 발명은 얼굴 영상을 수신하는 통신부 및 상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 제어부를 포함하는 서버를 포함하고, 상기 제어부는 상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 상기 영상에 대한 진위 여부를 판단하는 것을 특징으로 하는 얼굴 인식 시스템을 제공할 수 있다.In addition, the present invention includes a server including a communication unit that receives a face image and a controller that determines whether or not the image is authentic based on a temperature value corresponding to each of a plurality of pixels included in the face image, wherein the controller is the comparison result of the temperature values of each of the pixels arranged along a predetermined direction with respect to one point of the face image, and the temperature values of pixels constituting one region of the face image and another region of the face image. It is possible to provide a face recognition system characterized in that the authenticity of the image is determined based on at least one of the comparison results between the temperature values of the constituent pixels.

또한, 본 발명은 전자기기에서 하나 이상의 프로세스에 의하여 실행되며, 컴퓨터로 판독될 수 있는 기록매체에 저장된 프로그램으로서, 얼굴 영상을 수신하는 단계 및 상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 단계를 수행하도록 하는 명령어들을 포함하고, 상기 영상에 대한 진위 여부를 판단하는 단계는, 상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 수행되는 것을 특징으로 하는 컴퓨터로 판독될 수 있는 기록매체에 저장된 프로그램을 제공할 수 있다.In addition, the present invention is a program executed by one or more processes in an electronic device and stored in a computer-readable recording medium, comprising steps of receiving a face image and temperatures corresponding to each of a plurality of pixels included in the face image. It includes instructions for performing a step of determining authenticity of the image based on a value, wherein the step of determining whether the image is authentic is arranged along a predetermined direction based on a point of the face image. performed based on at least one of a comparison result of the temperature values of each of the selected pixels and a comparison result between the temperature values of pixels constituting one area of the face image and the temperature values of pixels constituting another area of the face image. It is possible to provide a program stored in a computer-readable recording medium, characterized in that.

위에서 살펴본 것과 같이, 본 발명에 따른 얼굴 인식 시스템 및 이의 제어방법은, 얼굴 영상에 포함된 픽셀값 만으로, 얼굴 영상의 진위 여부를 판단하기 때문에 별도의 연산 자원 및 인공지능 모델 없이도 빠른 진위 여부 판단이 가능해질 수 있다.As described above, since the face recognition system and its control method according to the present invention determine the authenticity of a face image only with the pixel values included in the face image, fast authenticity determination can be made without separate computational resources and artificial intelligence models. it could be possible

또한, 본 발명에 따른 얼굴 인식 시스템 및 이의 제어 방법은, 얼굴 영상에 포함된 인접 픽셀간 비교 결과 및 얼굴이 위치하는 영역과 위치하지 않는 영역간 비교 결과를 모두 참조하여 얼굴 영상의 진위 여부를 판단하기 때문에, 스푸링 영상과 얼굴을 일부 가리는 악세서리를 착용한 얼굴을 촬영한 정상 영상을 정확하게 구분할 수 있게 된다. In addition, the face recognition system and method for controlling the face recognition system according to the present invention refer to both the comparison result between adjacent pixels included in the face image and the comparison result between areas where the face is located and areas where the face is not located to determine authenticity of the face image. Therefore, it is possible to accurately distinguish between a spoofing image and a normal image obtained by photographing a face wearing an accessory that partially covers the face.

도 1은 본 발명에 따른 얼굴 인식 시스템을 설명하기 위한 개념도이다.
도 2는 본 발명에 따른 얼굴 인식을 위한 얼굴 영상을 설명하는 개념도이다.
도 3은 본 발명에 따른 얼굴 인식 시스템이 적용된 장치를 나타내는 개념도이다.
도 4는 본 발명에 따른 얼굴 인식 시스템의 제어 방법을 설명하기 위한 흐름도이다.
도 5는 얼굴 영상이 제1조건을 만족하는지 판단하는 방법을 나타내는 개념도이다.
도 6은 얼굴 영상이 제1조건을 만족하는지 판단하는 방법을 나타내는 흐름도이다.
도 7은 얼굴 영상이 제2조건을 만족하는지 판단하는 방법을 나타내는 개념도이다.
도 8은 얼굴 영상이 제2조건을 만족하는지 판단하는 방법을 나타내는 흐름도이다.
1 is a conceptual diagram for explaining a face recognition system according to the present invention.
2 is a conceptual diagram illustrating a face image for face recognition according to the present invention.
3 is a conceptual diagram showing a device to which a face recognition system according to the present invention is applied.
4 is a flowchart for explaining a control method of a face recognition system according to the present invention.
5 is a conceptual diagram illustrating a method of determining whether a face image satisfies a first condition.
6 is a flowchart illustrating a method of determining whether a face image satisfies a first condition.
7 is a conceptual diagram illustrating a method of determining whether a face image satisfies a second condition.
8 is a flowchart illustrating a method of determining whether a face image satisfies a second condition.

이하, 첨부된 도면을 참조하여 본 명세서에 개시된 실시 예를 상세히 설명하되, 도면 부호에 관계없이 동일하거나 유사한 구성요소에는 동일한 참조 번호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다. 이하의 설명에서 사용되는 구성요소에 대한 접미사 "모듈" 및 "부"는 명세서 작성의 용이함만이 고려되어 부여되거나 혼용되는 것으로서, 그 자체로 서로 구별되는 의미 또는 역할을 갖는 것은 아니다. 또한, 본 명세서에 개시된 실시 예를 설명함에 있어서 관련된 공지 기술에 대한 구체적인 설명이 본 명세서에 개시된 실시 예의 요지를 흐릴 수 있다고 판단되는 경우 그 상세한 설명을 생략한다. 또한, 첨부된 도면은 본 명세서에 개시된 실시 예를 쉽게 이해할 수 있도록 하기 위한 것일 뿐, 첨부된 도면에 의해 본 명세서에 개시된 기술적 사상이 제한되지 않으며, 본 발명의 사상 및 기술 범위에 포함되는 모든 변경, 균등물 내지 대체물을 포함하는 것으로 이해되어야 한다. Hereinafter, the embodiments disclosed in this specification will be described in detail with reference to the accompanying drawings, but the same reference numerals will be assigned to the same or similar components regardless of reference numerals, and overlapping descriptions thereof will be omitted. The suffixes "module" and "unit" for components used in the following description are given or used together in consideration of ease of writing the specification, and do not have meanings or roles that are distinct from each other by themselves. In addition, in describing the embodiments disclosed in this specification, if it is determined that a detailed description of a related known technology may obscure the gist of the embodiment disclosed in this specification, the detailed description thereof will be omitted. In addition, the accompanying drawings are only for easy understanding of the embodiments disclosed in this specification, the technical idea disclosed in this specification is not limited by the accompanying drawings, and all changes included in the spirit and technical scope of the present invention , it should be understood to include equivalents or substitutes.

제1, 제2 등과 같이 서수를 포함하는 용어는 다양한 구성요소들을 설명하는데 사용될 수 있지만, 상기 구성요소들은 상기 용어들에 의해 한정되지는 않는다. 상기 용어들은 하나의 구성요소를 다른 구성요소로부터 구별하는 목적으로만 사용된다.Terms including ordinal numbers, such as first and second, may be used to describe various components, but the components are not limited by the terms. These terms are only used for the purpose of distinguishing one component from another.

어떤 구성요소가 다른 구성요소에 "연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 그 다른 구성요소에 직접적으로 연결되어 있거나 또는 접속되어 있을 수도 있지만, 중간에 다른 구성요소가 존재할 수도 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소가 다른 구성요소에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 중간에 다른 구성요소가 존재하지 않는 것으로 이해되어야 할 것이다.It is understood that when an element is referred to as being "connected" or "connected" to another element, it may be directly connected or connected to the other element, but other elements may exist in the middle. It should be. On the other hand, when an element is referred to as “directly connected” or “directly connected” to another element, it should be understood that no other element exists in the middle.

단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. Singular expressions include plural expressions unless the context clearly dictates otherwise.

본 출원에서, "포함한다" 또는 "가지다" 등의 용어는 명세서상에 기재된 특징, 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것이 존재함을 지정하려는 것이지, 하나 또는 그 이상의 다른 특징들이나 숫자, 단계, 동작, 구성요소, 부품 또는 이들을 조합한 것들의 존재 또는 부가 가능성을 미리 배제하지 않는 것으로 이해되어야 한다.In this application, terms such as "comprise" or "have" are intended to designate that there is a feature, number, step, operation, component, part, or combination thereof described in the specification, but one or more other features It should be understood that the presence or addition of numbers, steps, operations, components, parts, or combinations thereof is not precluded.

본 발명은, 별도의 연산 자원 및 인공지능 모델을 활용하지 않더라도, 사용자의 얼굴 영상의 진위 여부를 정확하고 신속하게 파악하기 위한 얼굴 인식 시스템 및 방법을 제공하기 위한 것으로서, 이하 첨부된 도면과 함께 본 발명에 대해 구체적으로 설명하기로 한다. 도 1은 본 발명에 따른 얼굴 인식 시스템을 설명하기 위한 개념도이고, 도 2는 본 발명에 따른 얼굴 인식을 위한 얼굴 영상을 설명하는 개념도이고, 도 3은 본 발명에 따른 얼굴 인식 시스템이 적용된 장치를 나타내는 개념도이다.The present invention is to provide a face recognition system and method for accurately and quickly determining the authenticity of a user's face image without using separate computational resources and artificial intelligence models. The invention will be described in detail. 1 is a conceptual diagram for explaining a face recognition system according to the present invention, FIG. 2 is a conceptual diagram for explaining a face image for face recognition according to the present invention, and FIG. 3 is a device to which a face recognition system according to the present invention is applied. It is a conceptual diagram that represents

도 1에 도시된 것과 같이, 본 발명에서 사용자 인증은, 얼굴 인식 시스템(100) 및 서버(200)와의 연동을 통하여 이루어질 수 있다. 본 발명에서, 서버(200)는 얼굴 인식 시스템(100)과 동일 장소 또는 별개의 장소에 위치할 수 있으며, 얼굴 인식 시스템(100)에서 인식된 얼굴에 대한 사용자 인증을 처리하도록 이루어질 수 있다.As shown in FIG. 1 , user authentication in the present invention may be performed through interworking with the face recognition system 100 and the server 200 . In the present invention, the server 200 may be located in the same place as the face recognition system 100 or in a separate place, and may be configured to process user authentication for a face recognized by the face recognition system 100.

한편, 서버(200)는 얼굴 인식 시스템(100)의 일 구성으로도 구현될 수 있으며, 이 경우, 얼굴 인식 시스템(100)은 서버(200)의 역할까지 포함한 기능을 수행할 수 있다. Meanwhile, the server 200 may be implemented as one component of the face recognition system 100, and in this case, the face recognition system 100 may perform functions including the role of the server 200.

또한, 도 1의 도시와 같이, 얼굴 인식 시스템(100)과 서버(200)는 별개의 구성으로도 이루어질 수 있으며, 본 발명에서는 설명의 편의를 위하여, 얼굴 인식 시스템(100)과 서버(200)를 구분하여 설명하도록 한다.In addition, as shown in FIG. 1 , the face recognition system 100 and the server 200 may be configured separately, and in the present invention, for convenience of description, the face recognition system 100 and the server 200 separate and explain.

한편, 얼굴 인식 시스템(100)과 서버(200)가 물리적으로 분리됨과 관계없이, 본 발명에서 설명되는 얼굴 인식 시스템(100) 및 서버(200)에서 수행되는 기능들, 제어들은 “얼굴 인식 시스템”에서 수행된다고 설명될 수 있음은 물론이다.Meanwhile, regardless of whether the face recognition system 100 and the server 200 are physically separated, the functions and controls performed by the face recognition system 100 and the server 200 described in the present invention are "face recognition system" Of course, it can be described as being performed in .

본 발명에서는, 사용자의 얼굴을 인식하여, 사용자 인증을 수행하고, 사용자 인증 결과에 따라 사용자 인증과 관련된 이벤트 또는 기능(이하, 타겟 기능)이 수행되도록 제어할 수 있다.In the present invention, a user's face may be recognized, user authentication may be performed, and an event or function related to user authentication (hereinafter, a target function) may be performed according to a user authentication result.

여기에서, “타겟 기능”의 종류는 매우 다양할 수 있으며, 특정 공간 출입 통제 기능, 결제 기능, 출석 확인 기능, 병원에서의 내원 확인 기능 등과 같이, 사용자 인증이 필요한 기능을 의미할 수 있다. 예를 들어, 특정 공간 출입 통제 기능은, 도 1에 도시된 출입 통제 게이트(10 및 20, 또는 출입 통제 장치 또는 스피드게이트)가 열림 상태 및 닫힘 상태 중 어느 하나의 상태로 동작하도록 제어하는 것을 통해 수행될 수 있다. Here, the type of “target function” may be very diverse, and may mean a function that requires user authentication, such as a specific space access control function, payment function, attendance confirmation function, visit confirmation function in a hospital, and the like. For example, a specific space access control function is performed by controlling the access control gates (10 and 20, or access control device or speed gate) shown in FIG. 1 to operate in either an open state or a closed state. can be performed

이과 같이, 본 발명에서 얼굴 인식 시스템(100)은 얼굴 인식 및 사용자 인증을 통해 달성하고자 하는 기능(예를 들어, 출입 통제, 출석 체크, 결제 허용 등)에 따라, 다양한 하드웨어 구성을 가질 수 있으며, 본 발명에서는 대표적인 예시로서 도 1에 도시된 것과 같이, 출입 통제 게이트(10)에서의 사용자 인증을 설명하도록 한다. 다만, 이하에서 설명되는 얼굴 인식 및 사용자 인증 방법은, 다양한 기능을 갖는 얼굴 인식 시스템에 적용될 수 있음은 물론이다. As such, the face recognition system 100 in the present invention may have various hardware configurations depending on the functions to be achieved through face recognition and user authentication (eg, access control, attendance check, payment acceptance, etc.), In the present invention, as shown in FIG. 1 as a representative example, user authentication in the access control gate 10 will be described. However, it goes without saying that the face recognition and user authentication methods described below can be applied to face recognition systems having various functions.

도 1에 도시된 것과 같이, 본 발명에 따른 얼굴 인식 시스템(100)(이하, “시스템(100)”으로 명명함)은, 센서부(110), 저장부(120), 통신부(130), 디스플레이부(140), 음향출력부(150) 및 제어부(160) 중 적어도 하나를 포함하도록 구성될 수 있다. 이때 본 발명에 따른 시스템(100)은 상술한 구성 요소로 제한되는 것은 아니며, 본 명세서의 설명에 따른 기능과 동일 또는 유사한 역할을 수행하는 구성요소를 더 포함할 수 있다.As shown in FIG. 1, the face recognition system 100 (hereinafter referred to as “system 100”) according to the present invention includes a sensor unit 110, a storage unit 120, a communication unit 130, It may be configured to include at least one of the display unit 140, the sound output unit 150, and the control unit 160. At this time, the system 100 according to the present invention is not limited to the above-described components, and may further include components performing the same or similar roles as the functions described herein.

나아가, 얼굴 인식 시스템(100)은 출입 통제 게이트(10)와 연동되거나, 출입 통제 게이트(10)를 구성요소로서 포함할 수 있다. 나아가, 얼굴 인식 시스템(100)은 출입 통제 게이트(10)의 일 구성이 될 수 있음은 물론이다. 센서부(110)는, 시스템(100)에 구비된 센싱 모듈(예를 들어, 카메라(111), 열화상 카메라, 근접 센서, 적외선 센서 등)의 구성을 이용하여 사용자(또는 객체)를 센싱(또는 촬영)할 수 있다. Furthermore, the face recognition system 100 may be interlocked with the access control gate 10 or may include the access control gate 10 as a component. Furthermore, it goes without saying that the face recognition system 100 can be a component of the access control gate 10 . The sensor unit 110 senses (or senses) a user (or object) using a configuration of a sensing module (eg, a camera 111, a thermal imaging camera, a proximity sensor, an infrared sensor, etc.) provided in the system 100. or filming).

본 발명에서, “센싱한다”는 센싱 모듈에 따라 다양하게 해석할 수 있다. 일 예로, 카메라(111)를 이용하는 경우, 센싱한다는 것은 영상을 촬영하는 것으로 이해될 수 있다. 다른 예로, 근접 센서를 이용하는 경우, 사용자(또는 객체)의 존재를 감지하는 것으로 이해될 수 있다. 이하에서는, “센싱한다”는 “영상을 촬영(또는 획득)하다”와 혼용되어 사용될 수 있다. In the present invention, “sensing” can be interpreted in various ways depending on the sensing module. For example, when using the camera 111, sensing may be understood as capturing an image. As another example, when using a proximity sensor, it may be understood as sensing the presence of a user (or object). Hereinafter, “sensing” may be used interchangeably with “photographing (or obtaining) an image”.

센서부(110)는, 영상(예를 들어, RGB 이미지 프레임 및 열화상 이미지 프레임 중 적어도 하나)를 촬영할 수 있다. 이 때, 센서부(110)는 동영상(video) 및 이미지(Image) 중 적어도 하나의 형태로 영상을 촬영할 수 있다. The sensor unit 110 may capture an image (eg, at least one of an RGB image frame and a thermal image frame). At this time, the sensor unit 110 may capture an image in the form of at least one of a video and an image.

센서부(110)는 기 설정된 시간 주기 또는 사용자의 요청에 근거하여 영상을 촬영 할 수 있다. The sensor unit 110 may capture an image based on a preset time period or a user's request.

저장부(120)는 시스템(100)에 구비된(또는 삽입된) 메모리 또는 클라우드 서버를 이용하여, 본 발명에 따른 얼굴 인식 및/또는 사용자 인증과 관련된 데이터를 저장하도록 이루어질 수 있다. 예를 들어, 저장부(120)에는, 센서부(110)에서 센싱된 정보 또는 획득된 영상, 내지는 이들로부터 획득한 정보 등이 저장될 수 있다. The storage unit 120 may be configured to store data related to face recognition and/or user authentication according to the present invention using a memory provided (or inserted) in the system 100 or a cloud server. For example, the storage unit 120 may store information sensed by the sensor unit 110 or acquired images or information obtained from them.

나아가, 통신부(130)는 시스템(100)에 구비된 통신 모듈(예를 들어, 이동통신 모듈, 근거리 통신 모듈, 무선 인터넷 모듈, 위치정보 모듈, 방송 수신 모듈 등)의 구성을 이용하여, 서버(200), 외부 서버(미도시) 또는 클라우드 서버(미도시) 등과 데이터를 송수신할 수 있다.Furthermore, the communication unit 130 uses a configuration of communication modules (eg, a mobile communication module, a short-distance communication module, a wireless Internet module, a location information module, a broadcast reception module, etc.) provided in the system 100 to use a server ( 200), an external server (not shown), or a cloud server (not shown).

나아가, 디스플레이부(140)는 시각적 정보를 출력하도록 이루어지며, 제어부(160)의 제어 하에, 얼굴 인식 및 사용자 인증 중 적어도 하나와 관련된 정보를 출력하도록 이루어질 수 있다. Furthermore, the display unit 140 is configured to output visual information, and under the control of the controller 160, it may be configured to output information related to at least one of face recognition and user authentication.

예를 들어, 디스플레이부(140)는, 서버(200)로부터 수신된 인증 대상 사용자에 대한 사용자 인증 결과 정보에 근거하여, 사용자 인증 성공(또는 실패)과 관련된 정보를 출력하거나, 센서부(110)가 사용자를 촬영할 수 있도록 사용자의 위치를 안내하는 안내 정보를 출력하도록 제어될 수 있다. For example, the display unit 140 outputs information related to user authentication success (or failure) based on the user authentication result information for the user to be authenticated received from the server 200, or the sensor unit 110 may be controlled to output guide information for guiding the user's location so that the user can be photographed.

예를 들어, 인증 대상 사용자에 대한 인증 결과 정보에 근거하여, 디스플레이부(140)에는 인증 결과 또는 타겟 기능 수행과 관련된 안내 정보가 출력되도록 이루어질 수 있다. For example, based on the authentication result information on the user to be authenticated, the display unit 140 may display an authentication result or guide information related to performing a target function.

나아가, 음향 출력부(150)는 본 발명과 관련된 정보를 청각적으로 출력할 수 있다. Furthermore, the audio output unit 150 may audibly output information related to the present invention.

예를 들어, 제어부(160)의 제어 하에, 인증 대상 사용자에 대한 인증 결과 정보에 근거하여, 음향 출력부(150)는, 인증 결과 또는 타겟 기능 수행과 관련된 안내 정보를 음성으로 출력할 수 있다. For example, under the control of the control unit 160, based on authentication result information on the user to be authenticated, the audio output unit 150 may output an authentication result or guide information related to performing a target function in voice.

나아가, 제어부(160)는, 시스템(100)에 구비된 CPU 및 클라우드 서버 중 적어도 하나를 활용하여, 각 구성에 대한 제어 및 본 발명과 관련된 전반적인 제어를 수행할 수 있다. Furthermore, the controller 160 may utilize at least one of a CPU and a cloud server provided in the system 100 to perform control of each configuration and overall control related to the present invention.

제어부(160)는 본 발명을 수행하기 위하여, 시스템(100)의 구성 중 적어도 하나에 대한 제어 권한을 가질 수 있다. The controller 160 may have control authority for at least one of the components of the system 100 in order to carry out the present invention.

제어부(160)는 센서부(110)에서 센싱되거나 통신부(130)를 통해 수신된 정보에 기반하여, 사용자의 얼굴을 인식하고 사용자 인증을 위한 프로세스를 수행할 수 있다.The controller 160 may recognize a user's face and perform a process for user authentication based on information sensed by the sensor unit 110 or received through the communication unit 130 .

제어부(160)는 얼굴 인식부(161)를 포함할 수 있으며, 얼굴 인식부(161)은 얼굴 인식 기능을 갖는 알고리즘에 근거하여, 센서부(110)에서 촬영된 영상에서 얼굴을 인식할 수 있다. 나아가, 얼굴 인식부(161)는 인식된 얼굴과 관련된 일련의 제어를 수행할 수 있으며, 이에 대해서는 뒷부분에서 보다 구체적으로 살펴보도록 한다. 본 발명에서는 설명의 편의를 위하여 얼굴 인식부(161)와 제어부(160)의 구성을 구분하지 않고, 제어부(160)로 통일하여 설명하도록 한다.The controller 160 may include a face recognition unit 161, and the face recognition unit 161 may recognize a face in an image captured by the sensor unit 110 based on an algorithm having a face recognition function. . Furthermore, the face recognition unit 161 may perform a series of controls related to the recognized face, which will be discussed in more detail later. In the present invention, for convenience of description, the configuration of the face recognition unit 161 and the controller 160 is not distinguished, and the controller 160 is unified and described.

한편, 본 발명에 따른 시스템(100) 및 서버(200)는 서로 연동되어 동작함으로써, 타겟 기능에 대한 사용자 인증을 수행하고, 타겟 기능에 대한 사용자 인증 수행 결과에 기반하여 타겟 기능의 수행을 제어할 수 있다. Meanwhile, the system 100 and the server 200 according to the present invention operate in conjunction with each other to perform user authentication for the target function and control the execution of the target function based on the user authentication result for the target function. can

서버(200)는 시스템(100)으로부터의 사용자 인증 요청에 근거하여, 사용자 인증을 수행하고, 사용자 인증 결과를 시스템(100)으로 전송하는 역할을 수행할 수 있다.The server 200 may serve to perform user authentication based on a user authentication request from the system 100 and transmit a user authentication result to the system 100 .

한편, 본 발명에서 사용자 인증의 결과로서 수행되는 기능이 출입 통제 게이트(10)의 동작 제어인 경우, 인증 대상 사용자에 대한 사용자 인증 결과에 근거하여, 출입 통제 게이트(10)의 도어(door)가 열리도록 제어하거나, 열리지 않도록 제어될 수 있다. 출입 통제 게이트(10)는, 서버(200) 및 시스템(100) 중 적어도 하나로부터 전달되는 제어명령에 근거하여, 제어되도록 이루어질 수 있다.Meanwhile, in the present invention, when the function performed as a result of user authentication is the operation control of the access control gate 10, the door of the access control gate 10 is moved based on the user authentication result for the user to be authenticated. It can be controlled to open or not to open. The access control gate 10 may be controlled based on a control command transmitted from at least one of the server 200 and the system 100 .

한편, 도 1에 도시된 것과 같이, 본 발명에 따른 서버(200)는, 통신부(210), 저장부(220) 및 제어부(230) 중 적어도 하나를 포함하도록 구성될 수 있다. 이때 본 발명에 따른 서버(200)는 상술한 구성 요소로 제한되는 것은 아니며, 본 명세서의 설명에 따른 기능과 동일 또는 유사한 역할을 수행하는 구성요소를 더 포함할 수 있다.Meanwhile, as shown in FIG. 1 , the server 200 according to the present invention may be configured to include at least one of a communication unit 210, a storage unit 220, and a control unit 230. At this time, the server 200 according to the present invention is not limited to the above-described components, and may further include components performing the same or similar functions as those described herein.

통신부(210)는 시스템(100), 출입 통제 게이트(20), 외부 서버(미도시) 또는 클라우드 서버(미도시) 중 적어도 하나와 데이터를 송수신하도록 이루어질 수 있다. The communication unit 210 may transmit/receive data with at least one of the system 100, the access control gate 20, an external server (not shown), or a cloud server (not shown).

예를 들어, 통신부(210)는 시스템(100)으로부터 인증 대상 사용자의 얼굴이 포함된 영상 정보 또는 인증 대상이 되는 사용자에 대한 얼굴 정보를 수신하고, 인증 대상 사용자에 대한 사용자 인증 결과를 시스템(100)으로 전송할 수 있다. For example, the communication unit 210 receives image information including the face of the user to be authenticated or face information on the user to be authenticated from the system 100, and the user authentication result for the user to be authenticated is displayed in the system 100. ) can be transmitted.

저장부(220)는 사용자 인증과 관련된 다양한 정보가 저장되도록 이루어질 수 있다.The storage unit 220 may be configured to store various information related to user authentication.

저장부(220)는 기 등록된 얼굴과 관련된 참조 얼굴 특징 정보를 포함하는 사용자 DB(221) 및 시스템(100)와 관련된 정보를 포함하는 단말기 DB(222) 중 적어도 하나를 포함할 수 있다. The storage unit 220 may include at least one of a user DB 221 containing reference facial feature information related to a pre-registered face and a terminal DB 222 containing information related to the system 100 .

여기에서, 참조 얼굴 특징 정보는, 기 등록된 얼굴에 대한 이미지 및 기 등록된 얼굴에 대한 특징 정보(예를 들어, 특징 벡터 정보) 중 적어도 하나를 포함할 수 있다.Here, the reference facial feature information may include at least one of a pre-registered face image and pre-registered feature information (eg, feature vector information).

사용자 DB(221)에는, 개별 인물(또는 사람) 단위로, 각각의 인물에 대한 사용자 정보가 저장될 수 있다. 즉, 사용자 DB에는, 서로 다른 인물 마다 각각에 대응되는 사용자 정보가 매칭되어 저장될 수 있다.User information for each person may be stored in the user DB 221 in units of individual persons (or persons). That is, in the user DB, user information corresponding to each different person may be matched and stored.

여기에서, 사용자 정보는, 각각의 인물에 해당하는 사람의 이름, 생년월일, 주소, 전화번호, 메일 주소, 계정 정보, 사번, ID, 생체 정보(지문 정보, 홍채 정보 등), 참조 얼굴 특징 정보, 일정(스케줄)과 관련된 정보 중 적어도 하나를 포함할 수 있다.Here, the user information includes the name, date of birth, address, phone number, e-mail address, account information, employee number, ID, biometric information (fingerprint information, iris information, etc.), reference facial feature information, It may include at least one of schedule (schedule) related information.

참조 얼굴 특징 정보에 포함되는 참조 얼굴 이미지는, 특정 인물에 대한 얼굴 이미지로서, 하나 또는 복수 일 수 있다. 본 발명에서 사용자 DB는, “사용자와 관련된 정보”, “사용자의 신상정보” 또는 “사용자의 식별정보”라고도 명명될 수 있다.The reference face image included in the reference face feature information is a face image of a specific person, and may be one or more. In the present invention, the user DB may also be referred to as "user related information", "user personal information" or "user identification information".

한편, 단말기 DB(222)에는, 사용자 인증 프로세스를 수행하는 시스템(100)에 대한 정보가 저장될 수 있다. Meanwhile, information about the system 100 performing the user authentication process may be stored in the terminal DB 222 .

여기에서, 단말기에 대한 정보는, 각각의 시스템(100 또는 출입 통제 게이트(20))의 식별 정보(시리얼 넘버), 위치, 사용자 인증과 연동되는 타겟 기능과 관련된 정보 중 하나를 포함할 수 있다. Here, the information on the terminal may include one of identification information (serial number) of each system 100 or access control gate 20, location, and information related to a target function linked with user authentication.

한편, 제어부(230)는, 사용자 DB(221)에 저장된 참조 얼굴 특징 정보를 이용하여, 인증 대상 사용자에 대한 사용자 인증을 수행할 수 있다. Meanwhile, the controller 230 may perform user authentication on the user to be authenticated using reference facial feature information stored in the user DB 221 .

이 때, 사용자 인증은, 제어부(230)의 사용자 인증부(231)를 통해 수행될 수 있다. 즉, 사용자 인증부(231)는 제어부(230)의 일 역할을 수행하는 것으로 이해할 수 있다. 본 발명에서는, 제어부(230)와 사용자 인증부(231)를 별도로 구분하지 않고 혼용하여 사용하도록 한다. At this time, user authentication may be performed through the user authentication unit 231 of the control unit 230. That is, it can be understood that the user authentication unit 231 performs a role of the control unit 230 . In the present invention, the control unit 230 and the user authentication unit 231 are used interchangeably without being separately distinguished.

이하에서는, 위에서 살펴본 시스템(100) 및 서버(200)의 구성에 근거하여, 본 발명에서 얼굴 영상 진위 여부 판단이 이루어지는 기본 프로세스에 대하여 살펴보도록 한다. 본 발명은 정상 얼굴 영상과 스푸핑(spoofing) 영상을 구분(이하, ‘얼굴 영상 진위 여부 판단’이라 함)할 수 있는 얼굴 인식 시스템을 제공한다. Hereinafter, based on the configuration of the system 100 and the server 200 described above, a basic process in which authenticity of a face image is determined in the present invention will be described. The present invention provides a face recognition system capable of distinguishing between a normal face image and a spoofing image (hereinafter referred to as 'determining authenticity of a face image').

종래에는 정상 영상과 스푸핑 영상을 수집하고, 수집된 영상을 딥러닝 모델의 훈련에 활용하였다. 정상 영상과 스푸핑 영상으로 학습된 딥러닝 모델은 정상 영상과 스푸핑 영상을 구분할 수 있게 된다. 하지만, 이러한 방식은 연산 자원이 한정된 얼굴 인식 시스템(100) 내에서 자체적으로 얼굴 영상의 진위 여부를 판단하는 경우 활용이 어려우며, 활용하더라도 많은 연산량으로인해 빠른 얼굴 인식을 기대하기 어렵다. Conventionally, normal images and spoof images are collected, and the collected images are used for training of deep learning models. A deep learning model trained with normal and spoofed images can distinguish between normal and spoofed images. However, this method is difficult to utilize when determining authenticity of a face image by itself within the face recognition system 100 having limited computational resources, and even if utilized, it is difficult to expect fast face recognition due to a large amount of computation.

특히, 도 2를 참조하면, 얼굴에 액세서리를 착용하는 인구가 증가함에 따라, 얼굴 인증 시 촬영되는 영상은 얼굴에 액세서리를 착용하지 않은 영상(211)이거나, 얼굴을 가리는 악세서리(예를 들어, 마스크)를 착용한 영상(212) 중 어느 하나일 수 있다. 얼굴을 가리는 악세서리를 착용한 영상(212)을 통해 얼굴 인식을 수행하는 경우, 얼굴 영상의 진위 여부 판단이 어려울 수 있다.In particular, referring to FIG. 2 , as the population wearing accessories on the face increases, an image captured during face authentication is an image 211 in which the accessory is not worn on the face, or an accessory (eg, a mask) covering the face. ) may be any one of the images 212 worn. When face recognition is performed through the image 212 wearing an accessory covering the face, it may be difficult to determine authenticity of the face image.

또한, 도 3과 같이, 얼굴 인식 시스템(100)이 사용자가 집중되는 출입 통제 게이트(10)에 사용되는 경우, 얼굴 인식 시간의 지연은 많은 사용자(321 내지 333)의 불편을 초래할 수 있다. Also, as shown in FIG. 3 , when the face recognition system 100 is used for the access control gate 10 where users are concentrated, delay in face recognition time may cause inconvenience to many users 321 to 333 .

본 발명은 얼굴 인식 시스템(100)에 내장된 연산 자원만으로도 빠르고 정확한 스푸핑 탐지가 가능한 얼굴 인식 방법을 제공할 수 있다. 이하, 본 발명에 따른 얼굴 인식 방법에 대하여 구체적으로 설명한다.The present invention can provide a face recognition method capable of quickly and accurately detecting spoofing using computational resources built into the face recognition system 100 . Hereinafter, the face recognition method according to the present invention will be described in detail.

도 4는 본 발명에 따른 얼굴 인식 시스템의 제어 방법을 설명하기 위한 흐름도이고, 도 5는 얼굴 영상이 제1조건을 만족하는지 판단하는 방법을 나타내는 개념도이고, 도 6은 얼굴 영상이 제1조건을 만족하는지 판단하는 방법을 나타내는 흐름도이고, 도 7은 얼굴 영상이 제2조건을 만족하는지 판단하는 방법을 나타내는 개념도이고, 도 8은 얼굴 영상이 제2조건을 만족하는지 판단하는 방법을 나타내는 흐름도이다.4 is a flowchart illustrating a control method of a face recognition system according to the present invention, FIG. 5 is a conceptual diagram illustrating a method of determining whether a face image satisfies a first condition, and FIG. 7 is a conceptual diagram illustrating a method of determining whether a face image satisfies a second condition, and FIG. 8 is a flowchart showing a method of determining whether a face image satisfies a second condition.

먼저, 얼굴 영상을 수신하는 단계가 진행될 수 있다(S110).First, a step of receiving a face image may proceed (S110).

상술한 바와 같이, 본 발명에 따른 얼굴 인식 시스템(100)은 카메라를 통해 사용자의 얼굴을 촬영할 수 있다. 얼굴 인식 시스템(100)에 포함된 제어부 또는 서버(200)에 포함된 제어부(230)는 얼굴 인식 및 얼굴 영상의 진위 여부를 판단하기 위해 얼굴 영상을 수신할 수 있다. 본 명세서에서는 얼굴 인식 및 얼굴 영상의 진위 여부 판단이 얼굴 인식 시스템(100)에 내장된 제어부(160)에 의해 수행되는 것으로 설명하나, 이는 서버(200)에 내장된 제어부(230)에 의해 수행될 수 있음은 통상의 기술자에게 자명하다.As described above, the face recognition system 100 according to the present invention may capture a user's face through a camera. A controller included in the face recognition system 100 or a controller 230 included in the server 200 may receive a face image in order to recognize a face and determine whether the face image is authentic. In the present specification, it is described that face recognition and determination of authenticity of a face image are performed by the controller 160 built into the face recognition system 100, but this will be performed by the controller 230 built into the server 200. It is obvious to those skilled in the art.

한편, 상기 얼굴 영상은 RGB 카메라로 촬영된 영상된 RGB 이미지일 뿐 아니라, 열화상 카메라로 촬영된 열화상 이미지일 수 있다. Meanwhile, the face image may be a thermal image captured by a thermal imaging camera as well as an RGB image captured by an RGB camera.

일 실시 예에 있어서, 제어부(160)는 카메라로부터 얼굴 영상을 수신하고, 기저장된 알고리즘을 통해 상기 얼굴 영상에서 얼굴 영역을 검출하고, 검출된 영역만으로 별도의 영상을 생성할 수 있다. 즉, 본 발명은 카메라를 통해 촬영된 전체 이미지에서 일부 영역만 얼굴 영상의 진위 여부 판단에 활용할 수 있다. 본 명세서에서 얼굴 영상은 카메라를 통해 촬영된 원본 영상이거나, 상기 원본 영상에서 얼굴 영역을 검출하고, 검출된 영역으로 생성된 별도의 영상일 수 있다.In an embodiment, the controller 160 may receive a face image from a camera, detect a face region from the face image using a pre-stored algorithm, and generate a separate image using only the detected region. That is, in the present invention, only a part of the entire image captured by the camera can be used to determine authenticity of a face image. In this specification, the face image may be an original image captured by a camera or a separate image generated by detecting a face region from the original image and using the detected region.

다음으로, 얼굴 영상이 제1조건을 만족하는지 판단하는 단계가 수행될 수 있다(S120).Next, a step of determining whether the face image satisfies the first condition may be performed (S120).

종래 열화상 이미지를 이용한 스푸핑 탐지는 얼굴 영상을 구성하는 픽셀의 온도값의 평균값 또는 분산값에 기반하여 수행되었다. 이 경우, 사용자가 악세서리를 착용하게 되면 스푸핑 공격에 의한 입력값과 정상 얼굴 영상을 통해 산출되는 값이 비슷해져 스푸핑 영상과 정상 영상을 구분하기 어렵게 된다. 상기 제1조건을 활용한 스푸핑 탐지 방법은 인접한 픽셀간 패턴 분석을 기반으로 사용자가 악세서리를 착용하는 경우에도 높은 정확도록 스푸핑을 탐지할 수 있도록 한다.Spoofing detection using a conventional thermal image has been performed based on an average value or a variance value of temperature values of pixels constituting a face image. In this case, when the user wears the accessory, the input value by the spoofing attack and the value calculated through the normal face image become similar, making it difficult to distinguish the spoof image from the normal image. The spoofing detection method using the first condition can detect spoofing with high accuracy even when a user wears an accessory based on pattern analysis between adjacent pixels.

여기서, 상기 제1조건은 상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과와 관련된 조건일 수 있다. Here, the first condition may be a condition related to a comparison result of temperature values of each of pixels disposed along a predetermined direction with respect to a point of the face image.

상기 제1조건은 상기 얼굴 영상에 포함된 복수의 픽셀들 각각의 픽셀값과 관련된 것일 수 있다. 구체적으로, 상기 얼굴 영상은 복수의 픽셀을 구비할 수 있다. 복수의 픽셀 각각에는 픽셀의 좌표 정보 및 픽셀의 픽셀값이 매칭될 수 있다. 제어부는 상기 복수의 픽셀 각각에 대응되는 좌표 정보 및 픽셀값에 기반하여, 상기 얼굴 영상이 상기 제1조건을 만족하는지 판단할 수 있다.The first condition may be related to a pixel value of each of a plurality of pixels included in the face image. Specifically, the face image may include a plurality of pixels. For each of the plurality of pixels, coordinate information of the pixel and pixel value of the pixel may be matched. The controller may determine whether the face image satisfies the first condition based on coordinate information and pixel values corresponding to each of the plurality of pixels.

일 실시 예에 있어서, 복수의 픽셀 각각에 포함된 좌표 정보는 x축에 대응되는 x축 좌표 및 y축에 대응되는 y축 좌표를 포함할 수 있다.In one embodiment, the coordinate information included in each of the plurality of pixels may include an x-axis coordinate corresponding to the x-axis and a y-axis coordinate corresponding to the y-axis.

일 실시 예에 있어서, 복수의 픽셀 각각에 포함된 픽셀값은 R, G, B 각각에 대응되는 픽셀값을 포함할 수 있다.In an embodiment, the pixel values included in each of the plurality of pixels may include pixel values corresponding to each of R, G, and B.

한편, 얼굴 영상을 구성하는 픽셀들 각각에는 온도값이 매칭될 수 있다. 여기서, 픽셀들 각각에 매칭되는 온도값은 픽셀들 각각의 픽셀값에 대응될 수 있다. Meanwhile, a temperature value may be matched to each of the pixels constituting the face image. Here, a temperature value matched to each of the pixels may correspond to a pixel value of each of the pixels.

예를 들어, 상기 얼굴 영상이 열 화상 카메라에 의해 촬영된 영상인 경우, 상기 얼굴 영상에 포함된 픽셀값 각각은 온도에 대응된다. 예를 들어, 열 화상 카메라가 높은 온도를 가지는 물체를 촬영한 경우, 상기 물체에 대응되는 영상을 구성하는 픽셀은 붉은색과 가까운 픽셀값을 포함한다. 이와 달리, 열 화상 카메라가 낮은 온도를 가지는 물체를 촬영한 경우, 상기 물체에 대응되는 영상을 구성하는 픽셀은 푸른색과 가까운 픽셀값을 포함할 수 있다.For example, when the face image is captured by a thermal imaging camera, each pixel value included in the face image corresponds to a temperature. For example, when a thermal imaging camera captures an object having a high temperature, pixels constituting an image corresponding to the object include pixel values close to red. In contrast, when a thermal imaging camera captures an object having a low temperature, pixels constituting an image corresponding to the object may include pixel values close to blue.

제어부(160)는 특정 픽셀의 픽셀값과 기 저장된 픽셀값-온도값 테이블을 이용하여 상기 특정 픽셀에 대응되는 온도값을 산출할 수 있다. The controller 160 may calculate a temperature value corresponding to a specific pixel by using a pixel value of the specific pixel and a pre-stored pixel value-temperature value table.

이 경우, 각 픽셀값은 특정 온도값에 대응될 수 있다. 제어부(160)는 기준 픽셀의 픽셀값에 대응되는 온도값과 다른 픽셀의 픽셀값에 대응되는 온도값을 산출하고, 상기 두 온도값의 차이값을 산출할 수 있다. 본 명세서에서, 제어부(160)가 “두 픽셀을 비교한다” 또는 “두 픽셀 각각에 관련된 정보를 비교한다”함은 픽셀에 매칭된 온도값을 비교하는 것을 의미할 수 있다.In this case, each pixel value may correspond to a specific temperature value. The controller 160 may calculate a temperature value corresponding to a pixel value of a reference pixel and a temperature value corresponding to a pixel value of another pixel, and calculate a difference between the two temperature values. In this specification, when the controller 160 “compares two pixels” or “compares information related to each of the two pixels”, it may mean comparing temperature values matched to the pixels.

일 실시 예에 있어서, 제어부(160) 상기 얼굴 영상이 제1조건을 만족하는지 판단하기 위해, 기준 픽셀을 설정하고, 기준 픽셀의 위치를 기준으로 상기 복수의 픽셀 중 적어도 하나의 비교 대상 픽셀을 선택한 후, 기준 픽셀과 비교대상 픽셀의 온도값을 비교할 수 있다.In an embodiment, in order to determine whether the face image satisfies the first condition, the controller 160 sets a reference pixel and selects at least one comparison target pixel from among the plurality of pixels based on the position of the reference pixel. Afterwards, the temperature values of the reference pixel and the comparison target pixel may be compared.

여기서, 기준 픽셀 및 비교 대상 픽셀은 상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 위치한 픽셀들 중 어느 하나일 수 있다. Here, the reference pixel and the comparison target pixel may be any one of pixels located along a predetermined direction based on a point of the face image.

일 실시 예에 있어서, 상기 일 지점은 얼굴 영상의 중앙, 모서리, 임의의 지점 중 적어도 하나로 설정될 수 있으나, 이에 한정되지 않는다.일 실시 예에 있어서, 제어부(160)는 상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 위치한 복수의 픽셀 중 어느 하나를 기준 픽셀로 설정하고, 상기 기설정된 방향을 따라 위치한 복수의 픽셀 중 상기 기준 픽셀로부터 기설정된 거리에 위치하는 픽셀을 비교대상 픽셀로 설정할 수 있다. 이후, 제어부(160)는 기준 픽셀과 비교 대상 픽셀 각각의 온도값의 차이가 제1기준값을 넘는지 판단할 수 있다.In one embodiment, the one point may be set to at least one of a center, a corner, or an arbitrary point of the face image, but is not limited thereto. In one embodiment, the controller 160 may set one point of the face image. One of a plurality of pixels located along a predetermined direction based on is set as a reference pixel, and among a plurality of pixels located along the predetermined direction, a pixel located at a predetermined distance from the reference pixel is set as a comparison target pixel. can Thereafter, the controller 160 may determine whether a difference between the temperature values of the reference pixel and the comparison target pixel exceeds a first reference value.

한편, 제어부(160)는 상기 기준 픽셀이 상기 얼굴 영상의 일 지점으로부터 상기 기설정된 방향을 따라 멀어지도록, 상기 기준 픽셀을 재설정하며, 상술한 온도 비교 작업을 반복할 수 있다. 예를 들어, 제어부(160)는 얼굴 영상의 중앙에 위치한 픽셀을 기준 픽셀(이하, 초기에 설정된 기준 픽셀을 시작 픽셀이라 함)로 설정하고, 기준 픽셀이 상기 시작 픽셀로부터 좌측 상단 대각선 방향으로 멀어지도록, 상기 기준 픽셀을 변경할 수 있다.Meanwhile, the control unit 160 may reset the reference pixel so that the reference pixel is farther away from a point of the face image along the predetermined direction, and repeat the above-described temperature comparison operation. For example, the controller 160 sets a pixel located in the center of the face image as a reference pixel (hereinafter, an initially set reference pixel is referred to as a start pixel), and the reference pixel is far from the start pixel in the upper left diagonal direction. To achieve this, the reference pixel may be changed.

본 명세서에서, 특정 방향에 대한 온도 비교 작업은 상술한 바와 같이, 제어부(160)가 상기 기준 픽셀이 상기 얼굴 영상의 일 지점으로부터 상기 특정 방향을 따라 멀어지도록, 상기 기준 픽셀을 재설정하며, 상기 기준 픽셀과 상기 기준 픽셀로부터 기설정된 거리에 위치한 픽셀의 온도값의 차이를 산출하는 것을 의미할 수 있다.In the present specification, as described above, in the temperature comparison operation in a specific direction, the control unit 160 resets the reference pixel so that the reference pixel is farther away from a point of the face image along the specific direction, It may mean calculating a difference between a pixel and a temperature value of a pixel located at a preset distance from the reference pixel.

한편, 상기 비교 대상 픽셀은 현재 기준 픽셀 다음으로 기준 픽셀로 설정될 픽셀이거나, 현재 기준 픽셀 이전에 기준 픽셀로 설정되었던 픽셀 일 수 있다. 본 명세서에서는 비교 대상 픽셀로 현재 기준 픽셀 이전에 기준 픽셀로 설정되었던 픽셀인 경우를 설명하나 이에 한정되지 않는다.Meanwhile, the comparison target pixel may be a pixel to be set as a reference pixel next to the current reference pixel or a pixel set as a reference pixel before the current reference pixel. In this specification, a case in which the comparison target pixel is a pixel set as a reference pixel prior to the current reference pixel is described, but is not limited thereto.

한편, 상기 기설정된 방향은 복수 개 설정될 수 있다. 제어부(160)는 상기 얼굴 영상의 일 지점에 위치한 픽셀을 기준 픽셀로 설정하고, 복수의 방향 중 어느 한 방향을 따라 기준 픽셀을 변경하면서, 기준 픽셀 및 기준 픽셀과 인접한 픽셀 간 온도를 비교할 수 있다. 상기 어느 한 방향에 대한, 픽셀 간 온도 비교가 완료된 후, 제어부(160)는 상기 기준 픽셀을 상기 시작 픽셀로 재설정 한 후, 상기 어느 한 방향과 다른 방향을 따라 기준 픽셀을 변경하면서 온도 비교를 수행할 수 있다. 즉, 본 발명은 상기 얼굴 영상의 일 지점을 중심으로 일 방향을 따라 배치된 픽셀들의 온도 값을 비교하며, 상기 온도 비교 작업은 상기 얼굴 영상의 일 지점을 중심으로 복수의 방향에 대하여 수행될 수 있다. Meanwhile, a plurality of preset directions may be set. The controller 160 may set a pixel located at one point of the face image as a reference pixel, and compare temperatures between the reference pixel and pixels adjacent to the reference pixel while changing the reference pixel along one of a plurality of directions. . After the temperature comparison between pixels in one direction is completed, the control unit 160 resets the reference pixel to the starting pixel, and then performs temperature comparison while changing the reference pixel along the one direction and the other direction. can do. That is, the present invention compares the temperature values of pixels disposed along one direction centered on a point of the face image, and the temperature comparison operation may be performed in a plurality of directions centered on a point of the face image. there is.

제어부(160)는 상기 복수의 기설정된 방향 각각에 대하여 온도 비교 작업을 수행할 수 있다. 상술한 바와 같이, 제어부(160)는 상기 복수의 기설정된 방향 중 어느 하나에 대한 온도 비교 작업을 완료한 후, 상기 복수의 기설정된 방향 중 다른 하나에 대한 온도 비교 작업을 수행할 수 있다. 이와 달리, 제어부(160)는 상기 복수의 기설정된 방향 중 어느 하나의 방향에 대한 온도 비교 작업을 수행하는 중, 상기 복수의 기설정된 방향 중 다른 하나의 방향에 대한 온도 비교 작업을 수행할 수 있다. 즉, 복수의 기설정된 방향 각각에 대한 온도 비교 작업은 순차적으로 또는 동시에 이루어질 수 있다. The controller 160 may perform a temperature comparison operation for each of the plurality of preset directions. As described above, the controller 160 may perform a temperature comparison operation in another one of the plurality of preset directions after completing the temperature comparison operation in any one of the plurality of preset directions. Unlike this, the controller 160 may perform a temperature comparison operation in another one of the plurality of preset directions while performing the temperature comparison operation in any one of the plurality of preset directions. . That is, the temperature comparison operation for each of a plurality of predetermined directions may be performed sequentially or simultaneously.

예를 들어, 제어부(160)는 x방향에 대한 단위 증가량(이하, x축 변화량) 및 y방향에 대한 단위 증가량(이하, y축 변화량)을 설정하고, 상기 기준 픽셀의 좌표 정보에 포함된 x좌표에 상기 x축 변화량을 더한 값을 x 좌표로하고, 상기 기준 픽셀의 좌표 정보에 포함된 y좌표에 상기 y축 변화량을 더한 값을 y 좌표로하는 픽셀을 새로운 기준 픽셀로 설정하고, 상기 새로운 기준 픽셀이 설정되기전 기준 픽셀이었던 픽셀(이하, 이전 픽셀)과 상기 새로운 기준 픽셀 간 온도 비교를 수행할 수 있다. 즉, 제어부(160)는 상기 얼굴 영상의 일 지점을 중심으로 일 방향에 위치한 픽셀로 기준 픽셀을 재설정한 후, 재설정된 기준 픽셀과 이전 픽셀 간 온도 비교를 수행할 수 있다.For example, the controller 160 sets a unit increment amount in the x direction (hereinafter referred to as x-axis change amount) and a unit increment amount in the y-direction (hereinafter referred to as y-axis change amount), and sets the x included in the coordinate information of the reference pixel. Set a pixel whose x-coordinate is the value obtained by adding the x-axis change amount to the coordinates and whose y-coordinate is the value obtained by adding the y-axis change amount to the y-coordinate included in the coordinate information of the reference pixel as a new reference pixel, Temperature comparison between a pixel that was a reference pixel before setting the reference pixel (hereinafter referred to as a previous pixel) and the new reference pixel may be performed. That is, the controller 160 may reset a reference pixel to a pixel located in one direction centering on one point of the face image, and then perform temperature comparison between the reset reference pixel and the previous pixel.

나아가, 기준 픽셀은 상기 얼굴 영상의 일 지점을 기준으로 복수의 방향 각각으로 이동 할 수 있다. 구체적으로, 상기 기준 픽셀은 (x기준+x변화량, y기준+y변화량), (x기준-x변화량, y기준+y변화량), (x기준+x변화량, y기준-y변화량), (x기준-x변화량, y기준-y변화량) 중 적어도 하나의 기준에 따라 재설정될 수 있다. 여기서, x기준은 현재 기준 픽셀의 x좌표이고, y기준은 현재 기준 픽셀의 y좌표이다. Furthermore, the reference pixel may move in each of a plurality of directions based on a point of the face image. Specifically, the reference pixel is (x standard + x change, y standard + y change), (x standard - x change, y standard + y change), (x standard + x change, y standard - y change), ( It may be reset according to at least one criterion of x criterion-x change amount, y criterion-y change amount). Here, the x reference is the x coordinate of the current reference pixel, and the y reference is the y coordinate of the current reference pixel.

예를 들어, 제어부(160)는 (x기준+x변화량, y기준+y변화량) 기준에 따라 기준 픽셀을 재설정할 수 있다. 이 경우, 온도 비교 작업은 얼굴 영상의 일 지점을 기준으로 우측 상단 대각선 방향으로 수행될 수 있다.For example, the controller 160 may reset the reference pixel according to a criterion (x criterion + x change amount, y criterion + y change amount). In this case, the temperature comparison operation may be performed in a diagonal direction in the upper right corner based on a point of the face image.

일 실시 예에 있어서, 제어부(160)는 (x기준+x변화량, y기준+y변화량) 기준에 따라 기준 픽셀을 재설정하며 온도 비교 작업을 완료한 후, 기준 픽셀을 상기 시작 픽셀로 재설정 하고, (x기준-x변화량, y기준+y변화량) 기준에 따라 기준 픽셀을 재설정하며 온도 비교 작업을 수행할 수 있다. 이 경우, 온도 비교 작업은 얼굴 영상의 일 지점을 기준으로 우측 상단 대각선 방향으로 수행된 후, 상기 얼굴 영상의 일 지점을 기준으로 좌측 상단 대각선 방향으로 수행된다.In one embodiment, the control unit 160 resets the reference pixel according to a criterion (x criterion + x change amount, y criterion + y change amount), and after completing the temperature comparison operation, resets the reference pixel to the starting pixel, (x standard - x change amount, y standard + y change amount) Depending on the standard, the reference pixel can be reset and temperature comparison can be performed. In this case, the temperature comparison operation is performed in a diagonal direction in the upper right corner based on a point of the face image, and then in a diagonal direction in the upper left corner based on the point in the face image.

예를 들어, 도 5를 참조하면, 영역 A에 설정된 시작 픽셀(5번 픽셀)을 기준으로 네 개의 대각선 방향(1, 3, 7, 9번 픽셀이 위치한 방향) 각각으로 기준 픽셀을 이동 시키면서, 기준 픽셀과 이전 픽셀의 온도 값을 비교할 수 있다. 한편, 얼굴 영상에서 마스크가 인식되는 경우, 영역 A에 설정된 시작 픽셀(5번 픽셀)을 기준으로 두 개의 대각선 방향(1, 3번 픽셀이 위치한 방향) 각각으로 기준 픽셀을 이동 시키면서, 기준 픽셀과 이전 픽셀의 온도 값을 비교할 수 있다.For example, referring to FIG. 5, while moving reference pixels in four diagonal directions (directions where pixels 1, 3, 7, and 9 are located) based on the starting pixel (pixel 5) set in area A, The temperature value of the reference pixel and the previous pixel can be compared. On the other hand, when a mask is recognized in the face image, the reference pixel is moved in two diagonal directions (the direction where pixels 1 and 3 are located) based on the starting pixel (pixel 5) set in area A, and the reference pixel and The temperature value of the previous pixel can be compared.

여기서, 상기 x축 변화량, 및 y축 변화량은 같은 값이거나, 서로 다른 값일 수 있다. 또한, 상기 x축 변화량 및 y축 변화량은 얼굴 영상의 크기, 얼굴 영상의 가로 세로 비율, 얼굴 영상의 해상도 중 적어도 하나에 기반하여 설정될 수 있다. 이에 따라, 상기 x축 변화량 및 y축 변화량은 얼굴 영상의 크기, 비율 및 해상도에 따라 달라질 수 있다. Here, the x-axis change amount and the y-axis change amount may be the same value or different values. In addition, the amount of change in the x-axis and the amount of change in the y-axis may be set based on at least one of the size of the face image, the aspect ratio of the face image, and the resolution of the face image. Accordingly, the amount of change in the x-axis and the amount of change in the y-axis may vary according to the size, ratio, and resolution of the face image.

상기 x축 변화량 및 y축 변화량의 비율에 따라 상기 기준 픽셀의이동 방향이 달라질 수 있다. The movement direction of the reference pixel may vary according to the ratio of the x-axis change amount and the y-axis change amount.

일 실시 예에 있어서, x축 변화량 및 y축 변화량 각각은 0이 아닐 수 있다. 이에 따라, 상기 기준 픽셀이 이동하는 방향은 상기 얼굴 영상의 길이 방향 또는 상기 길이 방향에 수직한 방향과 교차할 수 있다. 보다 구체적으로, 상기 기준 픽셀과 비교 대상 픽셀을 잇는 가상의 선은 상기 영상 정보에 대응되는 가상의 x축 및 y축 각각에 평행하지 않게 된다. 쉽게 말해, 상기 기준 픽셀은 얼굴 영상의 일 지점을 중심으로 대각선 방향으로 진행하면서 온도 비교를 수행할 수 있다. In one embodiment, each of the x-axis change amount and the y-axis change amount may not be 0. Accordingly, the direction in which the reference pixel moves may cross the longitudinal direction of the face image or a direction perpendicular to the longitudinal direction. More specifically, a virtual line connecting the reference pixel and the comparison target pixel is not parallel to each of the virtual x-axis and y-axis corresponding to the image information. In other words, the reference pixel may perform temperature comparison while proceeding in a diagonal direction centered on a point of the face image.

일 실시 예에 있어서, 제어부(160)는 얼굴 영상의 일 지점을 중심으로 기설정된 수의 방향에 대한 온도 비교 작업이 완료되거나, 기설정된 기준 픽셀 변경 규칙에 따라 기준 픽셀을 변경할 경우, 더 이상 변경할 픽셀이 남아있지 않을 때까지 비교작업을 수행할 수 있다. 이에 따라, 기준 픽셀과 이전 픽셀간 온도값의 차이값이 산출되며, 상기 차이값은 복수개일 수 있다. In an embodiment, the controller 160 may no longer change the temperature when a temperature comparison operation in a preset number of directions centered on a point of the face image is completed or when a reference pixel is changed according to a preset reference pixel change rule. The comparison can be performed until there are no pixels left. Accordingly, a difference value between the temperature value of the reference pixel and the previous pixel is calculated, and the difference value may be plural.

제어부(160)는 상기 복수개의 차이값 중 최대값이 기설정된 제1기준값보다 큰 경우, 상기 얼굴 영상이 상기 제1조건을 만족하는 것으로 판단할 수 있다. The controller 160 may determine that the face image satisfies the first condition when a maximum value among the plurality of difference values is greater than a preset first reference value.

예를 들어, 제어부(160)는 얼굴 영상의 일 지점을 기준 픽셀(시작 픽셀)로 설정한 후, 시작 픽셀을 중심으로 일 방향을 따라 기준 픽셀을 변경하면서, 기준 픽셀과 이전 픽셀의 온도를 비교한 후, 온도값 차이값이 제1기준값을 넘는 기준 픽셀이 한 개 이상 존재하는 경우, 상기 얼굴 영상이 제1조건을 만족하는 것으로 판단할 수 있다.For example, after setting a point of the face image as a reference pixel (start pixel), the controller 160 compares the temperature of the reference pixel and the previous pixel while changing the reference pixel along one direction centering on the start pixel. After that, if one or more reference pixels having a temperature difference value exceeding the first reference value exist, it may be determined that the face image satisfies the first condition.

나아가, 제어부(160)는 얼굴 영상의 일 지점을 기준 픽셀(시작 픽셀)로 설정한 후, 시작 픽셀을 중심으로 일 방향을 따라 기준 픽셀을 변경하면서, 기준 픽셀과 이전 픽셀의 온도를 비교한다. 상기 일 방향에 대한 온도 비교 작업이 완료되면, 제어부(160)는 기준 픽셀을 상기 시작 픽셀로 재설정하고, 상기 일 방향과 다른 방향을 따라 기준 픽셀을 변경하면서, 기준 픽셀과 이전 픽셀의 온도를 비교한다. 제어부(160)는 기 설정된 복수의 방향에 대한 온도 비교가 완료된 후, 온도값 차이값이 제1기준값을 넘는 기준 픽셀이 한 개 이상 존재하는 경우, 상기 얼굴 영상이 제1조건을 만족하는 것으로 판단할 수 있다.Furthermore, after setting a point of the face image as a reference pixel (start pixel), the controller 160 compares the temperature of the reference pixel and the previous pixel while changing the reference pixel along one direction centering on the start pixel. When the temperature comparison operation in one direction is completed, the control unit 160 resets the reference pixel to the starting pixel and compares the temperature of the reference pixel and the previous pixel while changing the reference pixel along the one direction and the other direction. do. The controller 160 determines that the face image satisfies the first condition when there is one or more reference pixels having temperature difference values greater than the first reference value after temperature comparison in a plurality of preset directions is completed. can do.

한편, 상기 기설정된 방향의 수는 상기 얼굴 영상에 기설정된 객체가 존재하는지 여부에 따라 달라질 수 있다. 구체적으로, 제어부(160)는 상기 얼굴 영상에 기설정된 객체가 존재하는지 판단할 수 있다. Meanwhile, the number of preset directions may vary depending on whether a preset object exists in the face image. Specifically, the controller 160 may determine whether a preset object exists in the face image.

예를 들어, 제어부(160)는 상기 얼굴 영상의 특정 영역에 포함된 픽셀들 각각에 매칭된 온도값에 기반하여 기설정된 객체의 존재여부를 판단할 수 있다. 구체적으로, 제어부(160)는 상기 특정 영역에 포함된 픽셀들 각각에 매칭된 온도값에 기반하여 산출된 평균 온도 및 분산값에 기반하여 기설정된 객체의 존재여부를 판단할 수 있다. For example, the controller 160 may determine whether a preset object exists based on a temperature value matched to each of pixels included in a specific region of the face image. Specifically, the controller 160 may determine whether a preset object exists based on an average temperature and variance values calculated based on temperature values matched to each of the pixels included in the specific area.

여기서, 기설정된 객체는 얼굴에 착용하는 악세서리에 대응되는 객체일 수 있다. 예를 들어, 상기 기설정된 객체는 마스크에 대응되는 객체일 수 있다.Here, the preset object may be an object corresponding to an accessory worn on the face. For example, the preset object may be an object corresponding to a mask.

제어부(160)는 상기 얼굴 영상에서 기 설정된 객체가 인식되는 경우, 얼굴 영상의 일 지점을 기준으로 온도 비교를 수행하는 방향의 수를 상대적으로 작게 설정하고, 상기 얼굴 영상에서 기 설정된 객체가 인식되지 않는 경우, 얼굴 영상의 일 지점을 기준으로 온도 비교를 수행하는 방향의 수를 상대적으로 크게 설정할 수 있다.When a preset object is recognized in the face image, the controller 160 sets the number of directions in which temperature comparison is performed based on a point of the face image to be relatively small, and the preset object is not recognized in the face image. If not, the number of directions in which temperature comparison is performed based on one point of the face image may be set relatively large.

예를 들어, 제어부(160)는 상기 얼굴 영상에서 기 설정된 객체가 인식되는 경우, 시작 픽셀을 중심으로 (x기준+x변화량, y기준+y변화량), (x기준-x변화량, y기준+y변화량) 각각의 기준으로 기준 픽셀을 이동시키며 온도 비교를 수행할 수 있다. 즉, 제어부(160)는 상기 얼굴 영상에서 기 설정된 객체가 인식되는 경우, 상기 얼굴 영상의 일 지점을 기준으로 좌측 상단 대각선 방향으로 기준 픽셀을 이동하며 온도 비교를 수행한 후, 상기 일 지점을 기준으로 우측 상단 대각선 방향으로 기준 픽셀을 이동하며 온도 비교를 수행할 수 있다. For example, when a predetermined object is recognized in the face image, the control unit 160 controls (x standard + x change amount, y standard + y change amount), (x standard - x change amount, y standard + y change amount) The temperature comparison can be performed by moving the reference pixel for each criterion. That is, when a preset object is recognized in the face image, the control unit 160 moves a reference pixel in a diagonal direction in the upper left corner based on a point of the face image, performs temperature comparison, and then uses the point as a reference point. By moving the reference pixel in the upper right diagonal direction, the temperature comparison can be performed.

이와 달리, 상기 얼굴 영상에서 기 설정된 객체가 인식되는 경우, 시작 픽셀을 중심으로 (x기준+x변화량, y기준+y변화량), (x기준-x변화량, y기준+y변화량), (x기준+x변화량, y기준-y변화량), (x기준-x변화량, y기준-y변화량) 각각의 기준으로 기준 픽셀을 이동시키며 온도 비교를 수행할 수 있다. 즉, 제어부(160)는 상기 얼굴 영상의 일 지점을 기준으로 좌측 상단 대각선, 우측 상단 대각선, 좌측 하단 대각선, 우측 하단 대각선 각각의 방향으로 온도 비교를 수행할 수 있다.In contrast, when a preset object is recognized in the face image, centered on the start pixel (x standard + x change amount, y standard + y change amount), (x standard - x change amount, y standard + y change amount), (x Temperature comparison may be performed while moving a reference pixel for each criterion of reference + x change, y reference - y change, (x reference - x change, y reference - y change). That is, the controller 160 may perform temperature comparison in each of the upper left diagonal, upper right diagonal, lower left diagonal, and lower right diagonal directions based on a point of the face image.

도 6을 참조하면, 제어부(160)는 얼굴 영상 수신(S210) 후 기준 픽셀(시작 픽셀 및 기준 방향(예를 들어, 좌측 상단 대각선 방향)을 설정(S220)한다. 한편, 제어부(160)는 얼굴 영상에서 마스크가 검출되는지 판단(S220)한다.Referring to FIG. 6 , after receiving a face image (S210), the controller 160 sets a reference pixel (start pixel) and a reference direction (eg, diagonal direction in the upper left corner) (S220). Meanwhile, the controller 160 It is determined whether a mask is detected in the face image (S220).

상기 얼굴 영상에서 마스크가 검출되는 경우, 제어부(160)는 시작 픽셀을 기준으로 좌측 대각선 방향으로 기준 픽셀을 이동(S241)하면서 온도 비교(S242)를 수행한다. 좌측 대각선 방향으로 변경 가능한 픽셀이 없는 경우(S243), 제어부(160)는 기 설정된 2개(예를 들어, 좌측 상단 대각선 방향, 우측 상단 대각선 방향)의 방향에 대하여 온도 비교 작업이 수행되었는지 판단한다. 제어부(160)는 좌측 상단 대각선 방향, 우측 상단 대각선 방향 각각에 대한 온도 비교가 완료되는 경우, 작업을 종료한다. 즉, 상기 얼굴 영상에서 상기 기설정된 객체가 인식되는 경우, 상기 얼굴 영상의 일 지점의 하측 방향에 대한 온도 비교 작업이 수행되지 않을 수 있다.When a mask is detected in the face image, the controller 160 performs temperature comparison (S242) while moving a reference pixel in a left diagonal direction with respect to the start pixel (S241). If there is no pixel that can be changed in the left diagonal direction (S243), the controller 160 determines whether the temperature comparison operation has been performed for two preset directions (eg, upper left diagonal direction and upper right diagonal direction). . The controller 160 ends the operation when the temperature comparison in the upper left diagonal direction and the upper right diagonal direction are respectively completed. That is, when the preset object is recognized in the face image, a temperature comparison operation may not be performed with respect to a lower direction of a point of the face image.

이와 달리, 상기 얼굴 영상에서 마스크가 검출되지 않는 경우, 제어부(160)는 시작 픽셀을 기준으로 좌측 대각선 방향으로 기준 픽셀을 이동(S251)하면서 온도 비교(S252)를 수행한다. 좌측 대각선 방향으로 변경 가능한 픽셀이 없는 경우(S253), 제어부(160)는 기 설정된 4개(예를 들어, 좌측 상단 대각선 방향, 우측 상단 대각선 방향, 좌측 하단 대각선 방향, 우측 하단 대각선 방향)의 방향에 대하여 온도 비교 작업이 수행되었는지 판단한다. 제어부(160)는 좌측 상단 대각선 방향, 우측 상단 대각선 방향, 좌측 하단 대각선 방향, 우측 하단 대각선 방향 각각에 대한 온도 비교가 완료되는 경우, 작업을 종료한다. In contrast, when the mask is not detected in the face image, the controller 160 performs temperature comparison (S252) while moving a reference pixel in a left diagonal direction with respect to the start pixel (S251). If there is no pixel changeable in the left diagonal direction (S253), the controller 160 selects four preset directions (eg, upper left diagonal direction, upper right diagonal direction, lower left diagonal direction, lower right diagonal direction) It is determined whether the temperature comparison operation has been performed for . The controller 160 ends the operation when the temperature comparison in the upper left diagonal direction, the upper right diagonal direction, the lower left diagonal direction, and the lower right diagonal direction are respectively completed.

상술한 바와 같이, 도 6에서, N은 M보다 작은 정수일 수 있다. 즉, 제어부(160)는 얼굴 영상에서 기설정된 객체가 인식되지 않는 경우, 얼굴 영상에서 기설정된 객체가 인식되는 경우보다 많은 방향에 대한 온도 비교 작업을 수행할 수 있다.As described above, in FIG. 6, N may be an integer smaller than M. That is, when a preset object is not recognized from the face image, the controller 160 may perform a temperature comparison operation in more directions than when a preset object is recognized from the face image.

상술한 바와 같이, 본 발명은 얼굴 영상의 일 지점을 기준으로 특정 방향으로 온도 비교 작업을 수행함으로써, 간단하고 빠르면서도 높은 정확도로 스푸핑을 탐지할 수 있게 된다. As described above, the present invention can detect spoofing simply, quickly, and with high accuracy by performing a temperature comparison operation in a specific direction based on a point of a face image.

얼굴 영상의 일 지점 및, 비교를 수행하는 방향은 상황에 따라 다르게 설정될 수 있다. 특히 사용자의 체온와 온도가 상이한 신체 일부(예를 들어, 머리카락) 및 사용자가 착용한 악세서리(예를 들어, 모자, 귀걸이, 마스크 등)에 의해 스푸핑 탐지 오류가 발생할 수 있으므로 이를 고려할 수 있다. 예를 들어, 모자, 귀걸이, 마스크 등의 얼굴 영상의 일 지점(예를 들어, 얼굴의 중심)을 기준으로 상하좌우 방향에 악세서리가 있는 경우에는 얼굴을 중심을 기준으로 대각선 방향을 선택하는 것이 효과적일 수 있다. 상술한 바와 같이, 본 발명은 상기 제1조건을 활용하여 스푸핑을 탐지할 수 있다. A point of the face image and a direction in which comparison is performed may be set differently according to circumstances. In particular, spoofing detection errors may occur due to body parts (eg, hair) having different temperatures from the user's body temperature and accessories worn by the user (eg, hats, earrings, masks, etc.). For example, if there are accessories such as hats, earrings, and masks in the up, down, left, and right directions based on a point (for example, the center of the face) of a face image, it is effective to select a diagonal direction based on the center of the face. can be As described above, the present invention can detect spoofing by utilizing the first condition.

한편, 상술한 제1조건을 활용한 스푸핑 탐지 방법은 픽셀간 패턴을 분석하기 때문에 정면 얼굴 영상에 대해서는 정확도가 매우 높지만, 얼굴이 회전하는 케이스에 대해서 취약점이 존재할 수 있다. 본 발명은 상기 제1조건을 활용한 스푸핑 탐지 방법을 보완하기 위한, 제2조건을 활용한 스푸핑 탐지 방법을 제공할 수 있다.On the other hand, the spoofing detection method using the above-described first condition analyzes the inter-pixel pattern, so the accuracy is very high for the frontal face image, but there may be a weakness in the case where the face rotates. The present invention can provide a spoofing detection method using a second condition to complement the spoofing detection method using the first condition.

다음으로, 상기 얼굴 영상이 제2조건을 만족하는지 판단하는 단계가 수행될 수 있다(S130). Next, a step of determining whether the face image satisfies the second condition may be performed (S130).

여기서, 상기 제2조건은 상기 얼굴 영상에 포함된 픽셀과 관련된 조건일 수 있다. 구체적으로, 상기 제2조건은 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과와 관련된 것일 수 있다.Here, the second condition may be a condition related to pixels included in the face image. Specifically, the second condition may be related to a comparison result between a temperature value of a pixel constituting one region of the face image and a temperature value of a pixel constituting another region of the face image.

제어부(160)는 기 설정된 알고리즘을 기반으로 상기 얼굴 영상이 상기 제2조건을 만족하는지 여부를 판단할 수 있다.The controller 160 may determine whether the face image satisfies the second condition based on a preset algorithm.

제어부(160)는 얼굴 영상을 구성하는 복수의 픽셀 각각에 매칭된 온도값을 산출하고, 복수의 온도값 중 특정 온도값을 비교한 후, 비교 결과에 따라 상기 얼굴 영상이 제2조건을 만족하는지 판단할 수 있다. The controller 160 calculates a temperature value matched to each of a plurality of pixels constituting the face image, compares a specific temperature value among the plurality of temperature values, and determines whether the face image satisfies the second condition according to the comparison result. can judge

제어부(160)는 상기 얼굴 영상을 복수의 영역으로 분할하고, 상기 복수의 영역 각각을 대표하는 대표 온도값을 산출할 수 있다. The controller 160 may divide the face image into a plurality of regions and calculate a representative temperature value representing each of the plurality of regions.

상기 대표 온도값은 특정 영역에 포함된 복수의 픽셀 각각에 매칭된 온도값 중 최대값 또는 최소값일 수 있다.The representative temperature value may be a maximum value or a minimum value among temperature values matched to each of a plurality of pixels included in a specific area.

한편, 제어부(160)는 복수의 영역 각각의 대표 온도값을 비교하고, 비교 결과에 기반하여 상기 얼굴 영상의 제2조건 만족 여부를 판단할 수 있다. Meanwhile, the controller 160 may compare representative temperature values of each of a plurality of regions and determine whether the face image satisfies the second condition based on the comparison result.

일 실시 예에 있어서, 제어부(160)는 복수의 영역 각각의 대표 온도값 중 최대값과 최소값의 차이가 제2기준값을 초과하는 경우, 상기 얼굴 영상이 제2조건을 만족하는 것으로 판단할 수 있다. In an embodiment, the controller 160 may determine that the face image satisfies the second condition when a difference between a maximum value and a minimum value among the representative temperature values of each of the plurality of regions exceeds a second reference value. .

한편, 제어부(160)는 상기 복수의 영역을 설정함에 있어서, 복수의 영역 중 어느 하나가 상기 얼굴 영상의 좌측을 포함하고, 다른 하나가 상기 얼굴 영상의 우측을 포함하며, 또 다른 하나가 상기 얼굴 영상의 중앙을 포함하도록 설정할 수 있다. 이에 따라, 상기 복수의 영역의 수는 최소 3개일 수 있다. Meanwhile, in setting the plurality of regions, the controller 160 includes one of the plurality of regions including the left side of the face image, another region including the right side of the face image, and another region including the face image. It can be set to include the center of the image. Accordingly, the number of the plurality of areas may be at least three.

예를 들어, 상기 복수의 영역이 3개인 경우, 제어부(160)는 중앙 영역의 대표 온도값이 가장 크고, 좌측 영역 및 우측 영역 각각의 대표 온도값 중 작은 값과 상기 중앙 영역의 대표 온도값 간 차이값이 제2기준값을 초과하는 경우, 상기 얼굴 영상이 제2조건을 만족하는 것으로 판단할 수 있다.For example, when there are three of the plurality of regions, the controller 160 controls the interval between the representative temperature value of the central region and the smaller of the representative temperature values of the left region and the right region and the representative temperature value of the central region. When the difference value exceeds the second reference value, it may be determined that the face image satisfies the second condition.

다른 예를 들어, 제어부(160)는 좌측 영역의 대표 온도값이 가장 크고, 우측 영역의 대표 온도값이 가장 작고, 상기 좌측 영역의 대표 온도값과 상기 우측 영역의 대표 온도값의 차이가 제2기준값을 초과하는 경우, 상기 얼굴 영상이 제2조건을 만족하는 것으로 판단할 수 있다.For another example, the controller 160 may determine that the representative temperature value of the left region is the largest, the representative temperature value of the right region is the smallest, and the difference between the representative temperature value of the left region and the representative temperature value of the right region is the second. When the reference value is exceeded, it may be determined that the face image satisfies the second condition.

다른 예를 들어, 제어부(160)는 우측 영역의 대표 온도값이 가장 크고, 좌측 영역의 대표 온도값이 가장 작고, 상기 우측 영역의 대표 온도값과 상기 좌측 영역의 대표 온도값의 차이가 제2기준값을 초과하는 경우, 상기 얼굴 영상이 제2조건을 만족하는 것으로 판단할 수 있다.For another example, the controller 160 may determine that the representative temperature value of the right region is the largest, the representative temperature value of the left region is the smallest, and the difference between the representative temperature value of the right region and the representative temperature value of the left region is the second. When the reference value is exceeded, it may be determined that the face image satisfies the second condition.

한편, 상기 복수의 영역 각각은, 상기 얼굴 방향의 상측에서 하측 방향으로 연장되도록 설정되며, 상기 복수의 영역이 연장되는 길이는 상기 얼굴 영상에서 상기 기설정된 객체가 인식되는지 여부 및 상기 기설정된 객체가 인식되는 영역의 위치 중 적어도 하나에 기반하여 설정될 수 있다. Meanwhile, each of the plurality of regions is set to extend from the upper side to the lower side in the face direction, and the length of the plurality of regions extends depending on whether the preset object is recognized in the face image and whether the preset object is It may be set based on at least one of the positions of the recognized area.

일 실시 예에 있어서, 상기 영역의 길이는 상기 얼굴 영상에서 기설정된 객체가 인식되는지 여부에 따라 달라질 수 있다. 구체적으로, 제어부(160)는 상기 얼굴 영상에서 기설정된 객체가 인식되는 경우, 상기 인식된 객체가 위치하는 영역이 상기 복수의 영역에서 제외되도록, 상기 복수의 영역을 설정할 수 있다. In an embodiment, the length of the region may vary depending on whether a predetermined object is recognized in the face image. Specifically, when a preset object is recognized in the face image, the controller 160 may set the plurality of regions so that the region where the recognized object is located is excluded from the plurality of regions.

예를 들어, 도 7을 참조하면, 얼굴 영상(710)의 하측에서 기설정된 객체가 인식되는 경우, 상기 복수의 영역(721, 722, 723)은 상기 얼굴 영상의 상측에만 설정될 수 있다. For example, referring to FIG. 7 , when a predetermined object is recognized on the lower side of the face image 710, the plurality of regions 721, 722, and 723 may be set only on the upper side of the face image.

다른 예를 들어, 제어부(160)는 상기 얼굴 영상에서 기설정된 객체가 인식되는지 여부에 상관없이, 상기 얼굴 영상의 상측에만 영역을 설정할 수 있다. 상기 복수의 영역의 길이는 얼굴 영상 전체 길이의 일정 비율(예를 들어, 절반)로 설정될 수 있다.For another example, the controller 160 may set an area only on the upper side of the face image regardless of whether a preset object is recognized in the face image. Lengths of the plurality of regions may be set to a predetermined ratio (eg, half) of the total length of the face image.

도 8을 참조하면, 제어부(160)는 얼굴 영상 수신(S310) 후, 얼굴 영상을 복수의 영역으로 분할(S320)한다. 이후, 제어부(160)는 상기 복수의 영역별 대표 온도값을 산출(S330)하고, 상기 복수의 영역별 대표 온도값 중 최대값과 최소값의 차이값이 제2기준값을 초과하는지 판단(S340)한다. 판단 결과, 복수의 영역별 대표 온도값 중 최대값과 최소값의 차이값이 제2기준값을 초과하는 경우, 상기 얼굴 영상이 제2조건을 만족하는 것으로 판단할 수 있다. Referring to FIG. 8 , after receiving a face image (S310), the controller 160 divides the face image into a plurality of regions (S320). Thereafter, the controller 160 calculates the representative temperature values for each of the plurality of regions (S330), and determines whether a difference between the maximum value and the minimum value among the plurality of representative temperature values for each region exceeds a second reference value (S340). . As a result of the determination, when the difference between the maximum value and the minimum value among the representative temperature values for each region exceeds the second reference value, it may be determined that the face image satisfies the second condition.

마지막으로, 상기 제1 및 제2조건 각각에 대응되는 판단 결과에 근거하여, 상기 얼굴 영상에 대한 진위 여부를 판단하는 단계가 수행된다(S140).Finally, based on the determination result corresponding to each of the first and second conditions, a step of determining authenticity of the face image is performed (S140).

상술한 제2조건을 활용한 스푸핑 탐지 방법은 본 발명에 따른 스푸핑 탐지에 독립적으로 활용되거나, 제1조건을 활용한 스푸핑 탐지 방법과 함께 활용될 수 있다. 즉, 제어부(160)는 수신된 얼굴 영상이 제1 및 제2조건 중 어느 하나를 만족하는 경우, 얼굴 영상이 정상인 것으로 판단하거나, 수신된 얼굴 영상이 상기 제1 및 제2조건 모두 만족하는 경우에만 얼굴 영상이 정상인 것으로 판단할 수 있다.The spoofing detection method using the second condition described above may be used independently for spoofing detection according to the present invention or may be used together with the spoofing detection method using the first condition. That is, when the received face image satisfies any one of the first and second conditions, the controller 160 determines that the face image is normal, or when the received face image satisfies both the first and second conditions. It can be determined that the face image is normal only for .

상술한 바와 같이, 본 발명에 따른 얼굴 인식 시스템 및 이의 제어방법은, 얼굴 영상에 포함된 픽셀값 만으로, 얼굴 영상의 진위 여부를 판단하기 때문에 별도의 연산 자원 및 인공지능 모델 없이도 빠른 진위 여부 판단이 가능해질 수 있다.As described above, since the face recognition system and its control method according to the present invention determine authenticity of a face image only with pixel values included in the face image, fast authenticity determination can be made without separate computational resources and artificial intelligence models. it could be possible

또한, 본 발명에 따른 얼굴 인식 시스템 및 이의 제어 방법은, 얼굴 영상에 포함된 인접 픽셀간 비교 결과 및 얼굴이 위치하는 영영과 위치하지 않는 영역간 비교 결과를 모두 참조하여 얼굴 영상의 진위 여부를 판단하기 때문에, 스푸링 영상과 얼굴을 일부 가리는 악세서리를 착용한 얼굴을 촬영한 정상 영상을 정확하게 구분할 수 있게 된다.In addition, the face recognition system and method for controlling the same according to the present invention refer to both the comparison result between adjacent pixels included in the face image and the comparison result between the area where the face is located and the area where the face is not located to determine the authenticity of the face image. Therefore, it is possible to accurately distinguish between a spoofing image and a normal image obtained by photographing a face wearing an accessory that partially covers the face.

상기 제2조건을 활용한 스푸핑 탐지 방법의 경우 얼굴 영상의 영역별 온도 차이를 활용하기 때문에, 상기 제1조건을 활용한 스푸핑 탐지 방법 대비 평균적으로 높은 정확도를 가질 수 있다. 다만, 얼굴의 정면이 정확하게 촬영된 영상의 경우, 상기 제1조건을 활용한 스푸핑 탐지 방법이 상기 제2조건을 활용한 스푸핑 탐지 방법보다 높은 정확도를 가지게 된다. 상기 제1 및 제2조건을 함께 활용하는 경우, 별도의 연산 자원 및 인공지능 모델 없이도 빠르고 정확하게 얼굴 영상의 진위 여부 판단할 수 있게 된다.Since the spoofing detection method using the second condition utilizes the temperature difference for each region of the face image, it can have higher average accuracy than the spoofing detection method using the first condition. However, in the case of an image in which the front of the face is accurately photographed, the spoofing detection method using the first condition has higher accuracy than the spoofing detection method using the second condition. When the first and second conditions are used together, it is possible to quickly and accurately determine the authenticity of a face image without separate computational resources and an artificial intelligence model.

한편, 컴퓨터가 읽을 수 있는 매체는, 컴퓨터 시스템에 의하여 읽혀질 수 있는 데이터가 저장되는 모든 종류의 기록장치를 포함한다. 컴퓨터가 읽을 수 있는 매체의 예로는, HDD(Hard Disk Drive), SSD(Solid State Disk), SDD(Silicon Disk Drive), ROM, RAM, CD-ROM, 자기 테이프, 플로피 디스크, 광 데이터 저장 장치 등이 있다. On the other hand, the computer-readable medium includes all types of recording devices in which data that can be read by a computer system is stored. Examples of computer-readable media include Hard Disk Drive (HDD), Solid State Disk (SSD), Silicon Disk Drive (SDD), ROM, RAM, CD-ROM, magnetic tape, floppy disk, optical data storage device, etc. there is

나아가, 컴퓨터가 읽을 수 있는 매체는, 저장소를 포함하며 단말기가 통신을 통하여 접근할 수 있는 서버 또는 클라우드 저장소일 수 있다. 이 경우, 컴퓨터는 유선 또는 무선 통신을 통하여, 서버 또는 클라우드 저장소로부터 본 발명에 따른 프로그램을 다운로드 받을 수 있다.Furthermore, the computer-readable medium may be a server or cloud storage that includes a storage and can be accessed by a terminal through communication. In this case, the computer may download the program according to the present invention from a server or cloud storage through wired or wireless communication.

나아가, 본 발명에서는 위에서 설명한 컴퓨터는 프로세서, 즉 CPU(Central Processing Unit, 중앙처리장치)가 탑재된 단말기로서, 그 종류에 대하여 특별한 한정을 두지 않는다.Furthermore, in the present invention, the above-described computer is a processor, that is, a terminal equipped with a CPU (Central Processing Unit), and there is no particular limitation on its type.

한편, 상기의 상세한 설명은 모든 면에서 제한적으로 해석되어서는 아니되고 예시적인 것으로 고려되어야 한다. 본 발명의 범위는 첨부된 청구항의 합리적 해석에 의해 결정되어야 하고, 본 발명의 등가적 범위 내에서의 모든 변경은 본 발명의 범위에 포함된다.On the other hand, the above detailed description should not be construed as limiting in all respects and should be considered as illustrative. The scope of the present invention should be determined by reasonable interpretation of the appended claims, and all changes within the equivalent scope of the present invention are included in the scope of the present invention.

Claims (12)

얼굴 영상을 수신하는 단계; 및
상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 단계를 포함하고,
상기 영상에 대한 진위 여부를 판단하는 단계는,
상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 수행되는 것을 특징으로 하는 얼굴 인식 방법.
Receiving a face image; and
Determining whether the face image is authentic based on a temperature value corresponding to each of a plurality of pixels included in the face image;
The step of determining the authenticity of the video,
Comparing the temperature values of each of the pixels arranged along a predetermined direction with respect to one point of the face image and the temperature values of pixels constituting one area of the face image and another area of the face image A face recognition method characterized in that it is performed based on at least one of the comparison results between the temperature values of the pixels.
제1항에 있어서,
상기 영상에 대한 진위 여부를 판단하는 단계는,
상기 일 지점을 기준으로 상기 기설정된 방향을 따라 배치된 복수의 픽셀 각각의 온도값을 비교하는 단계를 포함하고,
상기 온도값을 비교하는 단계는,
상기 일 지점을 기준으로 상기 기설정된 방향을 따라 배치된 복수의 픽셀 중 어느 하나를 기준 픽셀로 설정하는 단계; 및
상기 기준 픽셀의 온도값과 상기 일 지점을 기준으로 상기 기설정된 방향을 따라 배치된 복수의 픽셀 중 상기 기준 픽셀로부터 기설정된 거리에 위치한 픽셀의 온도값의 차이값을 산출하는 단계를 더 포함하는 것을 특징으로 하는 얼굴 인식 방법.
According to claim 1,
The step of determining the authenticity of the video,
Comparing temperature values of each of a plurality of pixels arranged along the predetermined direction based on the one point,
Comparing the temperature values,
setting one of a plurality of pixels disposed along the predetermined direction based on the one point as a reference pixel; and
Calculating a difference between the temperature value of the reference pixel and the temperature value of a pixel located at a predetermined distance from the reference pixel among a plurality of pixels disposed along the predetermined direction based on the one point Characterized face recognition method.
제2항에 있어서,
상기 온도값을 비교하는 단계는, 상기 기준 픽셀을 재설정하며 반복적으로 수행되며,
상기 기준 픽셀은 상기 기 설정된 방향을 따라 상기 일 지점으로부터 멀어지도록 재설정되며,
상기 기설정된 방향은 상기 얼굴 영상의 길이 방향 또는 상기 길이 방향에 수직한 방향과 교차하도록 설정되는 것을 특징으로 하는 것을 특징으로 하는 얼굴 인식 방법.
According to claim 2,
Comparing the temperature values is repeatedly performed by resetting the reference pixel,
The reference pixel is reset to be away from the one point along the predetermined direction,
The face recognition method of claim 1 , wherein the predetermined direction is set to intersect with a longitudinal direction of the face image or a direction perpendicular to the longitudinal direction.
제3항에 있어서,
상기 기 설정된 방향은 복수 개이고,
상기 온도값을 비교하는 단계는, 상기 복수의 기설정된 방향 각각에 대하여 수행되는 것을 특징으로 하는 얼굴 인식 방법.
According to claim 3,
The preset direction is plural,
Comparing the temperature values may be performed for each of the plurality of preset directions.
제4항에 있어서,
상기 얼굴 영상에서 기설정된 객체를 인식하는 단계를 더 포함하고,
상기 얼굴 영상에서 상기 기설정된 객체가 인식되는 경우, 상기 온도값을 비교하는 단계는, 상기 얼굴 영상의 일 지점의 하측 방향으로 수행되지 않는 것을 특징으로 하는 얼굴 인식 방법.
According to claim 4,
Further comprising recognizing a preset object in the face image,
When the predetermined object is recognized in the face image, the comparing of the temperature values is not performed in a downward direction of a point of the face image.
제1항에 있어서,
상기 영상에 대한 진위 여부를 판단하는 단계는,
상기 얼굴 영상을 복수의 영역으로 분할하는 단계;
상기 분할된 영상 각각에 대한 대표 온도값을 설정하는 단계; 및
상기 복수의 영역 각각에 대응되는 대표 온도값 간의 비교 결과에 근거하여, 상기 얼굴 영상의 진위 여부를 판단하는 단계를 포함하는 것을 특징으로 하는 얼굴 인식 방법.
According to claim 1,
The step of determining the authenticity of the video,
dividing the face image into a plurality of regions;
setting a representative temperature value for each of the divided images; and
and determining whether the face image is authentic based on a comparison result between representative temperature values corresponding to each of the plurality of regions.
제6항에 있어서,
상기 분할된 영역 중 어느 하나의 영역에 대한 대표 온도값은,
상기 어느 하나의 영역을 구성하는 복수의 픽셀 각각에 매칭된 온도값 중 최대값 또는 최소값인 것을 특징으로 하는 얼굴 인식 방법.
According to claim 6,
A representative temperature value for any one of the divided regions is,
The face recognition method, characterized in that the maximum value or minimum value among the temperature values matched to each of the plurality of pixels constituting the one area.
제7항에 있어서,
상기 복수의 영역 각각의 대표 온도값 중 최대값과 최소값의 차이가 제2기준값을 초과하는 경우, 상기 얼굴 영상이 정상 영상인 것으로 판단하는 것을 특징으로 하는 얼굴 인식 방법.
According to claim 7,
and determining that the face image is a normal image when a difference between a maximum value and a minimum value among the representative temperature values of each of the plurality of regions exceeds a second reference value.
제8항에 있어서,
상기 복수의 영역 각각은,
상기 얼굴 방향의 상측에서 하측 방향으로 연장되도록 설정되며, 상기 복수의 영역이 연장되는 길이는 상기 얼굴 영상에서 상기 기설정된 객체가 인식되는지 여부 및 상기 기설정된 객체가 인식되는 영역의 위치 중 적어도 하나에 기반하여 설정되는 것을 특징으로 하는 얼굴 인식 방법.
According to claim 8,
Each of the plurality of areas,
It is set to extend from the upper side to the lower side in the face direction, and the length of the plurality of regions depends on at least one of whether the preset object is recognized in the face image and the location of the region where the preset object is recognized. Face recognition method, characterized in that set based on.
얼굴 영상을 획득하는 카메라부; 및
상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 제어부를 포함하고,
상기 제어부는,
상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 상기 영상에 대한 진위 여부를 판단하는 것을 특징으로 하는 얼굴 인식 시스템.
a camera unit that acquires a face image; and
A control unit for determining authenticity of the face image based on temperature values corresponding to each of a plurality of pixels included in the face image;
The control unit,
Comparing the temperature values of each of the pixels arranged along a predetermined direction with respect to one point of the face image and the temperature values of pixels constituting one area of the face image and another area of the face image A face recognition system, characterized in that for determining the authenticity of the image based on at least one of the comparison results between the temperature values of the pixels.
얼굴 영상을 수신하는 통신부; 및
상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 제어부를 포함하는 서버를 포함하고,
상기 제어부는,
상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 상기 영상에 대한 진위 여부를 판단하는 것을 특징으로 하는 얼굴 인식 시스템.
a communication unit receiving a face image; and
A server including a controller that determines authenticity of the image based on a temperature value corresponding to each of a plurality of pixels included in the face image;
The control unit,
The comparison result of the temperature values of each of the pixels arranged along a predetermined direction based on one point of the face image and the temperature values of pixels constituting one region of the face image and another region of the face image A face recognition system, characterized in that for determining the authenticity of the image based on at least one of the comparison results between the temperature values of the pixels.
전자기기에서 하나 이상의 프로세스에 의하여 실행되며, 컴퓨터로 판독될 수 있는 기록매체에 저장된 프로그램으로서,
얼굴 영상을 수신하는 단계; 및
상기 얼굴 영상에 포함된 복수의 픽셀 각각에 대응되는 온도값에 기반하여 상기 영상에 대한 진위 여부를 판단하는 단계를 수행하도록 하는 명령어들을 포함하고,
상기 영상에 대한 진위 여부를 판단하는 단계는,
상기 얼굴 영상의 일 지점을 기준으로 기설정된 방향을 따라 배치된 픽셀들 각각의 온도값에 대한 비교 결과 및 상기 얼굴 영상의 일 영역을 구성하는 픽셀의 온도값과 상기 얼굴 영상의 다른 일 영역을 구성하는 픽셀의 온도값 간 비교 결과 중 적어도 하나에 기반하여 수행되는 것을 특징으로 하는 컴퓨터로 판독될 수 있는 기록매체에 저장된 프로그램.
A program that is executed by one or more processes in an electronic device and stored in a computer-readable recording medium,
Receiving a face image; and
Including instructions for performing a step of determining authenticity of the image based on a temperature value corresponding to each of a plurality of pixels included in the face image,
The step of determining the authenticity of the video,
The comparison result of the temperature values of each of the pixels arranged along a predetermined direction based on one point of the face image and the temperature values of pixels constituting one region of the face image and another region of the face image A program stored in a computer-readable recording medium, characterized in that it is performed based on at least one of the comparison results between the temperature values of the pixels.
KR1020210183218A 2021-12-20 2021-12-20 Face recognition system and method for controlling the same KR20230094062A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020210183218A KR20230094062A (en) 2021-12-20 2021-12-20 Face recognition system and method for controlling the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020210183218A KR20230094062A (en) 2021-12-20 2021-12-20 Face recognition system and method for controlling the same

Publications (1)

Publication Number Publication Date
KR20230094062A true KR20230094062A (en) 2023-06-27

Family

ID=86946829

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210183218A KR20230094062A (en) 2021-12-20 2021-12-20 Face recognition system and method for controlling the same

Country Status (1)

Country Link
KR (1) KR20230094062A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117409488A (en) * 2023-10-20 2024-01-16 湖南远图网络科技有限公司 User identity recognition method, system, equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117409488A (en) * 2023-10-20 2024-01-16 湖南远图网络科技有限公司 User identity recognition method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
US11330012B2 (en) System, method, and device of authenticating a user based on selfie image or selfie video
US11551481B2 (en) Living body detection method and apparatus, electronic device, storage medium, and related system to which living body detection method is applied
CN110555359B (en) Automatic retry of facial recognition
EP3076321B1 (en) Methods and systems for detecting user head motion during an authentication transaction
AU2022203880B2 (en) Methods and systems for determining user liveness and verifying user identities
EP3559847B1 (en) Electronic device for biometric authentication of a user
EP3012768A1 (en) Controlled access to functionality of a wireless device
US20210073516A1 (en) Living body detection method and apparatus, electronic device, storage medium, and related system to which living body detection method is applied
US10217009B2 (en) Methods and systems for enhancing user liveness detection
US20180048645A1 (en) Methods and systems for determining user liveness and verifying user identities
JP4899552B2 (en) Authentication device, authentication method, authentication program, and computer-readable recording medium recording the same
WO2021220423A1 (en) Authentication device, authentication system, authentication method, and authentication program
KR20230094062A (en) Face recognition system and method for controlling the same
KR102577587B1 (en) Method and apparatus for authenticating fingerprint
JP2001331804A (en) Device and method for detecting image area
KR102386918B1 (en) Device and method for authenticating mobile user based on Artificial Intelligence
WO2024093665A1 (en) Identity recognition image processing method and apparatus, computer device, and storage medium
EP3989184A1 (en) Liveness detection of facial image data
KR20230105986A (en) Liveness test method and liveness test apparatus
CN117521044A (en) Biometric authentication method, device, computer apparatus, and storage medium
KR20230075770A (en) Face recognition system and method for controlling the same
CN114067383A (en) Passive three-dimensional facial imaging based on macrostructure and microstructure image dimensions