![]() |
FingerKeyboard
|
손은 다섯 개의 손가락 객체를 갖으며, 이전에 발견한 손가락의 개수, 현재 발견한 손가락의 개수를 속성으로 갖는다. More...
#include <FkPostProcessor.h>
Public Member Functions | |
void | setHandArea (double handArea) |
손의 영역을 설정한다. | |
void | setHandContour (CvSeq *contour) |
손의 외곽선을 설정한다. | |
void | getHandDefect () |
손의 결점을 얻는다. | |
int | getDefectTotal () |
손의 결점의 총 개수를 얻는다. | |
void | convertArray () |
결점에 대한 정보를 담고 있는 자료구조를 배열로 변환한다. | |
void | arrayMemSet () |
결점에 대한 정보를 담고 있는 배열을 초기화한다. | |
void | correctPrevFingerTipIndex () |
이전의 손 끝점에 대한 인덱스를 올바르게 조정한다. | |
void | setValidMotionVector () |
손의 손가락들에 대한 유효한 움직임을 판단하기위한 함수이다. | |
void | setFingerMotionVector () |
손의 손가락들에 대한 모션벡터를 계산하는 함수이다. | |
void | setPrevDetectFingerCount () |
이전의 검출된 손가락 수를 설정한다. | |
void | resetFingerAttribute () |
손가락에 대한 값들을 초기화한다. | |
bool | isAllFingerDownMotion () |
손의 모든 손가락이 아래로 움직였는지 판단한다. | |
void | determineMotion () |
손가락의 움직임에 대한 유효성을 판단하는 함수이다. | |
bool | isFingerPressButton () |
손가락이 버튼을 눌렸는지 판단하는 함수이다. | |
bool | isPressKey (FkKeyButton button) |
해당 키 버튼이 눌렸는지 판단하는 함수이다. | |
void | determineFingerTip (CvRect selectedArea) |
손끝점을 결정하는 함수이다. | |
CvPoint | getPressFingerLocation () |
키 버튼을 누른 손가락에 대한 위치를 리턴하는 함수이다. | |
void | calcCenter () |
Public Attributes | |
CvSeq * | hull |
CvPoint | center |
FkFinger | finger [5] |
CvSeq * | defect |
CvConvexityDefect | defectArray [100] |
CvPoint | points [2000] |
int | pressFinger |
double | handArea |
int | detectFingerCount |
int | prevDetectFingerCount |
CvSeq * | handContour |
손은 다섯 개의 손가락 객체를 갖으며, 이전에 발견한 손가락의 개수, 현재 발견한 손가락의 개수를 속성으로 갖는다.