Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added support for setup without calibrationFile to track and draw 2d #10

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

chparsons
Copy link

if nothing is passed to camParams on ofxAruco::setup() then camParams.isValid() will be false and 3d pose estimation won't be performed by Aruco, which is fine if you wan't to work in 2d only. Also, refactored ofxAruco::draw() method to be:

void ofxAruco::draw()
{
if ( camParams.isValid() )
draw3d();
else draw2d();
}

@arturoc
Copy link
Owner

arturoc commented Oct 6, 2014

perhaps it's better to change the name of the new setup to setup2d? the way it is now, it might seem that there's some kind of default calibration and it might be confusing

@chparsons
Copy link
Author

that's a good idea

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants