Ask Your Question

Revision history [back]

Basically the vector type desires you to input an object type, not a pointer to an object type. If you would replace the following lines

cliext::vector<IplImage *> Lineimgs;
cliext::vector<IplImage *> Characterimgs;

by

cliext::vector<IplImage> Lineimgs;
cliext::vector<IplImage> Characterimgs;

then the error should disappear.

On the other hand, why do you use pointers to IplImages if you want to use C++ code and C++ style interfacing. OpenCV switched to using the Mat object type which can be easily combined with the vector object.