Reputation: 341
i am getting some troubles with OpenCV4Android.
Core.line(mGray, pt1, pt2, new Scalar(255,0,0));
or:
Core.line(mRgba, pt1, pt2, new Scalar(255,0,0));
or:
Core.line(mRgba, pt1, pt2, new Scalar(255,0,0,0));
The Error from Eclipse: The method line(Mat, Point, Point, Scalar) in the type Core is not applicable for the arguments (Mat, Point, Point, Scalar)
Does somebody knows whats wrong?
Upvotes: 1
Views: 583
Reputation: 341
It seems like there are different types of Point at OpenCV.
org.opencv.core.Point
is the correct/accepted point-type.
Upvotes: 1