Skip to content

implemented text recognition (ocr) #662

implemented text recognition (ocr)

implemented text recognition (ocr) #662

Triggered via pull request February 3, 2024 14:12
Status Failure
Total duration 28m 39s
Artifacts 6

lint-and-build.yml

on: pull_request
Matrix: Build
Matrix: Pyright
Matrix: ruff
Fit to window
Zoom out
Zoom in

Annotations

55 errors and 21 warnings
ruff (ubuntu-22.04, 3.11)
Process completed with exit code 1.
ruff (ubuntu-22.04, 3.10)
Process completed with exit code 1.
Pyright (ubuntu-22.04, 3.11): src/AutoSplit.py#L878
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (ubuntu-22.04, 3.11): src/AutoSplit.py#L878
Argument type is unknown   Argument corresponds to parameter "__iterable" in function "join" (reportUnknownArgumentType)
Pyright (ubuntu-22.04, 3.11): 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)
Pyright (ubuntu-22.04, 3.11): src/AutoSplitImage.py#L45
Expected type expression but received "list[Unknown]" (reportGeneralTypeIssues)
Pyright (ubuntu-22.04, 3.11): src/AutoSplitImage.py#L179
Object of type "None" is not subscriptable (reportOptionalSubscript)
Pyright (ubuntu-22.04, 3.11): 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)
Pyright (ubuntu-22.04, 3.11): src/AutoSplitImage.py#L179
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (ubuntu-22.04, 3.11): src/AutoSplitImage.py#L179
Argument type is unknown   Argument corresponds to parameter "texts" in function "extract_and_compare_text" (reportUnknownArgumentType)
Pyright (ubuntu-22.04, 3.11): 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)
Pyright (ubuntu-22.04, 3.11): src/compare.py#L133
Type of parameter "texts" is unknown (reportUnknownParameterType)
Pyright (ubuntu-22.04, 3.10): src/AutoSplit.py#L878
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (ubuntu-22.04, 3.10): src/AutoSplit.py#L878
Argument type is unknown   Argument corresponds to parameter "__iterable" in function "join" (reportUnknownArgumentType)
Pyright (ubuntu-22.04, 3.10): src/AutoSplitImage.py#L8
Import "tomllib" could not be resolved (reportMissingImports)
Pyright (ubuntu-22.04, 3.10): 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)
Pyright (ubuntu-22.04, 3.10): src/AutoSplitImage.py#L45
Expected type expression but received "list[Unknown]" (reportGeneralTypeIssues)
Pyright (ubuntu-22.04, 3.10): src/AutoSplitImage.py#L122
Type of "data" is unknown (reportUnknownVariableType)
Pyright (ubuntu-22.04, 3.10): src/AutoSplitImage.py#L122
Type of "load" is unknown (reportUnknownMemberType)
Pyright (ubuntu-22.04, 3.10): src/AutoSplitImage.py#L179
Object of type "None" is not subscriptable (reportOptionalSubscript)
Pyright (ubuntu-22.04, 3.10): 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)
Pyright (ubuntu-22.04, 3.10): src/AutoSplitImage.py#L179
Type of "texts" is unknown (reportUnknownMemberType)
ruff (windows-latest, 3.11)
Process completed with exit code 1.
ruff (windows-latest, 3.10)
Process completed with exit code 1.
ruff (windows-latest, 3.12)
Process completed with exit code 1.
Pyright (windows-latest, 3.10): src/AutoSplit.py#L878
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (windows-latest, 3.10): src/AutoSplit.py#L878
Argument type is unknown   Argument corresponds to parameter "__iterable" in function "join" (reportUnknownArgumentType)
Pyright (windows-latest, 3.10): src/AutoSplitImage.py#L8
Import "tomllib" could not be resolved (reportMissingImports)
Pyright (windows-latest, 3.10): 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)
Pyright (windows-latest, 3.10): src/AutoSplitImage.py#L45
Expected type expression but received "list[Unknown]" (reportGeneralTypeIssues)
Pyright (windows-latest, 3.10): src/AutoSplitImage.py#L122
Type of "data" is unknown (reportUnknownVariableType)
Pyright (windows-latest, 3.10): src/AutoSplitImage.py#L122
Type of "load" is unknown (reportUnknownMemberType)
Pyright (windows-latest, 3.10): src/AutoSplitImage.py#L179
Object of type "None" is not subscriptable (reportOptionalSubscript)
Pyright (windows-latest, 3.10): 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)
Pyright (windows-latest, 3.10): src/AutoSplitImage.py#L179
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (windows-latest, 3.11): src/AutoSplit.py#L878
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (windows-latest, 3.11): src/AutoSplit.py#L878
Argument type is unknown   Argument corresponds to parameter "__iterable" in function "join" (reportUnknownArgumentType)
Pyright (windows-latest, 3.11): 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)
Pyright (windows-latest, 3.11): src/AutoSplitImage.py#L45
Expected type expression but received "list[Unknown]" (reportGeneralTypeIssues)
Pyright (windows-latest, 3.11): src/AutoSplitImage.py#L179
Object of type "None" is not subscriptable (reportOptionalSubscript)
Pyright (windows-latest, 3.11): 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)
Pyright (windows-latest, 3.11): src/AutoSplitImage.py#L179
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (windows-latest, 3.11): src/AutoSplitImage.py#L179
Argument type is unknown   Argument corresponds to parameter "texts" in function "extract_and_compare_text" (reportUnknownArgumentType)
Pyright (windows-latest, 3.11): 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)
Pyright (windows-latest, 3.11): src/compare.py#L133
Type of parameter "texts" is unknown (reportUnknownParameterType)
Pyright (windows-latest, 3.12): src/AutoSplit.py#L878
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (windows-latest, 3.12): src/AutoSplit.py#L878
Argument type is unknown   Argument corresponds to parameter "__iterable" in function "join" (reportUnknownArgumentType)
Pyright (windows-latest, 3.12): 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)
Pyright (windows-latest, 3.12): src/AutoSplitImage.py#L45
Expected type expression but received "list[Unknown]" (reportGeneralTypeIssues)
Pyright (windows-latest, 3.12): src/AutoSplitImage.py#L179
Object of type "None" is not subscriptable (reportOptionalSubscript)
Pyright (windows-latest, 3.12): 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)
Pyright (windows-latest, 3.12): src/AutoSplitImage.py#L179
Type of "texts" is unknown (reportUnknownMemberType)
Pyright (windows-latest, 3.12): src/AutoSplitImage.py#L179
Argument type is unknown   Argument corresponds to parameter "texts" in function "extract_and_compare_text" (reportUnknownArgumentType)
Pyright (windows-latest, 3.12): 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)
Pyright (windows-latest, 3.12): src/compare.py#L133
Type of parameter "texts" is unknown (reportUnknownParameterType)
ruff (ubuntu-22.04, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ruff (ubuntu-22.04, 3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Pyright (ubuntu-22.04, 3.11)
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/.
Pyright (ubuntu-22.04, 3.11): src/AutoSplitImage.py#L8
Stub file not found for "tomllib" (reportMissingTypeStubs)
Pyright (ubuntu-22.04, 3.11): src/compare.py#L9
Stub file not found for "easyocr" (reportMissingTypeStubs)
Pyright (ubuntu-22.04, 3.10)
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/.
Pyright (ubuntu-22.04, 3.10): src/compare.py#L9
Stub file not found for "easyocr" (reportMissingTypeStubs)
ruff (windows-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ruff (windows-latest, 3.10)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
ruff (windows-latest, 3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Pyright (windows-latest, 3.10)
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/.
Pyright (windows-latest, 3.10): src/compare.py#L9
Stub file not found for "easyocr" (reportMissingTypeStubs)
Pyright (windows-latest, 3.11)
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/.
Pyright (windows-latest, 3.11): src/AutoSplitImage.py#L8
Stub file not found for "tomllib" (reportMissingTypeStubs)
Pyright (windows-latest, 3.11): src/compare.py#L9
Stub file not found for "easyocr" (reportMissingTypeStubs)
Pyright (windows-latest, 3.12)
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/.
Pyright (windows-latest, 3.12): src/AutoSplitImage.py#L8
Stub file not found for "tomllib" (reportMissingTypeStubs)
Pyright (windows-latest, 3.12): src/compare.py#L9
Stub file not found for "easyocr" (reportMissingTypeStubs)
Build (windows-latest, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build (windows-latest, 3.12)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build (ubuntu-22.04, 3.11)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v4, actions/upload-artifact@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.

Artifacts

Produced during runtime
Name Size
AutoSplit for ubuntu-22.04 (Python 3.11) Expired
2.78 GB
AutoSplit for windows-latest (Python 3.11) Expired
255 MB
AutoSplit for windows-latest (Python 3.12) Expired
253 MB
Build logs for ubuntu-22.04 (Python 3.11) Expired
9.97 MB
Build logs for windows-latest (Python 3.11) Expired
10.6 MB
Build logs for windows-latest (Python 3.12) Expired
10.6 MB