kmisc 2.1.126__tar.gz → 2.1.127__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kmisc
3
- Version: 2.1.126
3
+ Version: 2.1.127
4
4
  Summary: Enginering useful library
5
5
  Home-page: https://github.com/kagepark/kmisc
6
6
  Author: Kage Park
@@ -3742,8 +3742,10 @@ class OCR:
3742
3742
  Import('cv2',install_name='opencv-python')
3743
3743
  else:
3744
3744
  Import('easyocr')
3745
+ Import('logging')
3745
3746
  if self.enhance:
3746
3747
  Import('PIL',install_name='Pillow')
3748
+ logging.getLogger('easyocr').setLevel(logging.ERROR)
3747
3749
  warnings.filterwarnings("ignore", category=RuntimeWarning, module="networkx.utils.backends")
3748
3750
  warnings.filterwarnings("ignore", category=UserWarning, module="torch.utils.data.dataloader")
3749
3751
  # Suppress EasyOCR CPU warning
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: kmisc
3
- Version: 2.1.126
3
+ Version: 2.1.127
4
4
  Summary: Enginering useful library
5
5
  Home-page: https://github.com/kagepark/kmisc
6
6
  Author: Kage Park
File without changes
File without changes
File without changes
File without changes
File without changes