breezedeus / CnOCR

CnOCR: Awesome Chinese/English OCR Python toolkits based on PyTorch. It comes with 20+ well-trained models for different application scenarios and can be used directly after installation. 【基于 PyTorch/MXNet 的中文/英文 OCR Python 包。】
https://www.breezedeus.com/article/cnocr
Apache License 2.0
3.19k stars 498 forks source link

如何打开日志? #298

Closed yinghaodang closed 9 months ago

yinghaodang commented 9 months ago

如题,,求告知。

breezedeus commented 9 months ago
from cnocr.utils import set_logger

logger = set_logger(log_level=logging.INFO)
yinghaodang commented 9 months ago

谢谢