Skip to content

Commit

Permalink
Fix serialization issue with klt tracker
Browse files Browse the repository at this point in the history
  • Loading branch information
SamFlt committed Sep 19, 2024
1 parent 1ca277f commit bf8b14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/tracker/klt/include/visp3/klt/vpKltOpencv.h
Original file line number Diff line number Diff line change
Expand Up @@ -434,7 +434,7 @@ inline void from_json(const nlohmann::json &j, vpKltOpencv &klt)
klt.setWindowSize(j.value("windowSize", 5));
klt.setQuality(j.value("quality", 0.01));
klt.setMinDistance(j.value("minDistance", 5));
klt.setUseHarris(j.value("useHarris", true));
klt.setUseHarris(j.value("useHarris", 1));
klt.setHarrisFreeParameter(j.value("harris", 0.01));
klt.setBlockSize(j.value("blockSize", 3));
klt.setPyramidLevels(j.value("pyramidLevels", 3));
Expand Down

0 comments on commit bf8b14c

Please sign in to comment.