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);