Ask Your Question
0

OpenCV 4.2: The method drawFrameAxes​(Mat, Mat, Mat, Mat, Mat, float) is undefined for the type Calib3d

asked 2020-02-25 07:36:31 -0500

rm_ein gravatar image

I am using Opencv 4.2 for camera calibration in Android(Java). Want to draw axes on my marker, but I am not able to use the function drawFrameAxes(). Other functions from Calib3d class are visible to the compiler, but I am getting compiler error on using drawFrameAxes(). I checked the jar file as well and it has this function. Does anyone know what might be causing it?

edit retag flag offensive close merge delete

Comments

please add resp. piece of code, and exact error msgs, thank you

berak gravatar imageberak ( 2020-02-25 08:00:24 -0500 )edit

1 answer

Sort by » oldest newest most voted
0

answered 2020-02-25 10:39:35 -0500

rm_ein gravatar image

Copied the function from JavaDoc, which added a hidden character. The hidden character was not visible in IntelliJ. Typed the function again and it worked.

edit flag offensive delete link more

Comments

we have an answer, then ;)

berak gravatar imageberak ( 2020-02-25 10:43:53 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2020-02-25 07:36:31 -0500

Seen: 133 times

Last updated: Feb 25