config json update

This commit is contained in:
unknown
2025-12-30 11:07:45 +08:00
parent 88b48f8fa8
commit 2a739ed27c
6 changed files with 47 additions and 40 deletions
+3 -1
View File
@@ -12,13 +12,15 @@ class Tracker:
lower_threshold=12.0,
upper_threshold=18.0,
loop_closure_interval=1,
dis_preset='medium'):
dis_preset='medium',
verbose=False):
# Check if OpenCV is built with CUDA support
if cuda and not cv2.cuda.getCudaEnabledDeviceCount():
# print("Warning: CUDA requested but OpenCV not built with CUDA support or no CUDA device found. Falling back to CPU.")
cuda = False
self.cuda = cuda
self.verbose = verbose
self.__loop_closure_interval = loop_closure_interval
self.__frame_count = 0