-
Notifications
You must be signed in to change notification settings - Fork 477
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
NameError: name 'x_center' is not defined #93
Comments
Hi @Smritijha369 which version of Deepgaze are you using? Is the resolution of the video the same of the example (1920x1080) ? |
Hi, @mpatacchiola I am using Deepgaze 2.0. |
This error should be due to the fact that you are using a different video. For a different video you need to set new versions of the images |
Hi,
I'm trying to run ex_particle_filter_object_tracking_video.py file on another sample video. I have changed the template.png image with another subframe as per my sample video for the filter. But, I am unable to find the contour with largest area using the binary mask and obtain its centre coordinates. I am getting the following error:
Traceback (most recent call last): File "ex_particle_filter_object_tracking_video.py", line 110, in <module> my_particle.update(x_center, y_center) NameError: name 'x_center' is not defined
Any idea how this can be resolved.
The text was updated successfully, but these errors were encountered: