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
While importing webcam, I get an error in the following _video_recoder.py : 10:
_video_recoder.py : 10
class _VideoRecorder: def __init__(self, output_path: str, frame_size_hw: tuple[int, int], not_override: bool = False, fps: int = 30):
Replacing tuple with Tuple from the typing module fixes the problem.
tuple
Tuple
typing
It appears to be Python doesn't like a mutable datatype instead of the immutable types in the typing package.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
While importing webcam, I get an error in the following
_video_recoder.py : 10
:Replacing
tuple
withTuple
from thetyping
module fixes the problem.It appears to be Python doesn't like a mutable datatype instead of the immutable types in the typing package.
The text was updated successfully, but these errors were encountered: