implemented text recognition (ocr) #662
Annotations
10 errors and 3 warnings
Analysing the code with Pyright:
src/AutoSplit.py#L878
Type of "texts" is unknown (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/AutoSplit.py#L878
Argument type is unknown
Argument corresponds to parameter "__iterable" in function "join" (reportUnknownArgumentType)
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L45
List expression not allowed in type annotation
Use List[T] to indicate a list type or Union[T1, T2] to indicate a union type (reportInvalidTypeForm)
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L45
Expected type expression but received "list[Unknown]" (reportGeneralTypeIssues)
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L179
Object of type "None" is not subscriptable (reportOptionalSubscript)
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L179
Argument type is partially unknown
Argument corresponds to parameter "capture" in function "extract_and_compare_text"
Argument type is "ndarray[Any, dtype[generic]] | Unknown" (reportUnknownArgumentType)
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L179
Type of "texts" is unknown (reportUnknownMemberType)
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L179
Argument type is unknown
Argument corresponds to parameter "texts" in function "extract_and_compare_text" (reportUnknownArgumentType)
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L195
Type of "extract_and_compare_text" is partially unknown
Type of "extract_and_compare_text" is "(capture: Mat | ndarray[Any, dtype[generic]], texts: Unknown) -> float" (reportUnknownVariableType)
|
Analysing the code with Pyright:
src/compare.py#L133
Type of parameter "texts" is unknown (reportUnknownParameterType)
|
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/.
|
Analysing the code with Pyright:
src/AutoSplitImage.py#L8
Stub file not found for "tomllib" (reportMissingTypeStubs)
|
Analysing the code with Pyright:
src/compare.py#L9
Stub file not found for "easyocr" (reportMissingTypeStubs)
|
The logs for this run have expired and are no longer available.
Loading