optical flow test
This commit is contained in:
+4
-4
@@ -27,16 +27,16 @@
|
|||||||
"loop_closure_interval": 1,
|
"loop_closure_interval": 1,
|
||||||
"algorithm": "dis",
|
"algorithm": "dis",
|
||||||
"dis_preset": "medium",
|
"dis_preset": "medium",
|
||||||
"dis_mode": 3,
|
"dis_mode": 1,
|
||||||
"algorithm_list": ["raft", "dis"]
|
"algorithm_list": ["raft", "dis"]
|
||||||
},
|
},
|
||||||
"contact": {
|
"contact": {
|
||||||
"min_contour_area": 3000,
|
"min_contour_area": 3000,
|
||||||
"flow_threshold":1,
|
"flow_threshold":5,
|
||||||
"div_threshold":0.02,
|
"div_threshold":0.05,
|
||||||
"expansion_threshold": 0.01,
|
"expansion_threshold": 0.01,
|
||||||
"kernel_size": [5,5],
|
"kernel_size": [5,5],
|
||||||
"denoise_sigma": 15
|
"denoise_sigma": 12
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -62,8 +62,10 @@ class Tracker:
|
|||||||
self.__tracking_inst.setFinestScale(config_tracker["dis_mode"]) # Skip finest pyramid level (2x faster)
|
self.__tracking_inst.setFinestScale(config_tracker["dis_mode"]) # Skip finest pyramid level (2x faster)
|
||||||
# self.__tracking_inst.setUseSpatialPropagation(False)
|
# self.__tracking_inst.setUseSpatialPropagation(False)
|
||||||
# self.__tracking_inst.setUseMeanNormalization(False)
|
# self.__tracking_inst.setUseMeanNormalization(False)
|
||||||
# self.__tracking_inst.setPatchSize(4) # 8
|
# self.__tracking_inst.setGradientDescentIterations(16) #16
|
||||||
# self.__tracking_inst.setPatchStride(2) # 3
|
self.__tracking_inst.setPatchSize(8) # 8
|
||||||
|
self.__tracking_inst.setPatchStride(1) # 3
|
||||||
|
# self.__tracking_inst.setVariationalRefinementIterations(5)#5
|
||||||
|
|
||||||
# else:
|
# else:
|
||||||
# # CUDA flow method with stream support
|
# # CUDA flow method with stream support
|
||||||
|
|||||||
Reference in New Issue
Block a user