/****************************************************************************
* ASMLibrary
* Copyright (c) 2008 by Yao Wei, all rights reserved.
* Author: Yao Wei
*
****************************************************************************/
===================
System Requirements
===================
ASMLibrary makes use of the OpenCV library version 1.0 that can be downloaded from:
-- http://sourceforge.net/projects/opencv
In order to make it work, you must modify a bug in OpenCV and rebuild it:
-- cvBoundingRect() doesn't work fine.
-- opencv/cv/src/cvshapedescr.cpp around line 1161
-- replace CV_32SC1 to CV_32SC2 and CV_32FC1 to CV_32FC2.
================
A Quick Tutorial
================
To get farmiliarised quickly with the library, execute the following steps:
1. Build active shape models
> build -i 1 -l 8 -m table.txt -p 4 -r 2 -t 0.95 -s 3 ../images jpg pts haarcascade_frontalface_alt2.xml my.amf
2. Fit on an image/video file:
> fit my.amf haarcascade_frontalface_alt2.xml test.jpg/test.avi
====================
Notice: If you wanna locate or track facial features in real-time, make sure that you work
in the release version, which is much faster than the debug mode.
====================
====================
For more details, you can go to the directory "example" to see some demos.
===================
IMM Annotated Database 人脸数据库
3星 · 超过75%的资源 需积分: 10 87 浏览量
2012-03-27
18:14:41
上传
评论
收藏 3.22MB ZIP 举报
haohao06022359
- 粉丝: 0
- 资源: 8
- 1
- 2
- 3
前往页