facedetect

所属分类:Linux/Unix编程
开发工具:Unix_Linux
文件大小:5KB
下载次数:12
上传日期:2013-06-28 16:27:56
上 传 者lnx5678
说明:  dm368 facedetect模块代码 for dvsdk2.10 (linux2.6.18)dm368带F后缀
(dm368 facedetect for linux 2.6.18)

文件列表:
facedetect\facedetect_example.c (9441, 2009-05-22)
facedetect\Makefile (235, 2009-05-22)
facedetect (0, 2013-06-28)

NAME: facedetect_example : Functionality of Face detection SYNOPSIS facedetect_example DESCRIPTION This executable is used to verify the face detection functionality on DM365. OPTIONS The executable has the following options: -i : Provide input data; is a Y-only data of 320x240 resolution. -t : Threshold for the face detection; The valid range of threshold is 0-9, where 0 means minimum threshold. If set to 0, there is more likelihood of face detection but can result in increased false detection. EXAMPLE USAGE # ./facedetect_example -i input_face.y # ./facedetect_example -i input_face.y -t 4 NOTES 1. The dimension of the input image data should be 320x240 2. Application need to gurantee a contiguous buffer for Face Detection Driver. In current case, we are using VIDIOC_REQBUFS from the capture driver. Buffer has to be allocated for work area also with minimum size of MIN_WORKAREA_SIZE 3. Threshold for face detection can be passed as a parameter like below # ./do_face_detect -i input_face.y -t 4 4. startX and startY position (co-ordinates of start position) can be set using -x and -y config parameter 5. Search width and height can be configured using -w and -h config parameter Based on -x,-y and -w,-h the search area in the frame is defined. 6. Minimum Face Size for detection can be configured using -s option 0: MINIMUM_FACE_SIZE_20_PIXEL 1: MINIMUM_FACE_SIZE_25_PIXEL 2: MINIMUM_FACE_SIZE_32_PIXEL 3: MINIMUM_FACE_SIZE_40_PIXEL 7. Direction for search can be configured using -d option 0: FACE_DETECT_DIRECTION_UP 1: FACE_DETECT_DIRECTION_RIGHT 2: FACE_DETECT_DIRECTION_LEFT COPYRIGHT Refer to the source headers KNOWN ISSUES VERSION LSP 2.10 CHANGELOG 1.0 SEE ALSO For face detection user guide, see PSP_##_##_##_###/docs directory.

近期下载者

相关文件


收藏者