@jakaskerl
luxonis/depthai-experimentstree/master/gen2-bounding-box-filtering/kalman
Hey jakaskerl, my apologies for the continuous requests for help. But I want to utilize the kalman biding box filter because I want to use it to fit binding boxes around trees. I was wondering if this was possible? Also, when I started the experiment, it instantly crashed due to this error. Do you know how to fix it?
(venv) C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv\Scripts\depthai experiments\depthai-experiments\gen2-bounding-box-filtering\kalman>python3 kalman_filter.py
Traceback (most recent call last):
File "C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv\Scripts\depthai experiments\depthai-experiments\gen2-bounding-box-filtering\kalman\kalman_filter.py", line 148, in <module>
kalman_filters[t.id] = {'bbox': KalmanFilter(meas_std_bbox, acc_std_bbox, meas_vec_bbox, current_time),
NameError: name 'current_time' is not defined
(venv) C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv\Scripts\depthai experiments\depthai-experiments\gen2-bounding-box-filtering\kalman>python3 kalman_filter.py
Traceback (most recent call last):
File "C:\Users\sale4088\AppData\Local\Programs\DepthAI\venv\Scripts\depthai experiments\depthai-experiments\gen2-bounding-box-filtering\kalman\kalman_filter.py", line 148, in <module>
kalman_filters[t.id] = {'bbox': KalmanFilter(meas_std_bbox, acc_std_bbox, meas_vec_bbox, current_time),
NameError: name 'current_time' is not defined