You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ocrvid run data/videos/i0o52_x_oFU/video.mp4 -o data/videos/i0o52_x_oFU/video.json
⚠️ ocrvid is already on your PATH and installed at /Users/kh03/.pyenv/shims/ocrvid. Downloading and running anyway.
Traceback (most recent call last):
File "/Users/kh03/.local/pipx/.cache/025c4983c76e437/bin/ocrvid", line 8, in <module>
sys.exit(cli())
^^^^^
File "/Users/kh03/.local/pipx/.cache/025c4983c76e437/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kh03/.local/pipx/.cache/025c4983c76e437/lib/python3.12/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "/Users/kh03/.local/pipx/.cache/025c4983c76e437/lib/python3.12/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kh03/.local/pipx/.cache/025c4983c76e437/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kh03/.local/pipx/.cache/025c4983c76e437/lib/python3.12/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/kh03/.local/pipx/.cache/025c4983c76e437/lib/python3.12/site-packages/ocrvid/cli.py", line 56, in run_ocr
frames_dir = Path.cwd() / ".ocrvid/frames" / output_file.stem
^^^^^^^^^^^
UnboundLocalError: cannot access local variable 'output_file' where it is not associated with a value
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: