ofxCv
ofxCv copied to clipboard
calibration camera raises exception
When the chessboard is present in the cam image, then the call to:
bool found = findBoard(img, pointBuf);
returns "true" and then the next instruction:
imagePoints.push_back(pointBuf);
makes the program to raise an exception.
thanks for reporting this, but i'm not sure what's happening -- is this in my example code that you're seeing this? or in code that you wrote? what kind of exception is raised? if you could provide some more info i'd appreciate it. thanks!
Thanks to you for this great addon! It happens with the example-calibration example as it is in the addon. While there is no chessbox present in the image the program logs "Calibration::add() failed, maybe your patternSize is wrong or the image has poor lighting?" As soon as a chessbox is detected and: bool found = findBoard(img, pointBuf); returns true, the next instruction: imagePoints.push_back(pointBuf); generates an exception: Process returned 255 (0xFF) I am working with OF0073 with CB under Windows 7. Best regards.
2012/12/11 Kyle McDonald [email protected]
thanks for reporting this, but i'm not sure what's happening -- is this in my example code that you're seeing this? or in code that you wrote? what kind of exception is raised? if you could provide some more info i'd appreciate it. thanks!
— Reply to this email directly or view it on GitHubhttps://github.com/kylemcdonald/ofxCv/issues/57#issuecomment-11222856.
Eduardo Estopiñán Director I+D / R&D manager ARSTIC Audiovisual Solutions +34 976 528 731 / +34 638 100 397 www.arstic.com
i'm really not sure, i can't understand how adding something to a vector could possibly cause an error. i'll leave this issue open for now in case someone else has a similar problem and figures out the solution.
I've make some tests trying to find out something. I've seen that if I compile the example-calibration project (the CB project as it is in the addon) under "of_v0073_win_cb_release" the error happens, but if I recompile the same example under "of_v0071_win_cb_release" the error doesn't appear, but it seems the error doesn't appear because for some reason under of_v0071 the chessboard is not detected (the program keeps on logging "Calibration::add() failed, maybe your patternSize is wrong or the image has poor lighting?"). Could it be because any difference between ofxopencv in of_v0071 and of_v0073?
2012/12/12 Kyle McDonald [email protected]
i'm really not sure, i can't understand how adding something to a vector could possibly cause an error. i'll leave this issue open for now in case someone else has a similar problem and figures out the solution.
— Reply to this email directly or view it on GitHubhttps://github.com/kylemcdonald/ofxCv/issues/57#issuecomment-11311554.
Eduardo Estopiñán Director I+D / R&D manager ARSTIC Audiovisual Solutions +34 976 528 731 / +34 638 100 397 www.arstic.com
which version of code::blocks are you using?
i've read that there are some problems between OF and the most recent version of code::blocks.
sorry i can't be of more help, c::b/win isn't m primary platform anymore.
I'm using code::blocks 10.05 so I don't think the problem is that. I'll try to make some further tests to find out something else. Thanks for your interest.
El 22/12/2012, a las 00:07, Kyle McDonald [email protected] escribió:
which version of code::blocks are you using?
i've read that there are some problems between OF and the most recent version of code::blocks.
sorry i can't be of more help, c::b/win isn't m primary platform anymore.
— Reply to this email directly or view it on GitHub.