We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6ce5b0 commit 7eb23a9Copy full SHA for 7eb23a9
src/effects/ObjectDetection.cpp
@@ -467,16 +467,6 @@ Json::Value ObjectDetection::JsonValue() const {
467
}
468
root["objects"] = objects;
469
470
- // Add the selected object Json to root
471
- if(trackedObjects.count(selectedObjectIndex) != 0){
472
- auto selectedObject = trackedObjects.at(selectedObjectIndex);
473
- if (selectedObject){
474
- Json::Value selectedObjectJSON = selectedObject->JsonValue();
475
- for (auto const& key : selectedObjectJSON.getMemberNames())
476
- root[key] = selectedObjectJSON[key];
477
- }
478
479
-
480
// return JsonValue
481
return root;
482
0 commit comments