We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I ran your example 3a and was fine until I ran the tracking code and got the error below.
I had some issues with the install, so maybe I'm missing something there. Thanks, ~Sara
AttributeError Traceback (most recent call last) in () 25 frame = cv2.resize(frame, None, fx = scaling, fy = scaling, interpolation = cv2.INTER_LINEAR) 26 thresh = tr.colour_to_thresh(frame, block_size, offset) ---> 27 final, contours, meas_last, meas_now = tr.detect_and_draw_contours(frame, thresh, meas_last, meas_now, min_area, max_area) 28 row_ind, col_ind = tr.hungarian_algorithm(meas_last, meas_now) 29 final, meas_now, df = tr.reorder_and_draw(final, colours, n_inds, col_ind, meas_now, df, mot, this)
/Users/Sara/tracktor-master/examples/tracktor.py in detect_and_draw_contours(frame, thresh, meas_last, meas_now, min_area, max_area) 74 75 i = 0 ---> 76 meas_last = meas_now.copy() 77 del meas_now[:] 78 while i < len(contours):
AttributeError: 'list' object has no attribute 'copy'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I ran your example 3a and was fine until I ran the tracking code and got the error below.
I had some issues with the install, so maybe I'm missing something there.
Thanks,
~Sara
AttributeError Traceback (most recent call last)
in ()
25 frame = cv2.resize(frame, None, fx = scaling, fy = scaling, interpolation = cv2.INTER_LINEAR)
26 thresh = tr.colour_to_thresh(frame, block_size, offset)
---> 27 final, contours, meas_last, meas_now = tr.detect_and_draw_contours(frame, thresh, meas_last, meas_now, min_area, max_area)
28 row_ind, col_ind = tr.hungarian_algorithm(meas_last, meas_now)
29 final, meas_now, df = tr.reorder_and_draw(final, colours, n_inds, col_ind, meas_now, df, mot, this)
/Users/Sara/tracktor-master/examples/tracktor.py in detect_and_draw_contours(frame, thresh, meas_last, meas_now, min_area, max_area)
74
75 i = 0
---> 76 meas_last = meas_now.copy()
77 del meas_now[:]
78 while i < len(contours):
AttributeError: 'list' object has no attribute 'copy'
The text was updated successfully, but these errors were encountered: