Skip to content

Error variable bwidth not defined #1

Description

@DrowsyLad

I run the code by typing
$ python sprint_hist_Kalman.py /dev/video0

But the output is an error like this
('read frame', 1) (480, 640, 3) Traceback (most recent call last): File "sprint_hist_Kalman.py", line 303, in <module> main() File "sprint_hist_Kalman.py", line 299, in main processVideo(v) File "sprint_hist_Kalman.py", line 119, in processVideo for bx in range(0, width - bwidth, bwidth): NameError: global name 'bwidth' is not defined
instead

I'm sorry but did I run the program correctly or there must be something to add to the command?
And what is bwidth variable by the way, why you didn't define it anywhere in the code?

Thanks in advance

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions