[PD] opencv motion tracker external HELP!
martin.peach at sympatico.ca
martin.peach at sympatico.ca
Wed May 30 21:33:28 CEST 2007
Alain wrote:
> void window_getframe(t_window *x, t_symbol *sym)
> {
> char* decode;
> char symstr;
> x->sym->s_name = decode;
> symstr = atol(decode);
> frame = symstr;
> }
Is this the receiving function? I would write it more like:
void window_getframe(t_window *x, t_symbol *sym)
{
IplImage * frame;
frame = (IplImage *)atol(sym->s_name);
}
Martin
More information about the Pd-list
mailing list