typedef struct stFace
{
unsigned int file_id;
unsigned int face_id;
unsigned int x;
unsigned int y;
unsigned int width;
unsigned int height;
}
typedef struct stFaceFile
{
unsigned int file_id; // 파일 아이디
unsigned int n; // 얼굴 개수 (0: 없음, 1 이상 부터 존재)
stFace *f; // 얼굴 정보
}
FaceDetect(char *filename)
return
struct Face
Face[].n : 총 얼굴 개수
Face[].rect : 각각 좌표
example
FaceDetect("photo.jpg");
WhoIs(int x, int y, int width, int height, int file_id)
WhoIs(int x, int y, int width, int height, char *filename)
WhoIs(CRect rect, int file_id)
WhoIs(CRect rect, char *filename)
return
index[]; // 얼굴 DB 의 index 값, 매칭도 순차별로 제안
example
int index = WhoIs(rect, "photo.jpg");
int index2 = WhoIs(0, 0, 50, 50, "photo.jpg")
void Show(int x, int y, int file_id)
void Show(int x, int y, char *filename)
example
Show(0, 0, "photo.jpg");
'T9T9 연구소' 카테고리의 다른 글
| 울트라 미니 디스크 (Ultra mini disk) (4) | 2007/08/15 |
|---|---|
| 손 인터페이스 Hand Interface (2) | 2007/03/09 |
| 함수 정의 및 사용법 (0) | 2007/02/28 |
| Lifelog 를 이용, 1분단위로 기록한 나의 하루 (1) | 2007/02/09 |
| T9 를 네비게이션으로 활용하기 위한 T9-map (6) | 2007/02/03 |
| Lifelog 로 라이프로깅을 시작하면서.. (1) | 2007/01/17 |



이올린에 북마크하기


댓글을 달아 주세요