Hello, Flavio
>>>>> In <483...@gm...>
>>>>> Flavio Percoco Premoli <fla...@gm...> wrote:
> I'm working on a project that uses openCv-cell.
Thank you for using our product.
> In this moment I'm using the cvGoodFeaturesToTrack function to track the
> good features, but i would like to pass a mask ( a specific region )
> where to track the points. The thing is that i don't really know how to
> pass the region. I tried passing the points but it didn't work.
The cvGoodFeaturesToTrack function has the mask argument, which is a
region of interest, described in cv.h.
CVAPI(void) cvGoodFeaturesToTrack( const CvArr* image, CvArr* eig_image,
CvArr* temp_image, CvPoint2D32f* corners,
int* corner_count, double quality_level,
double min_distance,
const CvArr* mask CV_DEFAULT(NULL),
int block_size CV_DEFAULT(3),
int use_harris CV_DEFAULT(0),
double k CV_DEFAULT(0.04) );
Do you mean that the function cannot treat the mask argument correctly?
If you mean this, this may be a bug in OpenCV.
Because the function haven't been implemented in the cvcell project yet.
> The exact thing i would like to do is get the eyebrows of a face, so i
> guess i can use facedetect to get the face and then in that region track
> the points (this is what I'm trying to do). If there is a better way to
> track specific parts of the face ( eyebrows, nose, ears, mouth ) I would
> be really glad if you let me know this.
http://alereimondo.no-ip.org/OpenCV/34
This site may work for your purpose. This is a collection of
haar cascade classifiers that detect face, eyes, nose et al.
Sincerely,
--
Hiroki Sugano
E-mail: hi...@ea...
Department of Communications and Computer Engineering
Graduate School of Informatics, Kyoto University, Japan
|