fix aruco id-setting bug, add creater marker tool
This commit is contained in:
@@ -94,7 +94,8 @@ void ArucoDetector::_load()
|
||||
// _detector_params = aruco::DetectorParameters::create();
|
||||
_detector_params = new aruco::DetectorParameters;
|
||||
for (auto i : aruco_params_value) {
|
||||
if ("_dictionary_id" == std::string(i->key)) {
|
||||
if ("dictionaryId" == std::string(i->key)) {
|
||||
// std::cout << "dictionary_id (old, new): " << _dictionary_id << ", " << i->value.toNumber() << std::endl;
|
||||
_dictionary_id = i->value.toNumber();
|
||||
}
|
||||
else if ("adaptiveThreshConstant" == std::string(i->key)) {
|
||||
|
||||
Reference in New Issue
Block a user