Skip to content

Add option to disable progresses bar #1390

Open
@AlexandreSenpai

Description

@AlexandreSenpai

I have encountered an issue where even after setting the verbose parameter to False when instantiating the Reader, the progress bars still appear during model download and inference. This behavior clutters the output, especially in environments like CI/CD pipelines or when running scripts where clean logs are necessary.

Steps to Reproduce:

  1. Initialize EasyOCR's Reader with verbose=False:
import easyocr
reader = easyocr.Reader(['en'], verbose=False)

Observe that progress bar outputs are still displayed in the console.

Expected Behavior:

Setting verbose=False should completely disable all progress bar outputs, providing a clean output without the need for any workarounds.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions