Ask Your Question

Revision history [back]

The problem is in Size class. Compiler tries to use Size class from Android SDK, but not from OpenCV SDK. Add import string for org.opencv.core package to begin of source file and specify more complite type name: new core.Size (5,5). Alternatively you can change import for Size class on OpenCV one, but source code will be not obvious.