config json update
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user