Ask Your Question
0

How to determine the number of Chessboard corners found in CameraCalibration

asked 2013-05-03 00:01:13 -0600

utkarshmankad gravatar image

I am trying to calibrate mobile camera, by writing a code in OpenCv4Android. I am trying to find out the chessboard corners using the function -

public static boolean findChessboardCorners(Mat image, Size patternSize, MatOfPoint2f corners, int flags)

I am using this method in my code. The problem i am facing is, For every frame the return value of this method is coming false, even if the chessboard corners are properly put into the camera view. i want to debug my application, to see how many chessboard corners have been determined.

Can you please guide me in performing the action, also please guide me in performing the camera calibration for Android mobile using OpenCv4Android. Can you please suggest me some blog which has tried to implement this in OpenCv4Android ? Or any sample code.

Thanks in Advance !!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-04-08 14:59:56 -0600

Mytheral gravatar image

The OpenCV4Android SDK contains a sample project covering camera calibration.

edit flag offensive delete link more
-2

answered 2013-05-03 00:33:48 -0600

NightLife gravatar image

The only think that I can suggest you is implementing the code ofcamera calibration method in THIS BOOK for android application. All the lines can be implemented, just you have to do it for every frame instead of input image.

edit flag offensive delete link more

Comments

He's asking for a OpenCV4Android solution that the linked book does not cover.

Mytheral gravatar imageMytheral ( 2015-04-08 14:57:58 -0600 )edit

Question Tools

Stats

Asked: 2013-05-03 00:01:13 -0600

Seen: 543 times

Last updated: Apr 08 '15