about ofxcv calibration black Screen ....

I use OF a 7.0 + of7.1 + cb10.05 + win7 test ofxcv Example-undistortion

calibration.undistort (toCv (cam), toCv (undistorted));
undistorted.update ();

undistorted.draw ()

has always a black screen …Why is this?

did you already go through the calibration process? when you calibrated, did the result appear black then, too? could you also post the calibration file that you’re using?

I did not through the calibration because it is black …

So, I tested the UndistortionExample, or the black…

Do not know Related this issue…
https://github.com/openframeworks/openFrameworks/issues/1028

UndistortionExample.zip

it sounds like this is not something regarding the calibration or undistortion examples, but something about the camera on windows. it might be this problem: https://github.com/openframeworks/openFrameworks/issues/1342

I want to know How to let calibrationExample and UndistortionExample of ofxcv to work normally on Windows.

I think the current ofxcv, is a bug in Windows.

ofxcv----> calibrationExample

Calibration::findBoard(){

found = findChessboardCorners(img, patternSize, pointBuf, chessFlags);
cout<<found<<endl;

}

console
0,
0,
OF: OF_LOG_ERROR: Calibration::add() failed, maybe your patternSize is wrong or the image has poor lighting?
0,
0,
OF: OF_LOG_ERROR: Calibration::add() failed, maybe your patternSize is wrong or the image has poor lighting?

can you try changing line 76 of ofDirectShowGrabber.cpp from 24 to 3 like i mention in the issue above?

Thanks.

of7.0 in no problem.

of7.1 run it might crash.
windows messageBox “A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.”

Note: only of 7.1 codeblock 10.05 crash, of 7.1 vs 2010.No problem

i’m really not sure, this sounds like a weird bug if it’s code::blocks specific, but doesn’t exist in vs2010. i don’t know!