Skip to content
New issue

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

Problem in example 3b #19

Open
HOlmi-Graham opened this issue Jan 14, 2020 · 0 comments
Open

Problem in example 3b #19

HOlmi-Graham opened this issue Jan 14, 2020 · 0 comments

Comments

@HOlmi-Graham
Copy link

Hello, I am getting the following error when running example 3b, and I am not sure how to fix it:
Traceback (most recent call last):
File "", line 12, in
File "C:\Users\bluecrab\Desktop\tracktor-master\tracktor\tracktor.py", line 71
, in detect_and_draw_contours
img = cv2.cvtColor(img, cv2.COLOR_GRAY2BGR)
UnboundLocalError: local variable 'img' referenced before assignment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant