1 | initial version |
you have to use namespace like this;
for example You will use Point;
define in cv namespace
namespace cv{
Point maxLoc;
}
And use it like this;
minMaxLoc(histForRed, 0, 0, 0, &maxLoc);
NSLog(@"R x: %d", maxLoc.x);
NSLog(@"R y: %d", maxLoc.y);