gazel
Tables (5)
EAR_THRESH (사용자의 눈 평균 크기)
- EAR_THRESH — int — Primary key — NOT NULL — (open_ear - close_ear / 2) + close_ear
- close_ear — int — Foreign key → close_ear.close_ear — NOT NULL — 감은 눈의 평균 값
- 번호 (Number2) — int — Foreign key → close_ear.번호 — NOT NULL — 고유번호
- open_ear — int — Foreign key → open_ear.open_ear — NOT NULL — 뜬 눈의 평균 값
- 번호 (Number22) — int — Foreign key → open_ear.번호 — NOT NULL — 고유번호
- LStart — int — NOT NULL — 좌측 눈 시작점 데이터
- RStart — int — NOT NULL — 우측 눈 시작점 데이터
- LEnd — int — NOT NULL — 좌측 눈 종료점 데이터
- REnd — int — NOT NULL — 우측 눈 종료점 데이터
- Left_eye (Lefteye) — int — NOT NULL — 좌측 눈 데이터
- Right_eye — int — NOT NULL — 우측 눈 데이터
- Field
close_ear (감은 눈 크기)
- close_ear — int — Primary key — NOT NULL — 감은 눈의 평균 값
- 번호 (Number2) — int — Foreign key → eye_euclidean.번호 — NOT NULL — 고유번호
- ear_List — int — NOT NULL — 저장변수
- sum (close_sum) — int — NOT NULL — 눈의 크기 합
- len (close_len) — int — NOT NULL — 갯수
eye_euclidean (눈 값 측정)
- 번호 (Number) — int — Primary key — NOT NULL — 고유번호
- A (eye_a) — int — NOT NULL — 1,5번 꼭짓점 값
- B (eye_b) — int — NOT NULL — 2,4번 꼭짓점 값
- C (eye_c) — int — NOT NULL — 0,3번 꼭짓점 값
- ear — int — NOT NULL — 평균값( A+B) /2.0*C
main (졸음 감지 코드)
- 번호 (Number) — int — Primary key — NOT NULL — 고유번호
- EAR_THRESH — int — Foreign key → EAR_THRESH.EAR_THRESH — NOT NULL — (open_ear - close_ear / 2) + close_ear
- close_ear — int — Foreign key → EAR_THRESH.close_ear — NOT NULL — 감은 눈의 평균 값
- 번호 (Number2) — int — Foreign key → EAR_THRESH.번호 — NOT NULL — 고유번호
- open_ear — int — Foreign key → EAR_THRESH.open_ear — NOT NULL — 뜬 눈의 평균 값
- 번호 (Number22) — int — Foreign key → EAR_THRESH.번호 — NOT NULL — 고유번호
- both_ear — int — NOT NULL
- Start_Closing — int — NOT NULL — 코드 실행부터 현재까지의 시간
- mid_Closing — int — NOT NULL — 현재 시간
- end_Closing — int — NOT NULL — 코드종료시간
- TIMER_FLAG — Boolean — NOT NULL — 알람확인변수
- RUNNING_TIME — int — NOT NULL — 눈이 감겨있다면 카운트되는 변수
- Counter — int — NOT NULL — 졸았을때 카운트되는 변수
- closing_time — int — NOT NULL — start_closing - mid_closing
open_ear (뜬 눈 크기)
- open_ear — int — Primary key — NOT NULL — 뜬 눈의 평균 값
- 번호 (Number2) — int — Foreign key → eye_euclidean.번호 — NOT NULL — 고유번호
- ear_List — int — NOT NULL — 저장변수
- sum (open_sum) — int — NOT NULL — 눈의 크기 합
- len (open_len) — int — NOT NULL — 갯수