implemented text recognition (ocr) #668
Annotations
10 errors and 1 warning
Analysing the code with Pyright:
src/AutoSplitImage.py#L141
Instance variable "fps_limit" is not initialized in the class body or __init__ method (reportUninitializedInstanceVariable)
|
Analysing the code with Pyright:
src/compare.py#L144
Type of "image_string" is unknown (reportUnknownVariableType)
|
Analysing the code with Pyright:
src/compare.py#L144
Type of "lower" is unknown (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/compare.py#L144
Type of "strip" is unknown (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/compare.py#L154
Type of "ratio" is partially unknown
Type of "ratio" is "(s1: Sequence[Hashable], s2: Sequence[Hashable], *, processor: ((...) -> Unknown) | None = None, score_cutoff: float | None = None) -> float" (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/compare.py#L154
Argument type is unknown
Argument corresponds to parameter "s2" in function "ratio" (reportUnknownArgumentType)
|
Analysing the code with Pyright:
src/utils.py#L216
Return type, "dict[str, Unknown | _Environ[str] | None]", is partially unknown (reportUnknownParameterType)
|
Analysing the code with Pyright:
src/utils.py#L223
Type of "kwargs" is partially unknown
Type of "kwargs" is "dict[str, Unknown | _Environ[str] | None]" (reportUnknownVariableType)
|
Analysing the code with Pyright:
src/utils.py#L224
"subprocess" is not defined (reportUndefinedVariable)
|
Analysing the code with Pyright:
src/utils.py#L224
Type of "PIPE" is unknown (reportUnknownMemberType)
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, jakebailey/pyright-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The logs for this run have expired and are no longer available.
Loading