Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

you're already close. all you need is (note the new):

Ptr<Dictionary> test_dict(new aruco::Dictionary(bits, bits, marker_size, correction_bit));

or (if you dig templates...):

Ptr<Dictionary> test_dict = makePtr<aruco::Dictionary>(bits, bits, marker_size, correction_bit);