cv.jit.faces - different shapes?

troikas's icon

hello everybody,
i would like to do pattern recognition with jitter. the
aim is to let the shape of a bottle be recognized by "cv.jit.faces ", but i

nesa's icon

Hi,

cv.jit.faces is based on OpenCV library, so you can find the info for
creating xml files here:

On that page is a link to http://robotik.inflomatik.info/ where you can find
pdf file explaining how to create xmls(this guy created files for detecting
cups), and windows app for training.

cheers,
nesa

troikas's icon

hey, great, thanks a lot!! this really helps.

Jean-Marc Pelletier's icon
lux@llumen.be's icon

Hi all,

I guess this is a pretty basic problem but don't find the answer.

I have an installation in wich there is some live camera input, when it recognizes a plain frontal face it should scale it to fullscreen and make a picture out of which then be used in another patch.

So I need to find the area which inncludes the face, I guess this is about the green square from within the cv.jit.face help patch and resize the original picture (which is of course bigger then the tracking one) to that size.

I'm pretty new to CV.jit library and have no real idea where to start.

Thx in advance

pieter

Jean-Marc Pelletier's icon

The output of cv.jit.faces is a 4-plane matrix, where each cell contains the coordinates of the area that contains a face. You can use jit.iter to get the data. You can then use the output with jit.submatrix to do what you want.

Daan's icon

Quote: Jean-Marc Pelletier wrote on Sun, 07 January 2007 23:09
----------------------------------------------------
> The output of cv.jit.faces is a 4-plane matrix, where each cell contains the coordinates of the area that contains a face. You can use jit.iter to get the data. You can then use the output with jit.submatrix to do what you want.
>
----------------------------------------------------

I am trying to get the coordinates from cv.jit.faces as well, but how do you use jit.iter to get the data?
The only way I know now to get the data is to use 'getcell' on a matrix, but I think I am missing something..

Thanks in advance, Daan

Jean-Marc Pelletier's icon

Quote: Daan wrote on Tue, 06 March 2007 08:46

> I am trying to get the coordinates from cv.jit.faces as well, but how do you use jit.iter to get the data?
> The only way I know now to get the data is to use 'getcell' on a matrix, but I think I am missing something..

Jitter tutorial pp. 101-102.
jit.iter help file.

This is basic Max/Jitter.

daniel.goggin@gmail.com's icon

Is there any information if I am using a mac?

Thanks,
DG

Jean-Marc Pelletier's icon

Quote: daniel.goggin@gmail.com wrote on Thu, 08 March 2007 20:58
----------------------------------------------------
> Is there any information if I am using a mac?

What sort of information?

daniel.goggin@gmail.com's icon

Clarification:

Are there any useful tutorials regarding making usable .xml files for reading into cv.jit.faces if one were using a mac.

Thanks,
DG

Jean-Marc Pelletier's icon

Quote: daniel.goggin@gmail.com wrote on Thu, 08 March 2007 23:22
----------------------------------------------------
> Clarification:
>
> Are there any useful tutorials regarding making usable .xml files for reading into cv.jit.faces if one were using a mac.

The latest version of OpenCV works on OS X. You could try compiling the Haartraining app yourself. I haven't done so yet on Mac.