KR100234590B1 - Apparatus and method for curing face-burn - Google Patents

Apparatus and method for curing face-burn Download PDF

Info

Publication number
KR100234590B1
KR100234590B1 KR1019960058629A KR19960058629A KR100234590B1 KR 100234590 B1 KR100234590 B1 KR 100234590B1 KR 1019960058629 A KR1019960058629 A KR 1019960058629A KR 19960058629 A KR19960058629 A KR 19960058629A KR 100234590 B1 KR100234590 B1 KR 100234590B1
Authority
KR
South Korea
Prior art keywords
value
threshold value
eye
opening
threshold
Prior art date
Application number
KR1019960058629A
Other languages
Korean (ko)
Other versions
KR970028783A (en
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 다니구찌 이찌로오
Publication of KR970028783A publication Critical patent/KR970028783A/en
Application granted granted Critical
Publication of KR100234590B1 publication Critical patent/KR100234590B1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/60Analysis of geometric attributes
    • 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/161Detection; Localisation; Normalisation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/30Subject of image; Context of image processing
    • G06T2207/30196Human being; Person
    • G06T2207/30201Face

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Multimedia (AREA)
  • Geometry (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Image Analysis (AREA)
  • Image Processing (AREA)
  • Auxiliary Drives, Propulsion Controls, And Safety Devices (AREA)
  • Traffic Control Systems (AREA)

Abstract

얼굴화상의 상태가 변화한 경우라도, 피촬상자의 눈의 개폐를 보다 정확하게 판정할 수가 있는 얼굴 화상처리장치 및 얼굴 화상 처리 방법을 제공한다.Provided are a face image processing apparatus and a face image processing method capable of more accurately determining the opening and closing of an eye of a photographed box even when the face image state changes.

카메라의 촬상정보에 의해 피촬상자의 눈의 열림을 검출하는 열림 검출수단과, 임계값을 사용하여, 상기 열림 검출수단의 검출결과를 복수의 그룹으로 분류함과 동시에, 정해진 시간내에 상기 열림 검출수단의 검출결과가 복수의 그룹내의 지정된 그룹에 속하는 시간을 적산계측하는 시간 계측 수단과, 상기 시간 계측수단의 계측결과에 의해 임계값의 타당성을 평가하는 임계값 평가 수단과, 상기 임계값 평가수단의 평가 결과에 의해 상기 임계값을 재설정하는 임계값 생성수단과, 상기 임계값을 사용해서 피촬상자의 눈의 개폐를 한정하는 개폐판정수단을 구비한다.Opening detection means for detecting the opening of the eye of the photographing box by the imaging information of the camera, and using the threshold value to classify the detection result of the opening detection means into a plurality of groups, and at the same time, the opening detection means Time measurement means for integrating time for which the detection result of the data belongs to the designated group in the plurality of groups, threshold value evaluation means for evaluating the validity of the threshold value based on the measurement result of the time measurement means, and the threshold value evaluation means. Threshold value generating means for resetting the threshold value based on the evaluation result, and opening / closing determination means for limiting opening and closing of the eye of the shooting box using the threshold value.

Description

얼굴화상 처리장치 및 얼굴화상 처리방법Facial image processing device and facial image processing method

본 발명은 카메라에 의해 인물의 얼굴을 촬상함과 동시에 그것의 화상을 처리하여 피촬상자의 눈의 개폐를 판정하는 얼굴 화상처리 장치 및 얼굴화상 처리방법에 관한 것이다.The present invention relates to a face image processing apparatus and a face image processing method which determine an opening / closing of an eye of a photographed box by simultaneously processing a picture of a person's face with a camera.

종래부터 차량실내에 설치된 카메라로 차량운전자의 얼굴을 촬상하고, 이것에 의해 얻어진 얼굴을 화상처리하고, 그 중에서 눈을 추출하여, 상기 눈의 개폐를 검출하므로서, 차량운전자의 한눈팔기 운전 혹은 졸음 운전 등을 검출하는 것이 제안이 되고 있다. 이와같은 장치의 예로서, 일본국 특개평 제 6-32154 호 공보에 표시되는 것이 있다. 이 공보에서는 얼굴화상을 처리하여, 상기 화상중의 눈이 있다고 생각되는 영역을 설정하고, 이 영역내의 흑색영역을 눈으로 판정하고 있다. 그래서 흑색영역이 정해진 임계값 보다도 큰값 인지의 여부에 따라 눈의 열린 상태, 혹은 닫힌상태를 판정한다. 차량운전자의 한눈팔기나 졸음은 상기 눈의 개폐상태에 의해 검출된다.Conventionally, a vehicle driver's face is imaged by a camera installed in a vehicle cabin, the face obtained by this is image-processed, eyes are extracted from them, and opening / closing of the eyes is detected, thereby driving the driver's glance or drowsiness. It is proposed to detect the back and the like. As an example of such a device, there is a display in Japanese Patent Laid-Open No. 6-32154. In this publication, a face image is processed to set an area in which the eye in the image is considered to be located, and the black area in this area is determined by the eye. Therefore, the open or closed state of the eye is determined according to whether or not the black region is larger than the predetermined threshold value. A glance or drowsiness of the vehicle driver is detected by the open / closed state of the eye.

그러나 상기 공보의 장치에 있어서는 눈의 열림 상태, 혹은 닫힌 상태를 판정하기 위한 기준이 되는 임계값이 고정으로 되어 있다.However, in the apparatus of the publication, a threshold value as a reference for determining the open state or closed state of the eye is fixed.

따라서 카메라와 피촬상자와의 거리가 변화하거나, 얼굴의 방향이 변화함으로서 얼굴 화상의 상태가 바뀐 경우, 상기 고정의 임계값에서는 눈의 열림상태, 혹은 닫힌 상태를 정확하게 검출하는 일이 어렵다.Therefore, when the distance between the camera and the shooting box is changed or the state of the face image is changed by changing the direction of the face, it is difficult to accurately detect the open or closed state of the eye at the fixed threshold.

본 발명은 이와같은 과제를 해결하기 위한 수단으로서, 얼굴화상의 상태가 변화한 경우라도 피촬상자의 눈의 개폐를 보다 정확하게 판정할수가 있는 얼굴화상 처리장치 및 얼굴화상 처리방법을 제공하는 것을 목적으로 한다.SUMMARY OF THE INVENTION An object of the present invention is to provide a face image processing apparatus and a face image processing method capable of more accurately determining the opening / closing of an eye of a photographing box as a means for solving such a problem. do.

본 발명에 관한 얼굴 화상처리장치는 얼굴화상을 촬상하는 카메라와, 상기 카메라의 촬상 정보에 의해 피촬상자의 눈의 열림을 검출하는 열림검출수단과, 상기 열림검출 수단의 검출결과를 임계값을 사용하여 복수의 그룹으로 분류함과 동시에 지정된 시간내에 열림검출 수단의 검출결과가 상기 복수의 그룹내의 지정된 그룹에 속하는 시간을 적산 계측하는 시간계측수단과, 상기 시간계측수단의 계측결과에 의하여 상기 임계값의 타당성을 평가하는 임계값 평가수단과, 상기 임계값 평가수단의 평가 결과에 의하여, 임계값을 재설정하는 임계값 설정수단과, 상기 임계값을 사용하여 피촬상자의 눈의 개폐를 판정하는 눈개폐 판정수단을 구비한 것이다.The face image processing apparatus according to the present invention uses a camera that captures a face image, opening detection means for detecting the opening of an eye of a photographing box based on the imaging information of the camera, and threshold values for detection results of the opening detection means. And time threshold means for integrating and measuring the time which the detection result of the open detection means belongs to within the specified group within the specified time, and the threshold value is determined by the measurement result of the time measurement means. A threshold value evaluating means for evaluating the validity of the subject, a threshold value setting means for resetting the threshold value based on the evaluation result of the threshold value evaluating means, and an eye opening and closing for determining whether the eye of the subject is opened or closed using the threshold value. The determination means is provided.

또한, 본 발명에 관한 얼굴화상처리 장치의 지정된 그룹은 임계값에 의해 분류된 복수의 그룹 내의 2개의 그룹으로서, 임계값 평가수단은 시간계측수단에 의해 계측된 2개 그룹에 대한 계측결과의 비율과 미리 정해진 일정치와의 편차를 연산하는 것으로서, 임계값 설정수단은 편차가 감소하는 방향으로 임계값의 값을 갱신하는 것이다.Further, the designated group of the face image processing apparatus according to the present invention is two groups in the plurality of groups classified by the threshold value, and the threshold value evaluating means is the ratio of the measurement result to the two groups measured by the time measuring means. By calculating the deviation between the predetermined constant and the predetermined value, the threshold setting means updates the value of the threshold in a direction in which the deviation decreases.

또한, 본 발명에 관한 얼굴 화상처리장치는 임계값 설정수단과 열림검출수단의 검출결과의 평균치에서 일정량만큼 떨어진 위치에 임계값의 초기치를 설정함과 동시에 열림 검출 수단의 검출 출력이 일정시간내에 있어서, 상기 임계값을 가로지르지 않는 경우, 상기 임계값을 평균치의 방향으로 갱신하는 것이다.Further, the facial image processing apparatus according to the present invention sets the initial value of the threshold at a position separated by a predetermined amount from the average value of the detection result of the threshold setting means and the opening detection means, and the detection output of the opening detection means is within a predetermined time. If the threshold value is not crossed, the threshold value is updated in the direction of the average value.

또한, 본 발명에 관한 얼굴화상처리 장치는 열림 검출 수단의 검출결과에 의하여, 피촬상자의 눈이 열린 상태로 있을때의 대표적인 값을 연산하는 열린값 연산수단과, 열림 검출수단의 검출결과에 의해 피촬상자의 눈이 닫힌상태에 있을때의 대표적인 값을 연산하는 닫힌값 연산수단과, 열린값 연산수단과, 닫힌값 연산수단의 연산결과에 의해, 임계값의 가변범위를 설정하는 임계값 제한수단을 구비한 것이다.The face image processing apparatus according to the present invention further includes an open value calculating means for calculating a representative value when the eye of the shooting box is opened by the detection result of the opening detection means, and the detection result of the opening detection means. A closed value calculating means for calculating a representative value when the imager's eyes are in the closed state, and a threshold value limiting means for setting a variable range of the threshold value based on the calculation result of the open value calculating means and the closed value calculating means. It is.

또한, 본 발명에 관한 얼굴화상처리장치는 장치가 동작 시각으로부터 일정기간경과한 것을 검출하는 기간검출수단과, 상기 일정기간이 경과할 때까지는 임계값의 가변범위의 갱신을 허가함과 동시에 일정기간의 경과 이후는 상기 임계값 가변범위의 갱신을 금지하는 임계값 제한 제어수단을 구비한 것이다.The face image processing apparatus according to the present invention further includes period detecting means for detecting that the apparatus has elapsed for a certain period from the operation time, and permits updating of a variable range of the threshold value until the predetermined period elapses, and at the same time. After the elapse of, the threshold limit control means for prohibiting the updating of the threshold variable range is provided.

또한, 본 발명에 관한 얼굴화상처리장치는 얼굴화상을 촬상하는 카메라와, 상기 카메라의 촬상정보에 의해 피촬상자의 눈의 열림을 검출하는 열림 검출수단과, 일정시간마다 열림 검출수단의 검출결과에 대한 돗수분포를 제촉하는 돗수계측수단과, 상기 돗수분포가 거의 평탄해지는 범위내에서 임계값을 설정함과 동시에 돗수분포의 갱신에 의해 임계값을 갱신하는 임계값 설정수단과, 임계값을 써서 피촬상자의 눈의 개폐를 판정하는 눈 개폐 판정수단을 구비하는 것이다.The face image processing apparatus according to the present invention further includes a camera for photographing a face image, opening detection means for detecting the opening of an eye of a photographed box based on the imaging information of the camera, and detection results of the opening detection means at predetermined time intervals. A tap water measuring means for prompting a tap water distribution, a threshold value setting means for setting a threshold value within a range where the tap water distribution becomes substantially flat and updating the threshold value by updating the tap water distribution, and using a threshold value Eye opening and closing determination means for determining the opening and closing of the eye of the imager.

또한 본 발명에 관한 얼굴화상처리방법은 얼굴화상을 촬상하는 카메라의 촬상정도에 의해 피촬상자의 눈의 열림을 검출하는 단계와, 상기 검출결과를 임계값을 사용하여 복수의 그룹으로 분류하는 단계와, 일정시간내에 눈의 열림의 검출결과가 복수의 그룹내의 지정된 그룹에 속하는 시간을 적산계측하는 단계와, 상기 시간의 계측결과에 의해서 임계값의 타당성을 평가하는 단계와, 상기 평가결과에 의해서 임계값을 재설정하는 단계와, 임계값을 사용하여 피촬상자의 눈의 개폐를 판정하는 단계를 구비한다.In addition, the facial image processing method according to the present invention comprises the steps of detecting the opening of the eye of the shooting box according to the imaging degree of the camera for imaging the face image, classifying the detection result into a plurality of groups using a threshold value; Integrating a time when the detection result of the eye open within a predetermined time belongs to the designated group in the plurality of groups, evaluating the validity of the threshold value based on the measurement result of the time, and thresholding the evaluation result Resetting the value, and determining the opening and closing of the eye of the subject using the threshold value.

또한, 본 발명에 관한 얼굴화상처리방법은 얼굴화상을 촬상하는 카메라의 촬상 정보에 의해 피촬상자의 눈의 열림을 검출하는 단계와, 일정시간마다 눈의 열림의 검출결과의 돗수분포를 계측하는 단계와, 상기 돗수분포가 거의 평탄해지는 범위내에 임계값을 설정하는 단계와, 상기 돗수분포의 갱신에 의해 임계값을 갱신하는 단계와, 임계값을 써서 피촬상자의 눈의 개폐를 판정하는 단계를 구비한다.In addition, the face image processing method according to the present invention comprises the steps of detecting the opening of the eye of the photographing box by the imaging information of the camera for imaging the face image, and measuring the distribution of the tap water of the detection result of the opening of the eye every fixed time. And setting a threshold value within a range in which the tap water distribution is substantially flat, updating the threshold value by updating the tap water distribution, and determining the opening and closing of the eye of the shooting box by using the threshold value. do.

제1도는 본 발명에 따른 실시형태 1의 구성을 도시한 블록도.1 is a block diagram showing the configuration of Embodiment 1 according to the present invention;

제2도는 본 발명에 따른 실시형태 1의 동작을 설명하는 타임챠트.2 is a time chart illustrating the operation of Embodiment 1 according to the present invention.

제3도는 본 발명에 따른 실시형태 1의 동작을 설명하는 또다른 타임챠트.3 is another time chart illustrating the operation of Embodiment 1 according to the present invention.

제4도는 본 발명에 따른 실시형태 1의 동작을 설명하는 또다른 타임챠트.4 is another time chart illustrating the operation of Embodiment 1 according to the present invention.

제5도는 눈 개패평가의 출력치를 검출하는 순서를 도시한 플로우챠트.5 is a flowchart showing a procedure for detecting an output value of eye patch evaluation.

제6도는 눈 개폐평가의 출력치에 대한 설명을 도시한 설명도.6 is an explanatory diagram showing a description of the output value of the eye open / close evaluation.

제7도는 본 발명에 따른 실시형태 2의 개패 판정 동작에 대한 설명을 도시한 설명도.Fig. 7 is an explanatory diagram showing a description of the pattern determination operation of the second embodiment according to the present invention.

제8a도 내지 제8f도는 본 발명에 따른 실시형태 3에 의한 임계값 평가수단의 동작에 대한 설명을 도시한 설명도.8A to 8F are explanatory views showing the explanation of the operation of the threshold evaluation means according to the third embodiment of the present invention.

제9도는 임계값의 갱신의 모양을 도시한 설명도.9 is an explanatory diagram showing the state of update of a threshold value.

제10도는 본 발명에 따른 실시형태 4의 동작을 설명하는 타임챠트.10 is a time chart illustrating the operation of Embodiment 4 according to the present invention.

제11도는 본 발명에 따른 실시형태 4의 동작을 설명하는 또다른 타임챠트.11 is another time chart illustrating the operation of Embodiment 4 according to the present invention.

제12도는 본 발명에 따른 실시형태 4의 동작을 설명하는 타임챠트.12 is a time chart illustrating the operation of Embodiment 4 according to the present invention.

제13a도 내지 제13f도는 본 발명에 따른 실시형태 4에 의한 임계값 평가수단의 동작에 대한 설명을 도시한 설명도.13A to 13F are explanatory views showing the description of the operation of the threshold evaluation means according to the fourth embodiment of the present invention.

제14도는 임계값의 갱신의 모양을 도시한 타임챠트.14 is a time chart showing the state of update of a threshold value.

제15도는 본 발명에 따른 실시형태 5의 동작에 대한 설명을 도시한 설명도.FIG. 15 is an explanatory diagram showing a description of the operation of the fifth embodiment according to the present invention; FIG.

제16도는 본 발명에 따른 실시형태 6의 구성을 도시한 블록도.16 is a block diagram showing a configuration of Embodiment 6 according to the present invention.

제17도는 본 발명에 따른 실시형태 7의 구성을 도시한 블록도.17 is a block diagram showing a configuration of Embodiment 7 according to the present invention.

제18도는 본 발명에 따른 실시형태 8의 구성을 도시한 블록도.18 is a block diagram showing a configuration of Embodiment 8 according to the present invention;

제19도는 본 발명에 따른 실시형태 9의 구성을 도시한 블록도.19 is a block diagram showing a configuration of Embodiment 9 according to the present invention.

제20도는 본 발명에 따른 실시형태 10의 임계값 설정 수법을 도시한 설명도.20 is an explanatory diagram showing a threshold setting method of Embodiment 10 according to the present invention.

제21도는 본 발명에 따른 실시형태 10의 또다른 임계값 설정수법을 도시한 설명도.21 is an explanatory diagram showing yet another threshold setting method of Embodiment 10 according to the present invention;

제22도는 본 발명에 따른 실시형태 10의 구성을 도시한 블록도.Fig. 22 is a block diagram showing the constitution of Embodiment 10 according to the present invention.

〈도면의 주요부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>

1 : 카메라 2 : 화상 입력수단1: camera 2: image input means

3 : 눈영역 판정수단 4 : 눈개폐 평가수단3: eye area determining means 4: eye opening and closing evaluation means

5 : 시간 계측 수단 6 : 임계값 평가수단5: time measuring means 6: threshold evaluation means

7, 21 : 임계값 설정수단 8 : 개폐판정수단7, 21: threshold setting means 8: opening and closing determination means

9 : 최대열림값 기록수단 10 : 최대열림값 필터9: maximum open value recording means 10: maximum open value filter

11 : 최소 닫힘값 기록수단 12 : 최소열림값 필터11: minimum closing value recording means 12: minimum opening value filter

13, 15 : 임계값 제한수단 14 : 열림값 필터13, 15: threshold limit means 14: open value filter

16, 18 : 임계값 제한 제어수단 17 : 타이머16, 18: threshold limit control means 17: timer

19 : 최소닫힘값 기록 카운터 20 : 도수 계측수단19: minimum closing value recording counter 20: frequency measurement means

[실시예 1]Example 1

실시예 1은 얼굴화상을 촬상하는 카메라의 촬상정보에 의해서, 피촬상자의 눈의 열림을 검출하는 단계와, 상기 검출결과를 임계값을 사용하여 복수의 그룹으로 분류하는 단계와, 상기 검출결과를 임계값을 사용하여 복수의 그룹으로 분류하는 단계와, 일정시간내에 눈의 열림에 대한 검출결과가 복수의 그룹내의 지정된 그룹에 속하는 시간을 적산계측하는 단계와, 상기 시간의 계측결과에 의해서 임계값의 타당성을 평가하는 단계와, 상기 평가 결과에 의해, 임계값을 재설정하는 단계와, 임계값을 써서 피촬상자의 눈의 개폐를 판정하는 단계를 구비한 얼굴화상 처리방법에 관한 것으로서, 상기 화상처리방법을 실시하는 얼굴화상처리장치에 대해서 다음에 설명한다.In Example 1, detection of opening of an eye of a photographing box by imaging information of a camera that captures a face image, classifying the detection result into a plurality of groups using a threshold value, and the detection result Classifying the data into a plurality of groups using a threshold value, integrating the time when the detection result of the eye opening within a predetermined time belongs to a designated group in the plurality of groups, and the threshold value based on the measurement result of the time. A method of processing a face image comprising the step of evaluating the validity of the image, the step of resetting the threshold value based on the evaluation result, and determining the opening / closing of the eye of the photographing box using the threshold value. A facial image processing apparatus that performs the method will be described next.

도 1 은 실시예 1의 얼굴화상처리장치에 대한 개략적인 구성을 도시하는 블록도이고, 도 2 내지 도 4 는 실시예 1 의 동작을 설명하는 타임차트로서, 도 2 는 임계값이 타당한 상태이고, 도 3 은 임계값이 열린쪽으로 지나치게 이동한 상태이고, 도 4 는 임계값이 닫힌쪽으로 지나치게 이동한 상태를 도시하고 있다.1 is a block diagram showing a schematic configuration of a face image processing apparatus of Example 1, and FIGS. 2 to 4 are time charts illustrating the operation of Example 1, and FIG. 2 is a state in which a threshold is reasonable. 3 illustrates a state in which the threshold value is excessively moved toward the open side, and FIG. 4 illustrates a state in which the threshold value is excessively moved toward the closed side.

실시예 1에 대한 상세한 설명을 하기전에, 먼저 기본적인 동작에 대해서 간단하게 설명을 해둔다.Before giving a detailed description of Embodiment 1, the basic operation will be briefly described.

차량 운전자의 얼굴화상은 카메라에 의해 얻어진다. 상기얼굴화상을 처리해서, 피촬상자인 차량운전자의 눈을 검출하고, 눈의 열림에 의한 출력을 얻는다. 이것은 도 2 내지 4 에서 눈의 개폐 평가 출력치로서 표시된 것이다. 상기 눈의 열림에 의한 출력은 2개의 임계값 중의 닫힌쪽 임계값과 비교되고, 닫힌쪽 임계값 보다도 열린쪽에 위치할 때는 눈이 열린 상태로 판정하고, 닫힌쪽 임계값 보다도 더 닫힌쪽에 위치할 때는 눈이 닫힌 상태로 판정한다. 이에 따라 눈의 개폐가 판정된다.The face image of the vehicle driver is obtained by the camera. The face image is processed to detect the eyes of the vehicle driver, which is a photographed box, to obtain an output by opening the eyes. This is indicated as the open and close evaluation output of the eye in FIGS. 2 to 4. The output of the eye opening is compared with the closed threshold of the two thresholds, and when it is located on the open side than the closed threshold, it is determined that the eyes are open, and when it is located on the closed side more than the closed threshold. It is judged that the eyes are closed. Thus, opening and closing of the eye is determined.

한편, 임계값은 고정된 값이 아니라 얼굴화상의 변화에 의해 차례로 갱신되는 것으로 되어 있다. 상기 임계값은 그 타당성 여부를 먼저 판정하고, 타당하지 않으며, 바람직한 방향으로 갱신된다.On the other hand, the threshold value is not updated but is sequentially updated by the change in the face image. The threshold is first determined for its validity, not valid, and updated in the desired direction.

예를들자면 도 3 에서는 임계값이 열린쪽으로 지나치게 이동한 상태이다. 이와같은 상태에서는 차량 운전자의 눈이 닫힌 상태가 아니라도 닫힌 상태라도 판정해 버린다.For example, in FIG. 3, the threshold value is excessively moved toward the open side. In such a state, even if the eyes of the vehicle driver are not closed, it is determined even in the closed state.

또한 도 4 에서는 임계값이 닫힌쪽으로 지나치게 이동한 것이다. 이와같은 상태에서는 차량운전자의 눈의 개폐를 판정할 수가 없다.4, the threshold is excessively shifted toward the closed side. In such a state, opening and closing of the eyes of the vehicle driver cannot be determined.

실시예 1에서는 도 2 내지 4 중 어느상태에 있는가를 판정하기 위해 다음과 같이 처리하고 있다. 먼저 눈 개폐평가 출력치를 열린쪽 임계값 및 닫힌쪽 임계값의 2 개의 임계값을 써서 복수의 그룹으로 분류한다. 그중에서 임의의 그룹을 선정하고 눈개폐 평가 출력치가 일정시간내에서 선정한 지정된 그룹에 속하는 시간을 적산계측한다. 실시예 1 에서 있어서, 지정죈 그룹은 열린쪽 임계값 보다도 열린쪽의 영역인 그룹 A와, 닫힌쪽 임계값 보다도 열린쪽의 영역인 그룹 B이다.In Example 1, it processes as follows to determine which state in FIGS. First, the eye open / close evaluation output value is classified into a plurality of groups using two threshold values, an open threshold and a closed threshold. An arbitrary group is selected from among them, and the time when the eye-opening evaluation output value belongs to the designated group selected within a predetermined time is measured. In the first embodiment, the designated group is a group A which is an open area than the open threshold and a group B which is an open area than the closed threshold.

다음에, 그룹 A의 계측치와 그룹 B의 계측지를 비교한다. 도 3의 경우에는 그룹 A의 계측치가 그룹 B의 계측치에 비해 매우 적은 값으로 되어 있다. 또한 도 4의 경우에는 그룹 A의 계측치와 그룹 B의 계측치가 거의 같게 되어 있다.Next, the measured value of group A and the measured value of group B are compared. In the case of FIG. 3, the measured value of the group A is very small compared with the measured value of the group B. FIG. In addition, in the case of FIG. 4, the measured value of the group A and the measured value of the group B are substantially the same.

이에 대해서, 도 2 의 임계값이 타당한 경우, 그룹 A의 계측치는 그룹 B의 계측치에 비해 약간 적은 값으로 되어 있다.On the other hand, when the threshold of FIG. 2 is valid, the measured value of the group A is slightly smaller than the measured value of the group B. FIG.

즉, 실시예 1 에서는 그룹 A의 계측치와 그룹 B의 계측치의 편차를 연산하고, 상기 편차도 도 2에 도시된 상태로 되도록 닫힌쪽 임계값을 제어한다. 또한 열린쪽 임계값은 닫힌쪽 임계값의 변화에 따라 변화하는 것으로 닫힌쪽 임계값과 열린쪽 임계값 사이의 간격은 일정하다.That is, in Example 1, the deviation between the measured value of the group A and the measured value of the group B is calculated, and the closed threshold value is controlled so that the deviation is also shown in FIG. In addition, the open threshold changes with the change of the closed threshold, and the interval between the closed threshold and the open threshold is constant.

다음으로 실시예 1 에 대해서 상세히 설명한다.Next, Example 1 will be described in detail.

도 1 에 있어서 도면부호(1)는 차량운전자의 얼굴을 촬상하는 차량실내에 설치된 카메라이고, 도면부호(2)는 상기 카메라(1)의 촬상정보인 영상신호를 받아서 A/D(아날로그/디지탈)변환하고 디지탈 계조화상을 출력하는 화상 입력수단이고, 도면부호(3)는 화상입력수단(2)으로 부터의 디지탈 개조화상을 받은 이 화상중 차량운전자의 눈이 있다고 생각되는 눈 영역을 특정하는 눈영역 판정수단이고, 도면부호(40)는 차량 운전자의 눈의 열림에 의한 검출결과를 출력하는 열림검출수단에 대한 눈 개폐평가 수단으로서, 예를들자면 눈영역 판정수단(3)으로 특정된 눈영역 내에 있어서, 흑색 영역의 크기에 의한 값을 도 2 의 눈개폐 평가 출력치에 도시된 바와같이 출력한다. 이는 차량운전자의 눈의 열림에 의한 값으로 되어 있다.In FIG. 1, reference numeral 1 denotes a camera installed in a vehicle cabin for capturing a face of a vehicle driver, and reference numeral 2 denotes an A / D (analog / digital) by receiving an image signal which is imaging information of the camera 1. Image input means for converting and outputting a digital gradation image, and reference numeral 3 designates an eye region where the driver's eyes are considered to be among the images which received the digitally modified image from the image input means 2). Eye area determination means, and reference numeral 40 is an eye open / close evaluation means for the open detection means for outputting the detection result by the opening of the eyes of the vehicle driver, for example, the eye specified by the eye area determination means 3. In the area, the value by the size of the black area is output as shown in the eye-opening evaluation output value in FIG. This is a value due to the opening of the eyes of the vehicle driver.

도면부호(5)는 시간계측수단으로서, 눈개폐 평가수단(4)의 검출결과를 도 2에 도시된 열린쪽 임계값 및 닫힌쪽 임계값의 2개 임계값들을 사용해서 복수의 그룹으로 분류한다.Reference numeral 5 denotes a time measurement means, which classifies the detection result of the eye open / close evaluation means 4 into a plurality of groups using two threshold values, an open threshold value and a closed threshold value shown in FIG. .

상기 복수의 그룹에는 열린쪽 임계값 보다도 열린쪽의 영역과 열린쪽 임계값 보다도 닫힌쪽의 영여과, 그리고 닫힌쪽 임계값 보다도 열린쪽의 영역과, 딛힌쪽 임계값 보다도 닫힌쪽의 영역과 2개 임계값 사이의 영역 등이 있다.The plurality of groups include an area open to the open threshold, an area closer to the open threshold than the open threshold, an area open to the closed threshold, and an area closed to the stepped threshold and two. Area between thresholds and the like.

실시예 1 의 시간계측수단(5)에서는 열린쪽 임계값 보다도 열린쪽의 영역인 그룹 A 및 닫힌쪽 임계값 보다도 열린쪽의 영역인 그룹 B를 지정된 그룹으로서 선정함과 동시에 일정시간내에 있어서, 눈 개폐 평가수단(4)의 검출결과가 그룹 A 혹은 그룹 B에 속하는 시간을 적산해서 계측하고 있다. 도면부호(6)는 임계값 평가수단에서 시간계측수단(5)의 계측결과에 의해서 임계값의 타당성을 평가한다. 도면부호(7)는 임계값 설정 수단에서 임계값 평가수단(6)의 평가결과에 의해서, 임계값이 보다 바람직한 값으로 되도록 재설정한다. 임계값 설정수단(7)에서 설정된 임계값은 상술한 시간계측수단(5)과, 다음에 설명하는 개폐판정 수단에 부여되어 있다. 도면부호(8)는 눈의 개폐를 판정하는 눈개폐 판정수단으로서, 개폐 판정수단으로 눈개폐 평가수단(4)에서 부여되는 차량운전자의 눈의 열림에 의한 값과 임계값 설정수단(7)에서 부여되는 임계값이 입력되고, 눈의 열림에 의한 값과 닫힌쪽 임계값을 비교함으로서 차량운전자의 눈의 개폐를 판정한다. 실시예 1의 동작에 대해서 설명한다. 도 5 는 눈개폐 평가 출력치를 검출하기 위한 플로우챠트이다. 상기 플로우챠트는 카메라(1)에서 촬상한 얼굴 화상중의 눈 영역을 특정하고, 눈영역 중에 있는 흑색영역을 눈이라고 판정하고, 그것의 흑색영역의 크기를 눈의 열림으로서 검출한다.In the time measuring means 5 of the first embodiment, group A, which is an area that is open more than an open threshold value, and group B, which is an area more open than a closed threshold value, are selected as a designated group, The detection result of the opening / closing evaluation means 4 calculates by integrating the time which belongs to group A or group B. Reference numeral 6 evaluates the validity of the threshold value based on the measurement result of the time measuring means 5 in the threshold value evaluation means. Reference numeral 7 resets the threshold value to a more desirable value by the evaluation result of the threshold value evaluation means 6 in the threshold value setting means. The threshold value set by the threshold value setting means 7 is given to the time measurement means 5 mentioned above and the opening / closing determination means described later. Reference numeral 8 denotes an eye opening and closing determination means for determining the opening and closing of the eyes, wherein the value due to the opening of the eyes of the vehicle driver, which is given by the eye opening and closing evaluation means 4 as the opening and closing determination means, The given threshold value is input, and the opening / closing of the driver's eyes is determined by comparing the value of the eye opening with the closed threshold. The operation of the first embodiment will be described. 5 is a flowchart for detecting an eye occlusion evaluation output value. The flowchart specifies the eye area in the face image picked up by the camera 1, determines the black area in the eye area as the eye, and detects the size of the black area as the eye opening.

단계(1)에서는 카메라(1)로 촬상한 영상신호가 화상 입력수단(2)에 내장된다. 화상입력수단(2)은 상기 영상신호를 A/D 변환한다. 단계(2)에서는 화상입력수단(2)에서 변환된 디지탈 계조화상이 프레임메모리에 입력된다. 단계(3)에서는 프레임 메모리에 기억된 화상정보가 검출되고, 적당한 2개값으로 되는 임계값에 의해 2개값의 화상으로 된다. 단계(4)에서는 얼굴의 가로방향 검색 개시선으로 부터 얼굴의 좌우가로방향으로 백색화소가 검색된다. 단계(5)에서는 연속한 백색화소의 개수가 카운트되고 계속되는 단계(6)에서 연속한 백색화소의 개수가 최대로 될때의 백색화소영역의 끝에서 얼굴의 가로폭 윤곽선이 특정된다.In step (1), the video signal captured by the camera (1) is embedded in the image input means (2). The image input means 2 A / D converts the video signal. In step 2, the digital gradation image converted by the image input means 2 is input to the frame memory. In step (3), the image information stored in the frame memory is detected, and the two-value image is formed by a threshold value which is two suitable values. In step (4), the white pixels are searched from the horizontal search start line of the face in the horizontal direction of the face. In step 5, the width contour of the face is specified at the end of the white pixel area when the number of consecutive white pixels is counted and in the subsequent step 6 the number of consecutive white pixels is maximum.

단계(7)에서는 특정된 얼굴의 가로방향 윤곽선에 의해서, 눈이 존재한다고 생각되는 눈영역의 가로방향의 좌표가 결정된다. 단계(8)에서는 연속한 흑색 화소의 영역이 검색된다. 단계(10)에서는 검색된 흑색화소 영역의 위치 관계나 세로방향 흑색 화소의 개수에 의해 눈 영역을 특정한다. 단계(11)에서는 특정된 눈 영역중에서 연속된 흑색화소를 검출하고, 이것을 눈의 열림으로서 검출하고 출력한다. 즉 도 6 에 도시된 바와같이, 눈 영역을 세로방향으로 검색하고, 연속한 흑색화소의 개수가 최대로 되도록 검색하고 출력한다. 즉, 도 6 에 도시된 바와같이, 눈영역을 세로방향으로 검색하고 연속된 흑색화소 개수가 최대로되는 검색선을 검출하고 이 경우에는 검색선과 위의 연속된 흑색화소 개수를 눈의 열림으로서 검출하고 있다. 그런데 검색선(바)은 검색선(라)보다도 연속된 흑색화소 개수가 많다. 그러나 머리칼 혹은 눈섭 등을 생략하는 지정된 조건을 설정해 둠으로써, 검색선(라)을 선택하도록 하고 있다.In step 7, the horizontal contour of the specified face determines the horizontal coordinates of the eye area where the eye is considered to be present. In step 8, regions of consecutive black pixels are searched. In step 10, the eye region is specified by the positional relationship of the found black pixel region or the number of vertical black pixels. In step 11, consecutive black pixels are detected in the specified eye area, and this is detected and output as the eye opening. That is, as shown in FIG. 6, the eye region is searched in the vertical direction, and the search and output is performed so that the number of consecutive black pixels is maximum. That is, as shown in FIG. 6, the eye region is searched in the vertical direction, and a search line in which the number of consecutive black pixels is maximum is detected. In this case, the search line and the number of consecutive black pixels above are detected as the opening of the eye. Doing. However, the search line (bar) has a larger number of continuous black pixels than the search line (D). However, the search line d is selected by setting a specified condition that omits the hair or the eyebrows.

이와같이 해서 얻어진 눈의 열림은 열린상태에서 연속된 흑색화소의 개수가 많아짐과 동시에 닫힌 상태에서는 연속된 흑색화소의 개수가 적어지고, 눈의 열림에 의한 값으로 된다.The eye opening thus obtained increases the number of continuous black pixels in the open state and decreases the number of continuous black pixels in the closed state, resulting in a value due to eye opening.

또한 이 플로우챠트에 있어서, 단계(1)는 화상입력수단이고, 단계(7) 내지 단계(10)는 눈영역 판정수단이고, 단계(11)은 열림검출수단을 구성하고 있다.In this flowchart, step (1) is image input means, steps (7) to (10) are eye area determination means, and step (11) constitutes open detection means.

상술한 바와같이 하여 얻어진 눈의 열림은, 예를들자면 도 2 에 눈개폐 평가 출력치로서 표시된다. 이값은 차량운전자의 눈의 열린 정도에 따라 약간 요동한 값으로, 차량운전자가 눈을 감았을때에는 분명히 닫힌 방향의 값으로서 출력된다.The eye opening obtained as described above is displayed as, for example, an eye-opening evaluation output value in FIG. 2. This value slightly fluctuates depending on the degree of opening of the driver's eyes, and is output as a value in the closed direction when the driver closes the eyes.

상기 눈의 개폐평가 출력치는 시간계측 수단(5)에 입력되고 열린쪽 임계값 및 닫힌쪽 임계값 2개의 임계값으로 구성되는 복수의 그룹으로 분류된다. 또한 시간계측수단(5)에서는 일정시간내에 있어서, 눈 개폐평가 출력치가 그룹 A에 속하고 있는 시간, 즉 도 2 에 있어서 사선 부분의 시간을 일정시간 마다 적산계측한다. 이와 똑같이, 일정 시간내에 있어서 눈의 개폐 평가 출력치가 그룹 B에 속하는 시간도 적산계측된다.The eye open / close evaluation output values are input to the time measuring means 5 and classified into a plurality of groups consisting of two thresholds, an open threshold and a closed threshold. In the time measuring means 5, the time during which the eye open / close evaluation output value belongs to the group A, that is, the time of the oblique portion in FIG. 2 is accumulated and measured every fixed time. Similarly, the time which the eye open / close evaluation output value belongs to group B within a predetermined time is also integrated.

이 결과는 임계값 평가수단(6)에 부여되고, 여기에서 임계값의 타당성이 평가된다. 상기 타당성의 평가는 상술한 바와같이, 시간계측수단(5)으로 계측된 그룹 A의 계측치와 그룹 B의 계측치와의 편차로 평가된다. 상기 편차는 임계값 설정수단(7)에 부여된다.This result is given to the threshold value evaluation means 6, where the validity of the threshold value is evaluated. The above-mentioned validity evaluation is evaluated by the deviation between the measured value of the group A and the measured value of the group B measured by the time measuring means 5 as described above. The deviation is given to the threshold value setting means 7.

임계값 설정수단(7)에서는 상기 임계값 평가수단(6)에서 연산된 편차에 의해 닫힌쪽 임계값의 값을 제어하고 재설정한다. 열린쪽 임계값은 닫힌쪽 임계값의 갱신에 의해 똑같이 변화한다.The threshold setting means 7 controls and resets the value of the closed threshold value by the deviation calculated by the threshold evaluation means 6. The open threshold changes equally by updating the closed threshold.

도 2 는 임계값의 설정이 타당한 경우로서, 열린쪽 임계값이 눈개폐 평가 출력치의 요동의 아래쪽에 있고, 닫힌쪽 임계값은 열린쪽 임계값보다도 다시 닫힌쪽으로 설정되어 있다. 눈의 개폐는 닫힌쪽 임계값을 기준으로 판정되어 있으므로 이상태에 있어서는 눈이 열린상태에 있을때의 눈의 개폐 평가 출력치의 요동에 의해 눈의 개폐를 잘못 판정하는 일이 없다. 이경우의 A와 그룹 B와의 계측의 편차(그룹 B - 그룹 A)는 0 보다 약간 큰 값으로 되어 있다.2 is a case where the setting of the threshold is valid, the open threshold is below the fluctuation of the eye-opening evaluation output value, and the closed threshold is set to the closed side again than the open threshold. Since the opening and closing of the eye is determined based on the closed threshold value, in this state, the opening and closing of the eye is not wrongly determined by the fluctuation of the eye opening and closing evaluation output value when the eye is in the open state. In this case, the measurement deviation between group A and group B (group B-group A) is slightly larger than zero.

도 3 은 임계값이 열린쪽으로 지나치게 치우친 상태이다. 이 경우 눈이 열린상태에 있을 때 눈의 개폐 평가 출력치의 요동에 닫힌쪽 임계값이 걸려있고, 눈이 열린 상태라도 닫힌 상태라고 잘못 판정을 해버린다.3 is a state in which the threshold value is excessively biased toward the open side. In this case, when the eye is in the open state, the closed threshold value is applied to the fluctuation of the open / closed evaluation output value of the eye, and the eye is incorrectly judged to be in the closed state even when the eye is open.

이 상태에 있어서 편차(그룹 B - 그룹 A)는 매우 큰 값으로 되어 있다. 이와같은 경우에는 임계값 설정수단(7)이 도 2 의 경우와 같이 편차가 0 보다도 약간 큰 값으로 되도록 닫힌쪽 임계값의 값을 갱신하여 재설정한다.In this state, the deviation (group B-group A) is a very large value. In such a case, the threshold setting means 7 updates and resets the value of the closed threshold so that the deviation becomes a value slightly larger than zero as in the case of FIG.

도 4 는 임계값이 닫힌쪽으로 지나치게 이동한 상태이다. 이 경우 눈이 닫힌 상태에 있을 때의 값 보다도 다시 닫힌쪽으로 닫힌쪽 임계값이 설정되어 있으므로 눈의 개폐를 판정할 수가 있다.4 is a state in which the threshold value is excessively moved toward the closed side. In this case, since the closed threshold value is set to the closed side again than the value when the eyes are closed, the opening and closing of the eye can be determined.

이 상태에 있어서 편차(그룹 B - 그룹 A)는 거의 0으로 되어 있다. 이와같은 경우에는, 임계값 설정수단(7)이 도 2 의 경우와 같이 0 보다도 약간 큰 값으로 되도록 닫힌쪽 임계값의 값을 재설정한다.In this state, the deviation (group B-group A) is almost zero. In such a case, the value of the closed threshold value is reset so that the threshold value setting means 7 becomes a value slightly larger than 0 as in the case of FIG.

상기 닫힌쪽 임계값의 갱신은 일정시간마다 행해진다. 즉 임계값 평가수단(6)의 평가에 의해서 바람직한 임계값의 위치에 근접하는 방향으로 일정시간마다 일정치씩 갱신시켜 간다.The update of the closed threshold value is performed every fixed time. That is, the evaluation by the threshold evaluation means 6 updates a fixed value every fixed time in the direction approaching the position of a preferable threshold value.

상술한 바와같이, 재설정된 2개의 임계값은 시간계측수단(5)에 부여되어, 그룹 분류에 사용되는 것과 동시에 개폐 판정수단(8)에 부여되고, 눈개폐 평가출력치와 닫힌쪽 임계값이 비교되어서 눈의 개폐가 판정된다.As described above, the reset two threshold values are given to the time measuring means 5, and used for group classification, and given to the opening / closing determination means 8, and the eye-opening evaluation output value and the closed threshold value are By comparison, the opening and closing of the eyes is determined.

따라서 실시예 1에 의하면 촬상된 화상의 변화에 의해 임계값을 적절한 값으로 갱신하므로, 눈의 개폐판정의 정밀도를 향상시킬 수가 있다.Therefore, according to the first embodiment, the threshold value is updated to an appropriate value due to the change of the picked-up image, so that the accuracy of eye open / close judgment can be improved.

또한, 실시예 1에서는 눈의 개폐평가로서 추출한 눈 영역의 최대 연속 흑색화소의 개수를 사용해서 설명하였으나, 이것에 한정되는 것은 아니고, 예를들자면 우리가 먼저 출원한 일본국 특허출원 특개평 제7-193647 호에 기재된 눈의 개폐 평가 수법을 적용해도 좋다.In Example 1, the maximum number of continuous black pixels of the eye region extracted as the eye opening / closing evaluation was explained, but the present invention is not limited thereto. For example, Japanese Patent Application Laid-Open No. 7 The eye open / close evaluation method described in -193647 may be applied.

또한, 실시예 1에 있어서는 열린쪽 임계값 및 닫힌쪽 임계값이라는 2개의 임계값을 써서 지정된 그룹으로서 그룹 A 및 그룹 B 라는 2개의 그룹을 선택하였으나, 임계값 및 지정된 그룹은 1개라도 좋다.In the first embodiment, two groups, group A and group B, were selected as the group designated by using two threshold values, the open threshold value and the closed threshold value. However, one threshold value and one specified group may be used.

즉, 실시예 1에서 표시한 닫힌쪽 임계값만을 사용해도 좋다. 구체적으로는 도 2 내지 도 4에 있어서의 닫힌쪽 임계값을 써서 눈의 개폐평가 출력치를 복수의 그룹, 즉 닫힌쪽 임계값 보다도 열린쪽의 영역의 그룹으로 분류한다. 따라서 지정된 그룹으로서, 예를들자면 닫힌쪽 임계값 보다도 열린쪽의 영역, 즉 그룹 B를 선택한다. 이 때 시간계측수단(5)으로 적산 계측하는 계측치는, 도 2의 상태에서, 1 보다도 약간 적은 값으로 된다. 또한 도 3 의 경우에서는 1 보다도 매우 적은 값으로 되고, 돗수의 경우에는 거의 1로 된다.That is, only the closed threshold value shown in Example 1 may be used. Specifically, the opening / closing evaluation output values of the eyes are classified into a plurality of groups, that is, a group of an open area rather than the closed threshold value, using the closed threshold values shown in FIGS. 2 to 4. Therefore, as the designated group, for example, the open area, that is, group B, is selected rather than the closed threshold value. At this time, the measured value integrated by the time measuring means 5 becomes a value slightly smaller than 1 in the state of FIG. In addition, in the case of FIG. 3, it becomes much smaller than 1, and in case of tap water, it becomes almost 1.

따라서 임계값 설정수단(7)으로 시간계측수단(5)의 계측치가 1보다도 약간 적어지도록 닫힌쪽 임계값의 값을 갱신해 두면 된다.Therefore, the threshold value setting means 7 may update the value of the closed threshold value so that the measured value of the time measurement means 5 is slightly smaller than one.

이것은 상술한 실시예 1 에서 기술한 것에 비해 연산이 간단해지고 처리속도를 높일 수가 있다.This can simplify the operation and increase the processing speed compared with that described in the above-described first embodiment.

[실시예 2]Example 2

실시예 2 는 실시예 1 과 거의 동일한 것으로서, 개폐판정수단(3)의 눈 개폐 판정방법만 다르다. 즉, 실시예 1 에서는 닫힌쪽 임계값과 눈의 개폐 평가출력치를 비교해서 눈의 개폐를 판정하였으나, 실시예 2에서는 닫힌쪽 임계값 및 열린쪽 임계값과 눈 개폐 평가출력치를 비교하여 눈의 개폐를 판정하고 있다. 도 7 은 실시예 2 의 개폐 판정수단의 동작을 도시하는 설명도이다.Example 2 is substantially the same as Example 1, and differs only in the eye open / close determination method of the open / close determination means 3. That is, in Example 1, the opening and closing of the eye was determined by comparing the closed threshold value and the open / closed evaluation output value of the eyes. In Example 2, the closed and closed threshold value and the open side threshold value were compared with the open / closed evaluation output value of the eyes. Is determined. 7 is an explanatory diagram showing the operation of the opening and closing determination means according to the second embodiment.

본 실시예 2 에서는 눈의 개폐 평가 출력치가 닫힌쪽 임계값 보다도 닫힌쪽으로 되었을때의 눈은 열림에서 닫힘으로 된다고 판정한다. 또한, 눈 개폐 평가출력치가 열린쪽 임계값보다도 열린쪽으로 될 때에는 눈이 닫힘에서 열림으로 된다고 판정한다. 즉, 눈의 개폐의 판정에 히스테리 시스를 갖도록 하고 있다.In Example 2, when the eye open / close evaluation output value becomes closed rather than the closed threshold value, it determines with the eyes closing from closing. In addition, when the eye open / close evaluation output value becomes the open side rather than the open side threshold value, it is determined that the eyes are closed to open. In other words, hysteresis is provided to determine the opening and closing of the eye.

따라서, 차량운전자가 눈을 천천히 개폐하고, 눈 개폐 평가출력치가 요동을 하고 있었더라도, 개폐 판정수단(8)의 판정결과가 챠타링을 일으키는 일이 없다.Therefore, even if the vehicle driver slowly opens and closes the eye and the eye open / close evaluation output value is swinging, the determination result of the open / close determination means 8 does not cause charting.

[실시예 3]Example 3

실시예 3은 임계값의 평가를 보다 정확하게 행하는 것이다. 실시예 3의 구성은 실시예 1 과 거의 동일하여, 임계값 평가수단(6)의 동작만이 실시예 1과는 다르다. 도 8 은 실시예 3 에 의한 임계값 평가수단의 동작을 도시하는 설명도이다.Example 3 evaluates the threshold more accurately. The configuration of the third embodiment is almost the same as that of the first embodiment, and only the operation of the threshold evaluation means 6 is different from the first embodiment. 8 is an explanatory diagram showing the operation of the threshold value evaluation means according to the third embodiment.

도 8a 는 일정시간에 있어서 눈의 개폐평가수단(4)의 눈의 열린상태의 출력에 대한 돗수분포의 한예를 도시한 것이다. 다음에 그룹 A와 그룹 B의 적산시간을 각각 도 8b 및 도 8c로 표시한다. 그룹 A의 적산시간은 열린쪽 임계값보다도 오른쪽 방향에 도시된 부분면적으로서, 그룹 B의 적산시간은 닫힌쪽 임계값보다도 오른쪽 방향에 도시된 부분면적으로서, 그룹 B의 적산시간은 닫힌쪽 임계값보다도 오른쪽 방향에 도시된 부분 면적이다. 여기에서, 닫힌쪽 임계값에 대한 파라미이터는 닫힌쪽에서 열린쪽으로 향해서 변화시킨다. 또한 이때 열린쪽 임계값은 닫힌쪽 임계값과 일정한 간격을 두고 변화한다. 이때의 그룹 A와 그룹 B의 그룹 A의 적산시간을 그룹 B의 적산시간으로 나눗셈한다. 도 8f는 그것의 나눗셈의 결과를 표시하고 있다. 상기 나눗셈한 값은 닫힌쪽 임계값이 열린쪽으로 이동함에 따라서만 감소한다. 이와같이 단조변화하는 값은 비교의 대상으로서 바람직하다.FIG. 8A shows an example of the tap water distribution with respect to the output of the open state of the eye of the eye open / close evaluation means 4 at a given time. Next, the integration time of group A and group B is shown in FIG. 8B and FIG. 8C, respectively. The integration time of group A is the partial area shown to the right of the open threshold, and the integration time of group B is the partial area shown to the right of the closed threshold, and the integration time of group B is the closed threshold. Rather, it is the partial area shown in the right direction. Here, the parameter for the closed threshold changes from the closed side to the open side. In addition, the open threshold changes at regular intervals from the closed threshold. The integration time of group A of group A and group B at this time is divided by the integration time of group B. 8F shows the result of its division. The divided value decreases only as the closed threshold moves toward the open side. This monotonous change value is preferable as a comparison target.

실시예 3에서는 임계값 평가수단(6)에 있어서 그룹 A의 계측결과 그룹 B 의 계측결과의 비율을 상술하는 바와같이 연산하고, 이 비율과 미리 정해진 일정치를 비교하여 편차를 연산하고 있다. 임계값 설정수단(7)에는 연산된 편차가 입력되고, 상기 편차가 감소하는 방향으로 닫힌쪽 임계값을 재설정하도록 하고 있다. 미리 정해진 일정치는 경험적으로 얻어지는 값으로서, 눈 개폐 평가 출력치와 임계값이 도 2 에 도시된 바와같은 위치관계로 되는 값이다.In the third embodiment, the threshold evaluation means 6 calculates the ratio of the measurement result of the group A to the measurement result of the group B as described above, and compares this ratio with a predetermined constant value to calculate the deviation. The calculated deviation is input to the threshold setting means 7, and the closed threshold is reset in the direction in which the deviation decreases. The predetermined constant value is an empirically obtained value, in which the eye open / close evaluation output value and the threshold value are in a positional relationship as shown in FIG. 2.

따라서, 실시예 3에서는 단조롭게 변화하는 값과 미리 정해진 값을 비교하도록 하므로서 임계값의 평가를 보다 정밀도가 좋게 행할 수가 있다.Therefore, in Example 3, the threshold value can be evaluated more accurately by comparing the monotonically changing value with the predetermined value.

또한 상술한 실시예에서는 도 9 에 도시된 바와같이, 일정시간마다 일정치 만큼 임계값을 갱신하고 있다. 본예에서는 바람직한 임계값에 이를때까지 7회의 갱신을 요하고 있다.In addition, in the above-described embodiment, as shown in Fig. 9, the threshold value is updated by a predetermined value every predetermined time. In this example, seven updates are required until the desired threshold is reached.

이에 대해서 실시예 3에서는 단조롭게 변화하는 값으로 미리정한 값을 비교하고 편차를 연산하도록 미리정한 값을 비교하고 편차를 연산 하도록 하므로서, 그것의 편차는 바람직한 임계값과 현재의 임계값의 이격 정도를 단조롭게 표시한다. 즉, 편차가 크면 바람직한 임계값과 현재의 임계값이 크게 떨어져 있고, 펀차가 적으면 바람직한 임계값과 현재의 임계값이 거의 일치한다고 말할 수 있다.On the other hand, in the third embodiment, the predetermined value is compared with the monotonically changing value, and the predetermined value is compared to calculate the deviation, and the deviation is calculated, so that the deviation monotonically separates the distance between the desired threshold value and the current threshold value. Display. In other words, if the deviation is large, the preferable threshold value and the current threshold value are largely separated, and if the puncture is small, it can be said that the preferable threshold value and the current threshold value almost match.

따라서, 임계값 설정수단(7)에 있어서, 편차의 크기에 의해 갱신하도록 하여, 7회의 갱신으로 현재의 임계값이 바람직한 임계값에 일치하도록 하여도 좋다.Therefore, the threshold value setting means 7 may update by the magnitude | size of a deviation, and may make it the current threshold value match with a preferable threshold value in 7 updates.

혹은, 바람직한 임계값과 현재의 임계값이 떨어져 있을수록 7회의 갱신에 의한 변화량을 크게 해도 좋다. 예를들자면 7회째의 갱신으로 편차의 8할을 해소하는 양만큼 임계값을 변화시키고, 그후는 일정시간 마다 일정치 만큼 임계값을 변화시키는 수법등이 있다.Alternatively, as the desired threshold is separated from the current threshold, the amount of change by seven updates may be increased. For example, there is a method of changing the threshold value by an amount that resolves 80% of the deviation by the seventh update, and then changing the threshold value by a constant value every fixed time.

이와같이 하여, 임계값을 바람직한 임계값에 의해 빨리 일치시킬 수가 있다.In this way, the thresholds can be quickly matched by the desired thresholds.

[실시예 4]Example 4

실시예 1에서는 지정된 그룹으로서 그룹 A와 그룹 B를 사용하였다.In Example 1, Group A and Group B were used as the designated group.

실시예 4는 지정된 그룹을 변경한 예를 도시하는 것으로서, 기본적으로 실시예 1과 같은 것이다. 도 10 내지 도 12 는 실시예 4의 동작을 설명하는 타임차트이다.The fourth embodiment shows an example in which the designated group is changed, and basically the same as the first embodiment. 10 to 12 are time charts illustrating the operation of the fourth embodiment.

도 10 은 임계값이 타당한 위치에 있는 상태를 도시하고 있다. 실시예 4에서는 소정의 그룹으로서, 상술한 열린쪽 임계값 보다도 열린쪽의 영역인 그룹 A과 열린쪽 임계값과 닫힌쪽 임계값 사이의 영역인 그룹 C를 사용하고 있다.10 shows a state where the threshold is in a reasonable position. In the fourth embodiment, as a predetermined group, group A, which is an open area, and group C, which is an area between the open and closed threshold values, are used as the predetermined group.

기본적인 동작은 실시예 1과 같으므로 여기에서는 임계값의 평가에 대해서만 설명한다.Since the basic operation is the same as in the first embodiment, only the evaluation of the threshold value is described here.

도 10 에 있어서 시간계측수단(5)은 일정시간 내에 있어서, 눈의 개폐평가출력치가 루프 A에 속해 있는 시간을 적산해서 계측함과 동시에 그룹 C에 대해서도 같이 계산하며 계측한다. 이때의 그룹 A와 그룹 C에 대해서도 같이 계산하며 계측한다. 이때의 그룹 A와 그룹 C의 계측치의 편차(그룹 A - 그룹 C)는 그룹 A의 계측치보다도 약간 적은 값으로 된다.In Fig. 10, the time measuring means 5 calculates and measures the group C while integrating and measuring the time when the eye open / close evaluation output value belongs to the loop A within a predetermined time. At this time, the group A and the group C are also calculated and measured. The deviation (group A-group C) of the measured values of group A and group C at this time becomes a value slightly smaller than the measured value of group A.

도 11 은 임계값이 열린쪽으로 지나치게 치우친 상태이다. 이때 그룹 A의 계측치가 감소하고 그룹 C의 계측치가 증가한다. 따라서 편차(그룹 A - 그룹 C)는 극단인 경우에는 음의 값으로 된다.11 is a state in which the threshold value is excessively biased toward the open side. At this time, the measured value of group A decreases and the measured value of group C increases. Therefore, the deviation (group A-group C) becomes negative in the extreme case.

도 12 는 임계값이 닫힌쪽으로 치우친 상태이다. 이때 그룹 A의 계측치가 증가함과 함께, 극단적인 경우에는 그룹 C의 계측치는 0으로 된다. 따라서 편차(그룹 A -그룹 C)는 극단적인 경우에는 그룹 A의 계측치 그 자체로 된다.12 is a state in which the threshold is biased to the closed side. At this time, while the measured value of the group A increases, in the extreme case, the measured value of the group C becomes zero. The deviation (group A-group C) is therefore the measurement of group A itself in extreme cases.

따라서 임계값 설정수단(7)은 이들의 편차를 받아 편차가 그룹 A의 계측치 보다도 약간 적은 값으로 되도록, 즉 도 10의 상태로 되도록 임계값을 갱신하고 재설정한다.Therefore, the threshold setting means 7 receives these deviations, and updates and resets the threshold values so that the deviations are slightly smaller than the measured values of the group A, that is, the state shown in FIG.

또한 실시예 4에서도 상술하는 실시예 2와 같이 눈의 개폐 판정에 히스테리시스를 갖도록 해도 좋다.Also in the fourth embodiment, the hysteresis may be provided in the eye open / close determination as in the second embodiment described above.

다음으로, 실시예 4에 있어서도 상술한 실시예 3과같이 임계값 경지의 정밀도를 향상시킬 수 있는 의미를 설명한다.Next, also in Example 4, the meaning which can improve the precision of a threshold value warning like Example 3 mentioned above is demonstrated.

도 13 은 실시예 4에 의한 임계값 평가수단의 별도의 동작을 도시하는 설명도로서, 도 8 에 도시한 것과 같은 것이다.FIG. 13 is an explanatory diagram showing another operation of the threshold value evaluation means according to the fourth embodiment, which is the same as that shown in FIG.

도 13a 는 일정시간에 있어서 눈개폐 평가수단(4)의 눈열린 상태 출력 돗수 분포의 한예를 도시한 것이다. 다음에 그룹 A 와 그룹 C 의 적산시간을 각각 도 13b 및 도 13c 에도시한다. 그룹 A의 적산지간은 열린 쪽 임계값 보다도 오른쪽 방향에 도시된 부분면적으로서, 그룹 C의 적산시간은 닫힌쪽 임계값과 열린쪽 임계값으로 구분된 부분면적이다. 여기에서 닫힌쪽 임계값을 파라메타로서 변화시킨다. 또한 이때 열린쪽 임계값도 닫힌쪽 임계값과 일정한 간격을 가지고 변화한다. 이때의 그룹 A와 그룹 C의 적산시간의 변화는 (d), (e)에 표시된 대로이다. 다음에 그룹 C의 적산시간을 그룹 A의 적산시간으로 나눗셈한다. 도면부호(f)는 그 나눗셈의 결과를 표시하고 있다. 이 나눗셈한 값은 닫힌쪽 임계값이 열린쪽으로 이동함에 따라서 단조 증가하고 있다. 이와같이 단조변화하는 값은 비교의 대상으로서 바람직하다.FIG. 13A shows an example of an eye open state output number distribution of the eye open / close evaluation means 4 at a given time. Next, the integration times of the groups A and C are shown in Figs. 13B and 13C, respectively. The integration area of group A is a partial area shown to the right of the open threshold, and the integration time of group C is a partial area divided into a closed threshold and an open threshold. Here we change the closed threshold as a parameter. In addition, the open threshold is also changed at regular intervals from the closed threshold. The change of integration time of group A and group C at this time is as shown to (d) and (e). Next, the integration time of group C is divided by the integration time of group A. Reference numeral f denotes the result of the division. This divided value monotonously increases as the closed threshold moves toward the open side. This monotonous change value is preferable as a comparison target.

거기에서 실시예 4에서는 임계값 평가수단(6)에 있어서, 그룹 A의 계측결과와 그룹 C의 계측결과의 비율이 상술한 바와같이 연산하고, 이 비율과 미리정해진 일정치를 비교하여 편차를 연산하고 있다. 임계값 설정수단(7)에는 연산된 편차가 입력되고, 그 편차가 감소하는 방향으로 닫힌쪽 임계값을 재설정하도록 하고 있다. 미리 정해진 일정치는 경험적으로 얻어지는 값으로서, 눈개폐 평가출력치와 임계값이 도 10 에 도시된 바와같은 위치관계로 되는 것이다.In Example 4, in the threshold value evaluation means 6, the ratio of the measurement result of the group A and the measurement result of the group C is calculated as described above, and the deviation is calculated by comparing this ratio with a predetermined constant value. Doing. The calculated deviation is input to the threshold value setting means 7, and the closed threshold value is reset in the direction in which the deviation decreases. The predetermined constant value is an empirically obtained value in which the eye-opening evaluation output value and the threshold value are in a positional relationship as shown in FIG.

따라서 실시예 4에서는 단조롭게 변화하는 값과 미리 정해진 값을 비교함으로서 임계값의 평가를 보다 정밀도 좋게 행할 수가 있다.Therefore, in Example 4, the threshold value can be evaluated more accurately by comparing the monotonically changing value with the predetermined value.

또한 상술한 실시예 1 내지 실시예 4에 있어서 임계값 평가수단(6)으로 사용하는 일정치 및 2개의 임계값의 차는 사용하는 눈 개폐 평가수단(4)의 출력특성에 의해 적당한 값을 설정하도록 하면 된다.In addition, in the above-mentioned Examples 1 to 4, the difference between the constant value and the two threshold values used as the threshold value evaluation means 6 is set so as to set an appropriate value by the output characteristics of the eye opening / closing evaluation means 4 to be used. Just do it.

[실시예 5]Example 5

실시예 5는 임계값의 초기 설정에 관한 것으로서, 장치 기동후, 임계값이 바람직한 값으로 빨리 설정되도록 하는 것이다.Embodiment 5 relates to an initial setting of a threshold value, in which the threshold value is quickly set to a desired value after the device is started.

도 14 에 임계값의 갱신의 모양을 도시한다. 상술한 실시예 1 내지 실시예 4에서는 열린쪽 임계값 보다도 열린쪽의 영역인 그룹 A와, 닫힌쪽 임계값 보다도 열린쪽 영역인 그룹 B와, 닫힌쪽 임계값과 열린쪽 임계값 사이의 영역인 그룹 C를 사용하고 있다.Fig. 14 shows how the threshold value is updated. In Examples 1 to 4 described above, Group A, which is an open area than the open threshold, Group B, which is an open area than the closed threshold, and an area between the closed and open thresholds. You are using group C.

따라서 도 14 의 경우에는 있어서는 어느 그룹의 계측치도 0으로 되고, 임계값의 타당성의 평가가 불가능하게 된다. 이 경우 가령 열린쪽 일정시간 마다 일정치 만큼 갱신해갔다면, 임계값은 눈의 개폐평가 출력치에서 점점 멀어지게 되고, 눈의 개폐를 판정할 수 없게 된다.Therefore, in the case of FIG. 14, the measured values of any group also become zero, and evaluation of the validity of the threshold value becomes impossible. In this case, for example, if it has been updated by a certain value every open time, the threshold value gradually moves away from the eye open / close evaluation output value, and the eye open / close cannot be determined.

실시예 5는 이와같은 불합리함이 생기지 않도록 하는 것이다.Example 5 prevents such an irregularity from occurring.

구체적으로는 눈개폐 평가출력치의 평균치 보다도 닫힌쪽에 임계값의 초기치를 설정함과 동시에 일정시간 내에 있어서 눈개폐 평가출력치가 2개의 임계값 중 어느것도 가로지르지 않는 경우에는 임계값을 열린쪽으로 갱신하도록 하고 있다.Specifically, the initial value of the threshold is set on the closed side of the average value of the eye-opening evaluation output value, and when the eye-opening evaluation output value does not cross any of the two threshold values within a predetermined time, the threshold value is updated to the open side. have.

그 모양을 도 15 에 도시한다. 도 15 에 있어서는 임계값이 장치 기동후, 바람직한 위치에 빠르게 갱신되어 있는 것을 알 수 있다.The shape is shown in FIG. In Fig. 15, it can be seen that the threshold value is quickly updated to the desired position after the device is started.

이 실시예에 있어서 정해진 시간은 약 10초 간이다. 또한, 임계값의 초기치는 경험에 의해 눈개폐 평가출력치의 평균치 보다도 닫힌쪽에, 있을듯한 값을 미리 설정한다.In this embodiment, the predetermined time is about 10 seconds. In addition, the initial value of a threshold value experiences previously set the likely value to the closed side rather than the average value of the eye-opening evaluation output value.

따라서 실시예 5에 의하면 장기기동후, 임계값을 바람직한 임계값의 위치에 빠르게 갱신 할 수가 있다.Therefore, according to the fifth embodiment, the threshold value can be quickly updated to the position of the desired threshold value after long-term start-up.

혹은 장치기동후의 일정시간에 있어서, 눈개폐 평가출력치의 평균치를 연산하고, 그 평균치 보다도 일정량 만큼 닫힌쪽의 위치에, 임계값의 초기치를 설정하도록 하여도 좋다.Alternatively, the average value of the eye open / close evaluation output values may be calculated at a fixed time after the device is started, and the initial value of the threshold value may be set at a position closed by a certain amount from the average value.

또한 장치기동후의 일정시간에 있어서, 눈개폐 평가출력치의 가장 닫힌쪽의 값을 검출하고 그 값보다도 약간 닫힌쪽의 위치에 임계값의 초기치를 설정하도록 하여도 좋다.In addition, at a fixed time after the device is started, the value of the closest side of the eye-closure evaluation output value may be detected and the initial value of the threshold may be set at a position slightly closed than the value.

다시 상술한 실시예에서는 임계값의 초기치를 눈개폐 평가출력치의 평균치 보다도 닫힌쪽에 설정하도록 하고, 일정시간내에 있어서 눈개폐 평가출력치가 임계값 가로지르지 아니하면 임계값을 열린쪽으로 갱신하도록 하였다.In the above-described embodiment, the initial value of the threshold value is set to the closed side than the average value of the eye-opening evaluation output value, and the threshold value is updated to the open side if the eye-opening evaluation output value does not cross the threshold value within a predetermined time.

이것과는 역으로 임계값의 초기치를 눈개폐 평가출력치의 평균치 보다도 열린쪽에 설정하도록 하고, 일정시간 내에 있어서 눈개폐 평가출력치가 임계값을 가로지르지 않으면 상기 임계값을 닫힌쪽으로 갱신하도록 하여도 좋다.Conversely, the initial value of the threshold value may be set to the open side than the average value of the eye-opening evaluation output value, and the threshold value may be updated to the closed side if the eye-opening evaluation output value does not cross the threshold value within a predetermined time.

그러나 상술한 실시예에서 설명한 바와같이 바람직한 임계값은 눈개폐 평가출력치의 평균치보다도 일정량 만큼 닫힌쪽에 위치하고 있다. 따라서 눈개폐 평가출력치의 평균치보다도 닫힌쪽에 임계값을 초기설정하는 것에 비해 임계값이 바람직한 위치에 갱신될 때 까지의 시간이 약간 길어지는 것에 주의하지 않으면 안된다.However, as described in the above embodiment, the preferable threshold value is located on the closed side by a certain amount than the average value of the eye-opening evaluation output value. Therefore, it should be noted that the time until the threshold value is updated to the desired position is slightly longer than the initial setting of the threshold value on the closed side than the average value of the eye-opening evaluation output value.

[실시예 6]Example 6

상술한 실시예에서는 차량 운전자의 얼굴 촬상 조건이 변화해도 정확한 눈의 개폐 판정이 가능하도록 갱신하는 것에 대해서 설명하였다. 그러나 차량 운전자가 졸리는 등의 이유로 눈이 감으려하면, 이것에 추종해서 임계값이 갱신되고, 각 성시와 비교해서 임계값이 닫힌쪽으로 지나치게 이동할 가능성이 있다.In the above-described embodiment, the updating is performed so that accurate eye open / close determination is possible even when the image pickup conditions of the vehicle driver change. However, if the driver tries to close his eyes due to sleepiness or the like, the threshold value is updated in accordance with this, and there is a possibility that the threshold value is excessively shifted to the closed side in comparison with each castle.

실시예 6 에서는 임계값을 갱신할 수 있는 범위 즉 가변 범위를 설정하고 임계값이 바람직한 범위에서 이탈하는 것을 방지하도록 하고 있다.In the sixth embodiment, a range in which the threshold value can be updated, that is, a variable range is set, and the threshold value is prevented from deviating from the preferred range.

도 16 은 실시예 6 의 구성을 도시하는 블록도이다. 도면에 있어서 부호(1) 내지 부호(8)은 상술한 실시예에서는 설명한 것과 동일하거나 상당하는 것이다. 도면 부호(9)는 일정 시간내에 있어서, 개폐 판정수단(8)에 의해 눈이 열린 상태로 판정된 때, 운 개폐 평가 수단(4) 출력의 최대 열린쪽 값인 최대 열린 값을 기록하는 최대 열린값 기록 수단으로, 상기 최대 열린값은 눈이 열린 상태에 있을때의 대표적인 값이다. 도면 부호(10)은 최대 열린값 기록 수단(9)의 기록치가 입력되고, 일정시간마다. 필터링 처리를 하는 최대 열린값 필터로서, 최대 열린값 기록 수단(9)과 함께 열린값 연산 수단을 구성하고 있다. 도면 부호(11)는 일정 시간내에 있어서 개폐 판정 수단(8)에 의해 눈이 닫힌 상태로 판정된 때의 눈 개폐 평가 수단(4)의 출력이 최소 닫힌쪽의 값인 최소 닫힌값을 기록하는 최소 닫힌값 기록 수단으로, 상기 최소 닫힌값은 눈이 닫힌 상태에 있을때의 대표적인 값이다. 도면 부호(12)는 최소 닫힌값 기록 수단(11)의 기록치가 입력되고 일정시간마다 필터링 처리를 행하는 최소 닫힌값 필터로 최소 닫힌값 기록 수단(11)과 함께 닫힌값 연산 수단을 구성하고 있다. 도면 부호(13)는 최대 열린값 필터(10)와 최소 닫힌값 필터(12)와의 출력이 입력되는 임계값 제한 수단으로 일정 시간내에 얻어진 최대 열린값을 필터링 처리한 값과, 일정 시간내에 얻어진 가장 닫힌값을 필터링 처리한 값에 의해 임계값 설정 수단(7)에 의해 설정되는 임계값의 가변 범위를 설정한다.16 is a block diagram showing a configuration of the sixth embodiment. In the drawings, reference numerals 1 to 8 are the same as or equivalent to those described in the above-described embodiment. The reference numeral 9 denotes the maximum open value for recording the maximum open value which is the maximum open side value of the operation opening / closing evaluation means 4 output when it is determined that the eye is opened by the opening / closing determination means 8 within a predetermined time. With recording means, the maximum open value is a representative value when the eye is in the open state. In the reference numeral 10, the recording value of the maximum open value recording means 9 is input, every fixed time. As the maximum open value filter for performing the filtering process, the open value calculation means is configured together with the maximum open value recording means 9. Reference numeral 11 denotes a minimum closed value in which the output of the eye open / close evaluation means 4 records the minimum closed value at which the output of the eye open / close evaluation means 4 is determined to be in the closed state within the predetermined time. As the value recording means, the minimum closed value is a representative value when the eyes are in the closed state. Reference numeral 12 designates a closed value calculating means together with the minimum closed value recording means 11 as a minimum closed value filter in which the recording value of the minimum closed value recording means 11 is input and performs a filtering process every fixed time. Reference numeral 13 denotes a threshold limit means for inputting the output of the maximum open value filter 10 and the minimum closed value filter 12 to filter the maximum open value obtained within a predetermined time and the value obtained within a predetermined time. The variable range of the threshold value set by the threshold value setting means 7 is set by the value which filtered the closed value.

실시예 6 에 있어서, 임계값의 가변 범위의 설정의 방법에 대해서 설명한다. 그밖의 기본적인 동작은, 상술한 실시예와 같으므로 여기에서는 생략한다.In Example 6, the method of setting the variable range of a threshold value is demonstrated. Other basic operations are the same as in the above-described embodiment, and thus are omitted here.

최대 열린값 기록 수단(9)은 일정 시간내에 있어서 차량 운전자의 눈이 열린 상태라고 판정된 때의 눈 개폐 평가 수단(4)의 출력의 최대 열린값을 기록하고 있다. 이 기록치는 최대 열린값 필터(10)에 일정 시간마다 차례로 부여된다. 최대 열린값 필터(10)에서는 최대 열린값 기록 수단(9)으로 설정되어 있는 일정시간 보다 긴 일정시간마다 필터링 처리가 행해지고 있다. 여기에서는 최대 열린값 기록 수단(9)에서 부여된 복수개의 최대 열린값을 필터링 처리해서, 눈이 열린 상태에는 눈 개폐 평가 수단(4) 출력 요동의 평균적인 상한치를 연산한다.The maximum open value recording means 9 records the maximum open value of the output of the eye open / close evaluation means 4 when it is determined that the eyes of the vehicle driver are open within a predetermined time. This recorded value is sequentially given to the maximum open value filter 10 every fixed time. In the maximum open value filter 10, the filtering process is performed every fixed time longer than the fixed time set by the maximum open value recording means 9. As shown in FIG. Here, the plurality of maximum open values given by the maximum open value recording means 9 are filtered, and the average upper limit value of the output fluctuation of the eye open / close evaluation means 4 is calculated in the open state.

똑같이 최대 닫힌값 기록 수단(11)은 일정 시간내에, 차량 운전자의 눈이 닫힌 상태에 있다고 판정된 때의 눈의 개폐 평가 수단(4) 출력의 최소 닫힌값을 기록하고 있다. 상기 기록치는 가장 닫힌값 필터(12)에 일정시간마다 차례로 부여된다. 최소 닫힌값 기록 수단(11)에서 설정되어 있는 일정시간 보다도 긴 일정시간마다 필터링 처리가 행해지고 있다. 여기에서는 최소 닫힌값 기록 수단(11)에서 부여되는 복수개의 최소 닫힌값을 필터링 처리하여, 눈이 닫힌 상태에서 눈 개폐 평가 수단(4) 출력 요동의 평균적인 하한치를 연산한다.Similarly, the maximum closed value recording means 11 records the minimum closed value of the output of the eye open / close evaluation means 4 when it is determined that the eyes of the vehicle driver are in the closed state within a certain time. The recorded value is sequentially given to the most closed value filter 12 every predetermined time. The filtering process is performed every fixed time longer than the fixed time set by the minimum closed value recording means 11. Here, the plurality of minimum closed values provided by the minimum closed value recording means 11 are filtered to calculate an average lower limit value of the output fluctuation of the eye open / close evaluation means 4 in the closed state.

이에따라 차량 운전자의 눈의 개폐에 수반하는 눈 개폐 평가 수단(4)의 평균적인 출력 범위가 얻어진다. 임계값 제한 수단(13)에서는 상기 평균적인 출력 범위를 사용해서 닫힌쪽의 가변 범위를 다음의 수학식에 의해 설정한다.Thereby, the average output range of the eye open / close evaluation means 4 accompanying the opening and closing of the eyes of the vehicle driver is obtained. In the threshold limiting means 13, the closed variable range is set by the following equation using the average output range.

닫힌쪽 임계값이 최소 닫힌쪽이 되는 하한치는 수학식 1 에 의해 얻어진다. 즉 최소 닫힌값을 기준으로 하고 이것에 평균적인 출력범위에 정수 1 을 곱한 것을 가산한다. 또한, 닫힌쪽 임계값이 최대 열린쪽이 되는 상한치는 수학식 2 에 의해 얻어진다. 상기 수학식 2는 상기 수학식 1 과 같은 것이나 평균적인 출력 범위에 곱해지는 정수가 다르다. 여기에서 정수 1 과 정수 2 는 사용하는 눈 개폐 평가 수단(4)의 출력 특성에 맞추어서 적당한 값을 선택하는 것이나, 수학식 1 은 하한치를, 수학식 2 는 상한치를 설정하는 것이므로 정수 2 는 정수 1에 비해서 큰값이 선택된다.The lower limit at which the closed threshold becomes the minimum closed side is obtained by the equation (1). That is, it is based on the minimum closed value and is multiplied by an integer of 1 to the average output range. In addition, the upper limit value at which the closed threshold becomes the maximum open side is obtained by the expression (2). Equation 2 is the same as Equation 1 above, but differs from an integer multiplied by an average output range. Here, the constant 1 and the constant 2 select an appropriate value in accordance with the output characteristics of the eye open / close evaluation means 4 to be used, but since the formula 1 sets the lower limit and the formula 2 sets the upper limit, the constant 2 represents the constant 1 Larger value is selected.

임계값 제한 수단(13)은 임계값 설정 수단(7)에서 설정한 닫힌쪽 임계값이 상술한 수학식으로 얻어진 닫힌쪽 임계값의 상한치와 하한치의 범위인가 아닌가를 판정한다. 닫힌쪽 임계값이 연산한 가변 범위이내이면 임계값 설정 수단(7)에서 설정한 임계값을 그대로 시간 계측 수단(5) 및 개폐 판정 수단(8)에 부여한다. 만약 연산한 가변 범위에서 이탈하고 있는 경우는 닫힌쪽 임계값을 상한치, 혹은 하한치의 어떤 것의 값으로 제한해서 시간 계측 수단(5)의 개폐 판정 수단(8)에 부여한다. 닫힌쪽 임계값이 가변 범위 보다도 열린쪽으로 이탈하고 있을 때는 상한치에 제한되고, 닫힌쪽 임계값이 가변 범위 보다도 닫힌쪽으로 이탈하였을 때는 하한치로 제한된다.The threshold limiting means 13 determines whether or not the closed threshold set by the threshold setting means 7 is within a range between the upper limit value and the lower limit value of the closed threshold value obtained by the above-described equation. If the closed threshold value is within the calculated range, the threshold value set by the threshold value setting means 7 is given to the time measurement means 5 and the opening / closing determination means 8 as it is. In the case of deviation from the calculated variable range, the closed threshold value is limited to a value of an upper limit value or a lower limit value to the opening / closing determination means 8 of the time measurement means 5. When the closed threshold is out of the variable range to the open side, it is limited to the upper limit, and when the closed threshold is out of the variable range, it is limited to the lower limit.

또한 열린쪽 임계값은 닫힌쪽 임계값 보다도 고정의 일정량만큼 열린쪽에 있는 것이므로 닫힌쪽 임계값의 가변 범위에 제한이 가해짐으로서 열린쪽 임계값에도 꼭같이 제한이 가해진다.In addition, since the open threshold is on the open side by a fixed amount than the closed threshold, a limit is placed on the variable range of the closed threshold so that the open threshold is equally limited.

따라서 본 실시예 6 에 의하면 차랑 운전자의 눈이 감겨지려할 경우라도 임계값이 부적당한 위치로 갱신되는 일이 없고, 눈의 개폐를 정확하게 판정할 수가 있다.Therefore, according to the sixth embodiment, even when the eyes of the driver and the driver are about to be closed, the threshold value is not updated to an inappropriate position, and the eye can be determined accurately.

또한 실시예 6 에서는 일정 시간내에 있어서, 개폐 판정 수단(8)이 열린 상태라고 판정한 때의 최대 열린값 및 일정 시간내에 있어서 개폐 판정 수단(8)이 닫힌 상태로 판정한 때의 최소 닫힌값을 기록하도록 하고 있다.Further, in the sixth embodiment, the maximum open value when the open / close determination means 8 is determined to be in the open state within a predetermined time, and the minimum closed value when the open / close determination means 8 is determined to be closed within the fixed time. I have to record.

따라서 차량 운전자가 일정 시간내에 있어서 계속 눈을 감고 있어서 눈 개폐 평가 수단(4)의 출력이 적은 상태에서는 눈이 감긴 상태라고 판정되지 않으므로, 이와 같은 상태에 있어서의 값을 최대 열린값으로서 기록하는 일은 없다.Therefore, since the vehicle driver keeps closing the eyes within a predetermined time and the output of the eye opening / closing evaluation means 4 is small, it is not determined that the eyes are closed, and therefore, recording the value in such a state as the maximum open value. none.

마찬가지로 차량 운전자가 일정 시간내에 있어서 계속 눈을 뜨고 있어서 눈의 개폐 평가 수단(4)의 출력이 큰 상태에서는 눈이 닫힌 상태라고 판정되지 않으므로, 이와 같은 상태에 있어서 값을 최소 닫힌 값으로서 기록하는 일은 없다.Similarly, since the vehicle driver keeps eyes open within a certain time and the output of the eye open / close evaluation means 4 is not judged to be closed, the recording of the value as the minimum closed value in such a state is necessary. none.

따라서 본 실시예 6 에 의하면 눈 개폐 평가 수단(4)의 평균적인 출력 범위를 정확하게 연산할 수가 있다.Therefore, according to the sixth embodiment, the average output range of the eye open / close evaluation means 4 can be calculated accurately.

[실시예 7]Example 7

실시예 7 은 실시예 6 의 변형예로서, 실시예 6 에서는 눈이 열린 상태에 있을때의 대표적인 값으로서 가장 열린값을 사용하였으나, 실시예 7 에서는 눈이 열린 상태에 있을때의 대표적인 값으로서 눈이 열린 상태인 때의 눈의 개폐 평가 수단(4)의 출력이 평균치를 사용하고 있다.Example 7 is a modified example of Example 6, but in Example 6, the most open value is used as the representative value when the eyes are in the open state, whereas in Example 7, the eye is opened as the representative value when the eyes are in the open state. The output of the eye open / close evaluation means 4 when it is a state uses the average value.

도 17 은 실시예 7 의 구성을 도시하는 블록도이다. 도면에 있어서 상술한 실시예와 동일 혹은 상당하는 부분에는 동일한 부호를 붙이고 있다. 도면 부호(14)는 일정 시간내에 있어서 개폐 판정 수단(8)이 열린 상태라고 판정된 때의 눈의 개폐 평가 수단(4)의 출력을 필터링 처리하는 열린값 필터로 열린값 연산 수단을 구성하고 있다. 도면 부호(15)는 열린값 필터(14)와 최소 닫힌값 필터(12)와의 출력을 받아서 닫힌쪽 임계값의 가변 범위를 설정하는 임계값 제한 수단이다.17 is a block diagram showing a configuration of the seventh embodiment. In the drawings, the same or corresponding parts as in the above-described embodiment are denoted by the same reference numerals. Reference numeral 14 constitutes an open value calculation means with an open value filter for filtering the output of the eye open / close evaluation means 4 when the open / close determination means 8 is determined to be open within a predetermined time. . Reference numeral 15 denotes a threshold limit means for receiving the output of the open value filter 14 and the minimum closed value filter 12 and setting a variable range of the closed threshold value.

실시예 7 의 기본적인 동작은 상술한 실시예 6 과 같은 것이므로, 여기에서는 주로 다른점에 대해서만 설명한다.Since the basic operation of the seventh embodiment is the same as that of the sixth embodiment described above, only differences are mainly described here.

열린값 필터(14)는 일정 시간내에 있어서 개폐 판정 수단(8)이 눈이 열린 상태라고 판정된 때의 눈의 개폐 평가 수단(4)의 출력치를 필터링 처리하고 있고, 차량 운전자가 눈을 열고 있을때의 평균적인 값(이하 열린값이라 칭함)을 출력하고 있다. 임계값 제한 수단(15)은 열린값 필터(14)로부터의 필터링 처리된 열린값과 최소 닫힌값 필터(12)로부터의 필터링 처리된 최소 닫힌값을 써서 닫힌쪽 임계값의 가변 범위를 연산한다.The open value filter 14 filters the output value of the eye open / close evaluation means 4 when the open / close determination means 8 determines that the eye is open in a certain time, and the vehicle driver opens the eye. An average value of hereinafter (hereinafter referred to as an open value) is output. The threshold limiting means 15 calculates the variable range of the closed threshold by using the filtered open value from the open value filter 14 and the filtered minimum closed value from the minimum closed value filter 12.

닫힌쪽 임계값의 하한치는 수학식 3 에 의해 얻어진다. 즉 최소 닫힌값을 기준으로 하고 이것에 평균적인 열린값과, 최소 닫힌값의 차이에 정수 3을 곱한 것이 가산한다. 또한 닫힌쪽 임계값의 상한치는 수학식 4 에 의해 얻어진다. 상기 수학식 4 은 상기 수학식 3 과 같은 것이나, 평균적인 열린값과 최소 닫힌값의 차에 곱셈되는 정수가 다르다. 여기에서 정수 3 과 정수 4 는 사용하는 눈 개폐 평가 수단(4)의 출력 특성에 맞추어서 적당한 값을 선택하는 것이나 수학식 3 은 하한치를 설정하고, 식(4)는 상한치를 설정하는 것이므로, 정수 4 는 정수 3에 비해서 큰 값으로 선택된다.The lower limit of the closed threshold is obtained by equation (3). In other words, the difference between the average open value and the minimum closed value is multiplied by an integer 3 based on the minimum closed value. In addition, the upper limit of the closed threshold is obtained by equation (4). Equation 4 is the same as Equation 3, but differs from an integer multiplied by the difference between the average open value and the minimum closed value. The constants 3 and 4 here select an appropriate value in accordance with the output characteristics of the eye open / close evaluation means 4 to be used, and Equation 3 sets the lower limit, and Equation (4) sets the upper limit, so that the constant 4 Is chosen to be a large value compared to the integer 3.

임계값 제한 수단(15)은 임계값 설정 수단(7)에서 설정한 닫힌쪽 임계값이 상술한 수학식으로 얻어진 닫힌쪽 임계값의 상한치와 하한치의 범위에 있는가 없는가를 판정한다. 닫힌쪽 임계값이 연산한 가변 범위내에 있으면, 임계값 설정 수단(7)에서 설정한 임계값을 그대로 시간 계측 수단(5) 및 개폐 판정 수단(8)에 부여한다. 만약 연산한 가변 범위에서 이탈하고 있던 경우는 닫힌쪽 임계값의 값을 상한치 혹은 하한치의 어떤것의 값으로 제한해서 시간 계측 수단(5) 및 개폐 판정 수단(8)에 부여한다. 닫힌쪽 임계값이 가변 범위 보다도 열린쪽으로 이탈하고 있을 때에는 상한치에 제한되고, 닫힌쪽 임계값이 가변 범위 보다도 닫힌쪽으로 이탈하고 있을때는 하한치에 제한된다.The threshold value limiting means 15 determines whether or not the closed threshold value set by the threshold value setting means 7 is within a range between the upper limit value and the lower limit value of the closed threshold value obtained by the above-described equation. If the closed threshold value is within the calculated range, the threshold value set by the threshold value setting means 7 is given to the time measurement means 5 and the opening / closing determination means 8 as it is. If it is out of the calculated variable range, the value of the closed threshold value is limited to any one of an upper limit value and a lower limit value, and is given to the time measuring means 5 and the opening / closing determination means 8. When the closed threshold value deviates to the open side than the variable range, it is limited to the upper limit value, and when the closed threshold value deviates to the closed side than the variable range, it is limited to the lower limit value.

따라서 실시예 7 에서는 실시예 6에서 설명한 것과 같은 효과를 갖는다.Therefore, in Example 7, it has the same effect as described in Example 6.

또한 실시예 7 에서는 눈의 개폐 평가 수단(4)의 평균적인 출력 범위을 연산하는 때에 눈이 열린 상태에 있어서 최대 열린값이 아니고 평균적인 값인 열린값을 사용하고 있다.In Example 7, when calculating the average output range of the eye open / close evaluation means 4, the open value which is an average value instead of the maximum open value in the open state of an eye is used.

따라서 눈 개폐 평가 수단(4)의 출력에 노이즈가 중첩되어도 이것을 필터링 처리를 하므로 실시예 6 에 비해 노이즈에 의한 영향을 저감할 수가 있다.Therefore, even if the noise is superimposed on the output of the eye open / close evaluation means 4, since the filtering process is performed, the effect due to the noise can be reduced as compared with the sixth embodiment.

[실시에 8][Example 8]

실시예 8 은 상술한 실시예 6 실시예 7에서 설정한 닫힌쪽 임계값의 가변 범위를 장치 기동후의 일정 시간 경과 후에 유효하게 하는 것이다.In the eighth embodiment, the variable range of the closed threshold value set in the sixth embodiment above is made effective after a predetermined time after the device is started.

도 18 은 실시예 8 의 구성을 도시하는 블록도이다. 도면에 있어서 부호(16)는 장치가 동작하고서부터 일정 기간이 경과할때까지는 임계값의 가변 범위를 갱신하고, 일정 기간의 경과 후는 임계값의 가변 범위의 변경을 금지하는 임계값 제한 제어 수단이고 도면부호(17)는 장치가 기동하면서부터 일정 기간 경과한 것을 검출하는 기간 검출 수단으로서의 타이머이다.18 is a block diagram showing a configuration of the eighth embodiment. In the figure, reference numeral 16 denotes a threshold value limiting control means for updating the variable range of the threshold value from the time when the apparatus is operated until a certain period has elapsed, and prohibiting the change of the variable range of the threshold value after the predetermined period has elapsed. Reference numeral 17 denotes a timer as a period detecting means for detecting that a certain period has elapsed since the device was started.

실시예 8 의 기본적인 동작은 상술한 실시예와 같으므로, 여기에서는 임계값이 가변 범위의 설저을 유효하게 하는 동작에 대해서만 설명한다.Since the basic operation of the eighth embodiment is the same as that of the above-described embodiment, only the operation of enabling the threshold value of the variable range to be valid is described here.

일반적으로 차량 운전자는 장치를 기동시켰을 때는 정신을 바싹 차리고 있다고 생각된다. 또한 눈을 5 분간 한 번도 깜빡하지 아니하는 일은 없다고 생각된다. 거기에서 실시예 8 에서는 타이머(17)에서 장치가 기동하고부터 소정 기간인 5 분이 경과한 것을 검출하도록 하고 있다. 그래서 임계값 제한 제어 수단(16)은 상기 5 분이 경과할 때까지 임계값 제한 수단(5)으로 연산되는 가변 범위의 갱신을 허용하고 있다.It is generally believed that the vehicle driver is alert when the device is activated. It is also thought that there is no need to blink once for five minutes. In the eighth embodiment, the timer 17 detects that five minutes, which is a predetermined period, have elapsed since the device was started. Thus, the threshold limit control means 16 allows the updating of the variable range calculated by the threshold limit means 5 until the five minutes have elapsed.

장치를 기동시켜서부터 5분이 경과하면 타이머(17)는 임계값 제한 제어 수단(16)에 그 신호를 전달한다. 이것을 받아서 임계값 제한 제어 수단(16)은 임계값 제어 수단(15)의 가변 범위의 갱신을 금지한다.When five minutes have elapsed since the device was started, the timer 17 transmits the signal to the threshold limit control means 16. In response to this, the threshold value limit control means 16 prohibits updating of the variable range of the threshold value control means 15.

따라서 실시예 8 에 의하면 차량 운전자가 정신차리고 있다고 생각되는 기간에 있어서 닫힌쪽 임계값의 가변 범위를 설정할 수가 있다.Therefore, according to the eighth embodiment, the variable range of the closed threshold value can be set in the period in which the vehicle driver is considered to be aroused.

또한 장치 가동후의 5분간은 닫힌쪽 임계값의 가변 범위의 갱신이 허가되고 있으므로, 5분간에 가변 범위를 갱신하여, 바람직한 가변 범위를 얻을 수가 있다.In addition, since the variable range of the closed threshold value is allowed to be updated for five minutes after the device is operated, the variable range can be updated in five minutes, thereby obtaining a preferable variable range.

또한 장치가 기동하고서부터 5분 경과한 후는 가변 범위의 갱신을 금지하여 닫힌쪽 임계값에 대한 상한치와 하한치를 유효하게하므로 닫힌쪽 임계값이 바람직하지 못한 값으로 갱신되는 일이 없다.In addition, after 5 minutes have elapsed since the device was started, the upper limit and the lower limit of the closed threshold value are prevented from being updated, so that the closed threshold value is not updated to an undesirable value.

또한 실시예 8 에서는 실시예 7 을 베이스로 하여 설명하였으나 실시예 6 에도 마찬가지로 적용할 수가 있다.In addition, although Example 8 was demonstrated based on Example 7, it can apply also to Example 6.

[실시예 9]Example 9

실시예 9 는 상술한 실시예 8 의 변형예이다. 도 19 는 실시예 8 의 구성을 도시하는 블록도이다. 도면에 있어서 부호(18)은 장치가 동작하고서부터 일정 기간이 경화할 때까지는 임계값의 가변 범위의 갱신을 허가함과 함께 일정 기간의 경과 후의 임계값의 가변 범위의 변경을 금지하는 임계값 제한 제어 수단이고 도면 부호(19)는 장치가 가동하고서부터 일정 기간 경과한 것을 검출하는 기간 검출 수단으로서의 최소 닫힌값 기록 카운터이다.Example 9 is a modification of Example 8 mentioned above. 19 is a block diagram showing a configuration of the eighth embodiment. In the figure, reference numeral 18 denotes a threshold limit that permits the updating of the variable range of the threshold value from the operation of the apparatus until the period of time is hardened, and prohibits the change of the variable range of the threshold value after the elapse of the predetermined period. It is a control means and 19 is a minimum closed value recording counter as a period detection means which detects that a fixed period has passed since the apparatus was operating.

실시예 9 의 기본적인 동작은 상술한 실시예와 같은 것으로, 여기에서는 임계값의 가변 범위의 설정을 유효하게 하는 동작에 대해서만 설명한다.The basic operation of the ninth embodiment is the same as the above-described embodiment, and only an operation for validating the setting of the variable range of the threshold value will be described here.

일반적으로 차량 운전자는 장치를 기동시켰을 때에 정신차리고 있다고 생각된다. 또한 5분간 한 번도 깜빡하지 아니한 일은 없다고 생각된다. 그러나 깜박하는 회수가 적은 사람의 경우는 5분간에 얻어지는 열린값 혹은 가장 닫힌값의 개수가 적으므로 깜빡임이 많은 사람에 비해 정확한 눈의 개폐 평가 수단(4)의 평균적 출력 범위를 얻기가 어렵다.It is generally believed that the vehicle driver is awake when the device is activated. Also, I don't think there's anything I didn't forget once in five minutes. However, in the case of a person having a small number of blinks, since the number of open or close values obtained in 5 minutes is small, it is difficult to obtain an average output range of the eye open / close evaluation means 4 more accurately than a person having many blinks.

거기에서 실시예 9 에서는 최소 닫힌값 기록 카운터(19)에서 장치가 기동하고서부터 차량 운전자가 몇회 깜빡였는가를 계측하도록 하고 있다. 즉 최소 닫힌값 기록 카운터(19)에는 최소 닫힌 장치 기록 수단(11)의 출력이 입력되어 있고 , 최소 닫힌값 기록 수단이(11)이 최소 닫힌값을 기록할 때 마다 카운트값을 차례로 1씩 가산하고 있다.In Example 9, the minimum closed value recording counter 19 measures how many times the vehicle driver has blinked since the device was started. That is, the output of the minimum closed device recording means 11 is input to the minimum closed value recording counter 19, and the minimum closed value recording means adds a count value by one each time the 11 closes the minimum closed value. Doing.

최소 닫힌값 기록 카운터(19)는 카운트값이 미리 정해진 일정치에 이르면 최소 닫힌값 카운터(19)는 임계값 제한 제어 수단(18)에 장치를 기동하고서부터 일정 기간 경과하였다고 판정한다. 여기에서 일정 기간은 차량 운전자가 최소 닫힌값 기록 카운터(19)에 미리 정해진 회수만큼 깜빡이는 기간이다.The minimum closed value recording counter 19 determines that the minimum closed value counter 19 has elapsed for a period of time from the start of the apparatus to the threshold limit control means 18 when the count value reaches a predetermined constant value. Here, the predetermined period is a period in which the vehicle driver blinks by the predetermined number of times at the minimum closed value recording counter 19.

임계값 제한 제어 수단(18)은 차량 운전자가 일정한 회수만큼 깜빡이는 동안은 임계값 제한 수단(15)에서 연산되는 가변 범위의 갱신을 허가하고 있다.The threshold limit control means 18 permits the updating of the variable range calculated by the threshold limit means 15 while the vehicle driver blinks for a certain number of times.

장치를 기동시켜서부터 차량 운전자가 일정의 회수만큼 깜빡이면, 최소 닫힌값 기록 카우터(19)는 일정 기간이 경과하였다고 판정하여 임계값 제한 제어 수단(18)에 그 신호를 전달한다. 이것을 받아서 임계값 제한 제어 수단(18)은 임계값 제어 수단(15)의 가변 범위의 갱신을 금지한다.If the vehicle driver blinks a certain number of times from starting the device, the minimum closed value recording counter 19 determines that a certain period has elapsed and transmits the signal to the threshold limit control means 18. In response to this, the threshold limit control means 18 prohibits updating of the variable range of the threshold value control means 15.

또한 최소 닫힌값 기록 카운터(19)에 설정되는 일정치는 눈의 개폐 평가 수단(4)의 평균적인 출력 범위를 충분히 정확하게 판정할 수 있는 필요 최소한의 개수 열린값 및 최소 닫힌값이 얻어지는 것만의 수로 설정한다.In addition, the constant value set in the minimum closed value recording counter 19 is set to the number of only necessary minimum number of open values and minimum closed values to be able to accurately and accurately determine the average output range of the eye open / close evaluation means 4. do.

따라서 실시예 9 에 의하면 실시예 8 의 효과에 더해서 깜빡이는 회수가 개인차에 의해 다르다 하더라도 닫힌쪽 임계값의 가변 범위를 바람직한 범위로 설정할 수가 있다.Therefore, according to the ninth embodiment, in addition to the effect of the eighth embodiment, even if the number of blinks varies depending on the individual difference, the variable range of the closed threshold value can be set to a preferable range.

또한 실시예 9 에서는 실시예 7 을 베이스로하여 설명하였으나 실시예 6 에도 마찬가지로 적용할 수가 있다.In addition, although Example 9 was demonstrated based on Example 7, it is applicable also to Example 6.

[실시예 10]Example 10

실시예 10은 임계값의 평가에 관한 것으로 상술한 실시예와는 별도의 평가 방법 및 장치를 제공하는 것이다.Embodiment 10 relates to evaluation of a threshold value, and provides an evaluation method and apparatus separate from the above-described embodiment.

도 20 은 일정 시간내에 있어서 눈 개폐 평가 수단 출력의 돗수 분포에 대한 한예를 도시한 것이다. 이 도면에 의하면 돗수 분포는 눈이 열린 상태에 있을때의 눈 개폐 평가 수단의 출력의 분포와, 눈이 닫힌 상태에서 있을때의 눈의 개폐 평가 수단의 출력의 분포와, 눈이 열린 상태에서 닫힌 상태 혹은 닫힌 상태에서 열린 상태로 변화하는 도중의 눈의 개폐 평가 수단의 출력의 분포와의 3 종류로 크게 나누어져 있다. 또한 이 도면에 의하면 도면중에 파선으로 표시한 바와 같이 2개의 산모양이 있는 것 같이 보인다.20 shows an example of the distribution of the number of taps of the output of the eye open / close evaluation means within a certain time. According to this figure, the distribution of the tap water is based on the distribution of the output of the eye open / close evaluation means when the eyes are in the open state, the distribution of the output of the open / close evaluation means of the eyes when the eyes are in the closed state, It is divided into three types with the distribution of the output of the eye open / close evaluation means in the middle of changing from the closed state to the open state. In addition, according to this figure, as shown by the broken line in a figure, it looks like there are two mountain shapes.

따라서 2개의 산모양의 교점, 즉 파선의 교점 부분을 바람직한 개폐 판정 임계값으로 한다.Therefore, the two mountain-shaped intersections, i.e., the intersection portions of the broken lines, are preferable opening and closing determination thresholds.

이와 같이 해서 정해진 개폐 판정 임계값은 눈의 개폐 동작의 도중에 해당하는 부분, 즉 도면에 있어서 거의 평탄한 부분에 있고 눈이 열린 상태 혹은 닫힌 상태를 확실하게 판별할 수가 있다.The opening / closing determination threshold determined in this way is in a part corresponding to the middle of the opening / closing operation of the eye, i.e., almost flat in the drawing, and it is possible to reliably determine whether the eye is open or closed.

그래서 현재 설정하고 있는 개폐 판정 임계값과 상술한 수법에 의해 연산한 바람직한 개폐 판정 임계값과의 사이에 편차가 있으면, 이 편차를 감소하는 방향으로 개폐 판정 임계값을 갱신한다.Therefore, if there is a deviation between the currently open / close determination threshold value and the preferred open / close determination threshold value calculated by the above-described method, the open / close determination threshold value is updated in the direction of reducing the deviation.

도 21 은 일정 시간내에 있어서 눈의 개폐 평가 수단 출력의 돗수 분포에 대한 한예를 도시한 것으로서 상술한 것과는 별도의 개폐 판정 임계값의 평가 방법을 설명한 것이다.FIG. 21 illustrates an example of the distribution of the number of taps in the output of the eye open / close evaluation means within a predetermined time, and illustrates a method of evaluating the open / close determination threshold value different from that described above.

도 21 에서는 돗수 분포가 최대로 되는 점보다도 닫힌쪽에 존재하는 일정의 영역에 있어서 근사 직선이 그려져있다. 그래서 일정의 영역에 있어서 근사 직선과 돗수 0 과의 교점을 바람직한 개폐 판정 역칠고 하고 있다.In Fig. 21, an approximate straight line is drawn in a certain area existing on the closed side rather than the point where the number of taps is maximized. Therefore, the intersection between the approximate straight line and the number of degrees 0 in a certain area is reversed.

이와 같이해서 정해진 개폐 판정 임계값은 눈의 개폐 동작의 도중에 해당하는 부분이고, 눈의 열린 상태 혹은 닫힌 상태를 확실하게 판정할 수가 있다.The opening / closing determination threshold determined in this way is a portion corresponding to the middle of the opening / closing operation of the eye, and it is possible to reliably determine the open or closed state of the eye.

그래서 현재 설정하고 있는 개폐 판정 임계값과 상술한 수법에 의해 연산한 바람직한 개폐 판정 임계값 사이에 편차가 있으면, 이 편차를 없애는 방향으로 개폐 판정 임계값을 갱신힌다.Therefore, if there is a deviation between the currently open / close determination threshold value and the preferable open / close determination threshold value calculated by the above-described method, the open / close determination threshold value is updated in a direction to eliminate this deviation.

또한 개폐 판정 임계값의 평가는 상술한 편차에 의해 이루어지고 있다. 즉 편차가 적을수록 바람직한 평가이다.In addition, evaluation of the opening / closing determination threshold value is performed by the above-mentioned deviation. That is, the smaller the deviation, the more favorable the evaluation.

다음으로 상술한 도 20 및 도 21 의 방법을 실현하는 장치에 대해서 설명한다.Next, an apparatus for realizing the above-described method of FIGS. 20 and 21 will be described.

도 22 는 실시예 10 의 구성을 도시하는 블록도이다. 도면에 있어서 상술한 실시예와 동일 혹은 해당하는 부분에는 동일 부호를 붙이고 있다. 도면부호(20)는 일정시간 마다에 있어서 눈 개폐 평가 수단(4)의 출력의 돗수 분포에 의거해 개폐 판정 임계값을 설정하는 임계값설정 수단이다.22 is a block diagram showing the configuration of the tenth embodiment. In the drawings, the same reference numerals are assigned to the same or corresponding parts as the above-described embodiment. Reference numeral 20 denotes a threshold value setting means for setting the opening / closing determination threshold value based on the distribution of the number of outputs of the eye opening / closing evaluation means 4 at predetermined time intervals.

실시예 10 의 기본적인 동작은 실시예 1과 같은 것이다. 즉 카메라(1)의 영상 정보를 화상 입력 수단(2)에 입력해서 A/D 변환하고, 눈 영역 판정 수단(3)에 있어서 상술한 실시예로 설명한 수법에 의해 눈 영역이 판정되고, 눈 개폐 평가 수단(4)에서는 차량 운전자의 눈의 열림에 의한 눈 개폐 평가 출력치가 출력된다.The basic operation of the tenth embodiment is the same as that of the first embodiment. That is, the video information of the camera 1 is input to the image input means 2, A / D conversion is performed, and the eye area is determined by the method described in the above-described embodiment in the eye area determination means 3, and the eyes are opened and closed. In the evaluation means 4, the eye open / close evaluation output value by the opening of the eyes of the vehicle driver is output.

상기 눈 개폐 평가 출력치는 돗수 계측 수단(20)에 부여되고, 일정 시간마다 도 20 과 도 21 에 도시한 바와 같은 돗수 분포가 계측된다.The eye open / close evaluation output value is given to the tap water measuring means 20, and the tap water distribution as shown in FIG. 20 and FIG.

임계값 설정 수단(21)은 상기 돗수 분포에 의거해 상술한 수법에 의해 바람직한 개폐 판정 임계값을 연산한다. 이 개폐 판정 임계값은 현재 설정되어 있는 개폐 판정 임계값과 비교되고 그 편차가 연산된다. 그래서 임계값 설정 수단(21)은 상기 편차가 감소하는 방향으로 개폐 판정 임계값을 갱신해서 재설정하고, 재설정한 개폐 판정 임계값을 개폐 판정 수단(8)에 부여한다.The threshold value setting means 21 calculates a preferable opening / closing determination threshold value by the above-mentioned method based on the said tap water distribution. This opening and closing determination threshold is compared with the currently set opening and closing determination threshold and the deviation is calculated. Thus, the threshold setting means 21 updates and resets the opening / closing determination threshold in the direction in which the deviation decreases, and gives the opening / closing determination means 8 the reset opening / closing determination threshold.

또한 개폐 판정 임계값의 갱신은 일정 시간마다, 즉 새로운 돗수 분포가 계측될 때마다 검토된다.In addition, the update of the opening / closing determination threshold value is examined every fixed time, that is, every time the new tap water distribution is measured.

따라서 실시예 10 에 의하면 눈 개폐 평가 출력치의 돗수 분포에 의해서 개폐 판정 임계값을 설정하고, 또한 갱신하고 있으므로 개인차 및 촬상 환경의 변화에 상관없이 차량 운전자의 눈의 개폐를 정확하게 판정할 수가 있다.Therefore, according to the tenth embodiment, the opening / closing determination threshold value is set and updated according to the frequency distribution of the eye opening / closing evaluation output values, so that the opening and closing of the eyes of the vehicle driver can be accurately determined regardless of the change in the individual vehicle and the imaging environment.

또한 실시예 10 에서는 임계값으로서 개폐 판정 임계값을 1개만 설치하였으나, 상술한 실시예와 같이 2개의 임계값을 준비해도 좋다. 이 경우는 실시예 10 에서 설명한 개폐 판정 임계값을 기준으로 하여 열린쪽 임계값과 닫힌쪽 임계값을 설정하면 된다.In addition, in Example 10, although only one opening / closing determination threshold value was provided as a threshold value, two threshold values may be prepared like the above-mentioned embodiment. In this case, the open threshold and the close threshold may be set on the basis of the open / close determination threshold described in the tenth embodiment.

혹은 본 실시예에서 연상한 개폐 판정 임계값을 닫힌쪽 임계값으로 하고, 상기 임계값에 일정치를 추가해서 열린쪽 문터값을 설정해도 좋다.Alternatively, the open / close determination threshold value associated with the present embodiment may be set as the closed threshold value, and a constant value may be set by adding a constant value to the threshold value.

또한 실시예 1 내지 10 은 상술한 발명의 정신에 의거해서 어떻게 조합시켜도 좋다.In addition, you may combine Examples 1-10 based on the spirit of the above-mentioned invention.

이상과 같이 얼굴 화상 처리 장치 및 얼굴 화상 처리 방법에 대해서 설명하였으나 이들은 상술한 실시 형태에 한정되는 것은 아니고 발명의 정신의 범위 내에 있어서 여러 가지 형태를 제공할 수가 있다.As described above, the face image processing apparatus and the face image processing method have been described, but these are not limited to the above-described embodiments, and various forms can be provided within the spirit of the invention.

얼굴화상의 상태가 변화한 경우라고 피촬상자의 눈의 개폐를 보다 정확하게 판정할 수가 있는 얼굴화상 처리장치 및 얼굴화상 처리방법을 제공하여, 카메라와 피촬상자와의 거리가 변화하거나, 얼굴의 방향이 변화함으로서 얼굴 화상의 상태가 바뀐 경우에도 고정의 임계값에서는 눈의 열림상태, 혹은 닫힌 상태를 정확하게 검출할 수 있다.Provides a face image processing device and a face image processing method that can more accurately determine the opening and closing of the eye of the shooting box when the state of the face image changes, so that the distance between the camera and the shooting box changes or the direction of the face is changed. By this change, even when the state of the face image changes, the open state or closed state of the eye can be detected accurately at the fixed threshold value.

Claims (4)

얼굴 화상을 촬상하는 카메라와, 상기 카메라의 촬상 정보에 의하여 피촬상자의 눈의 열림을 검출하는 열림 검출 수단과, 상기 열림 검출 수단의 검출 결과를 임계값을 사용해서 복수의 그룹으로 분류함과 동시에 일정 시간 내에서 열림 검출 수단의 검출 결과가 복수의 그룹 내의 지정된 그룹에 속하는 시간을 적산 계측하는 시간 계측 수단과, 상기 시간 계측 수단의 계측 결과에 의해서 임계값의 타당성을 평가하는 임계값 평가 수단과, 상기 임계값 평가 수단의 평과 결과에 의해서 임계값을 재설정 하는 임계값 설정 수단과, 임계값을 사용해서 피촬상자의 눈의 개폐를 판정하는 눈 개폐 판정 수단을 구비한 것을 특징으로 하는 얼굴 화상 처리 장치.The camera which picks up a face image, the opening detection means which detects the opening of the eye of a photographed box by the imaging information of the said camera, and the detection result of the opening detection means are classified into a plurality of groups using a threshold value. Time-measuring means for integrating time the detection result of the opening detection means belonging to the designated group in the plurality of groups within a predetermined time; threshold value evaluating means for evaluating the validity of the threshold value based on the measurement result of the time-measuring means; And threshold setting means for resetting the threshold value based on the evaluation result of the threshold value evaluating means, and eye opening / closing determination means for determining the opening and closing of the eye of the photographing box using the threshold value. Device. 제1항에 있어서, 열림 검출 수단의 검출 결과에 의해, 피촬상자의 눈이 열린 상태에 있을 때의 대표적인 값을 연산하는 열린값 연산 수단과, 상기 열림 검출 수단의 검출 결과에 의해, 피촬상자의 눈이 닫힌 상태에 있을때의 대표적인 값을 연산하는 닫힌값 연산 수단과, 열린값 연상 수단과 닫힌값 연산 수단의 연산 결과에 의해 임계값의 가변 범위를 설정하는 임계값 제한 수단을 구비한 것을 특징으로 하는 얼굴화상 처리 장치.The method according to claim 1, wherein the open value calculating means for calculating a representative value when the eye of the shooting box is in the open state by the detection result of the opening detecting means, and the detection result of the opening detecting means And a closed value calculating means for calculating a representative value when the eyes are in a closed state, and a threshold value limiting means for setting a variable range of the threshold value based on the calculation result of the open value associating means and the closed value calculating means. Facial image processing apparatus. 제2항에 있어서, 장치가 동작하고서부터 일정 기간 경과한 것을 검출하는 기간 검출 수단과, 일정 기간이 경과할 때까지는 임계값의 가변 범위의 갱신을 허용하고, 일정 기간의 경과 이후의 임계값의 가변 범위의 갱신을 금지하는 임계값 제한 제어 수단을 구비한 얼굴 화상 처리 장치.The method according to claim 2, wherein the period detecting means for detecting that the predetermined period has elapsed since the operation of the apparatus and the updating of the variable range of the threshold value are allowed until the predetermined period has elapsed, A face image processing apparatus comprising threshold limit control means for prohibiting updating of a variable range. 얼굴 화상을 촬상하는 카메라와, 상기 카메라의 촬상 정보에 의해 피촬상자의 눈의 열림을 검출하는 열림 검출 수단과, 일정의 시간마다 열림 검출 수단의 검출 결과의 돗수 분포를 계측하는 돗수 계측 수단과, 상기 분포가 거의 평탄해지는 범위내에 임계값을 설정함과 동시에 돗수 분포의 갱신에 의해 임계값을 갱신하는 임계값 설정 수단과, 임계값을 써서 피촬상자 눈의 개폐를 판정하는 눈 개폐 판정 수단을 구비하는 것을 특징으로 하는 얼굴 화상 처리 장치.A camera for capturing a face image, opening detection means for detecting the opening of the eye of the photographing box by the imaging information of the camera, and tap water measuring means for measuring the distribution of the tap water of the detection result of the opening detection means at a predetermined time; Threshold setting means for setting a threshold value within a range where the distribution becomes substantially flat and updating the threshold value by updating the distribution of the number of water, and eye opening / closing determination means for judging opening and closing of the subject's eye using the threshold value. A facial image processing apparatus, comprising:
KR1019960058629A 1995-11-28 1996-11-28 Apparatus and method for curing face-burn KR100234590B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP30926095A JP3286887B2 (en) 1995-11-28 1995-11-28 Face image processing apparatus and face image processing method
JP95-309260 1995-11-28

Publications (2)

Publication Number Publication Date
KR970028783A KR970028783A (en) 1997-06-24
KR100234590B1 true KR100234590B1 (en) 1999-12-15

Family

ID=17990861

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960058629A KR100234590B1 (en) 1995-11-28 1996-11-28 Apparatus and method for curing face-burn

Country Status (2)

Country Link
JP (1) JP3286887B2 (en)
KR (1) KR100234590B1 (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100463345B1 (en) * 1997-08-20 2005-05-19 삼성에스디아이 주식회사 Display systems and display methods that respond to eye fatigue
KR100338805B1 (en) * 1999-06-01 2002-05-31 윤종용 Method for detecting drowsiness level
JP4742921B2 (en) * 2006-03-13 2011-08-10 日産自動車株式会社 Awakening level estimation device
JP4840146B2 (en) * 2007-01-09 2011-12-21 株式会社デンソー Sleepiness detection device
JP4898532B2 (en) * 2007-04-13 2012-03-14 富士フイルム株式会社 Image processing apparatus, photographing system, blink state detection method, blink state detection program, and recording medium on which the program is recorded
EP2246821A1 (en) 2008-01-21 2010-11-03 NEC Corporation Pattern matching system, pattern matching method, and program for pattern matching
JP5210773B2 (en) * 2008-09-16 2013-06-12 トヨタ自動車株式会社 Sleepiness determination apparatus and program
JP4957711B2 (en) * 2008-12-02 2012-06-20 オムロン株式会社 Detection apparatus and method, and program
JP5418579B2 (en) * 2011-12-06 2014-02-19 株式会社デンソー Open / close eye detection device
JP5242827B2 (en) * 2012-04-18 2013-07-24 株式会社東芝 Face image processing apparatus, face image processing method, electronic still camera, digital image processing apparatus, and digital image processing method
JP6780616B2 (en) * 2017-08-31 2020-11-04 トヨタ自動車株式会社 Blink detector
JP7328089B2 (en) * 2019-09-05 2023-08-16 トヨタ自動車株式会社 Eye closure determination device

Also Published As

Publication number Publication date
JPH09147120A (en) 1997-06-06
KR970028783A (en) 1997-06-24
JP3286887B2 (en) 2002-05-27

Similar Documents

Publication Publication Date Title
KR100234590B1 (en) Apparatus and method for curing face-burn
US5867587A (en) Impaired operator detection and warning system employing eyeblink analysis
US8435188B2 (en) Eye opening detection system and method of detecting eye opening
US7830266B2 (en) Drowsy state determination device and method
JP5210773B2 (en) Sleepiness determination apparatus and program
JP2546415B2 (en) Vehicle driver monitoring device
JPH0944685A (en) Face image processor
JP2010067137A (en) Device for determining open/closed eye, and device for estimating degree of eye opening
JP4677963B2 (en) Dozing detection device, dozing detection method
CN108337429A (en) Image processing equipment and image processing method
JP3063504B2 (en) Image data feature detection device
JP3556439B2 (en) Face image processing device
JP5292671B2 (en) Awakening degree estimation apparatus, system and method
JP2008194309A (en) Eye detector, nap detector, and method of eye detector
JP4788319B2 (en) Opening and closing eye determination device and method
JPH08225028A (en) Awakening condition detecting device for driver
JP3746916B2 (en) Blink state detection method
JP5825588B2 (en) Blink measurement device and blink measurement method
JP3036319B2 (en) Driver status monitoring device
JPH1044824A (en) Driver&#39;s-eye open/closed state determination device for vehicle
JP7212251B2 (en) Eye opening/closing detection device, occupant monitoring device
JPH08153288A (en) Doze judging device
TWI695326B (en) Object attribute analyzing method and related object attribute analyzing device
JP3813043B2 (en) Glasses reflection detection apparatus and glasses reflection detection method
JP4123076B2 (en) Driver status detection device

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20110811

Year of fee payment: 13

LAPS Lapse due to unpaid annual fee