ytcollector 1.1.6__py3-none-any.whl → 1.1.7__py3-none-any.whl
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.
- ytcollector/__init__.py +1 -1
- ytcollector/analyzer.py +28 -0
- {ytcollector-1.1.6.dist-info → ytcollector-1.1.7.dist-info}/METADATA +1 -1
- {ytcollector-1.1.6.dist-info → ytcollector-1.1.7.dist-info}/RECORD +7 -7
- {ytcollector-1.1.6.dist-info → ytcollector-1.1.7.dist-info}/WHEEL +0 -0
- {ytcollector-1.1.6.dist-info → ytcollector-1.1.7.dist-info}/entry_points.txt +0 -0
- {ytcollector-1.1.6.dist-info → ytcollector-1.1.7.dist-info}/top_level.txt +0 -0
ytcollector/__init__.py
CHANGED
ytcollector/analyzer.py
CHANGED
|
@@ -1,3 +1,31 @@
|
|
|
1
|
+
import threading
|
|
2
|
+
import re
|
|
3
|
+
import os
|
|
4
|
+
|
|
5
|
+
try:
|
|
6
|
+
import cv2
|
|
7
|
+
CV2_AVAILABLE = True
|
|
8
|
+
except ImportError:
|
|
9
|
+
CV2_AVAILABLE = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
import numpy as np
|
|
13
|
+
NUMPY_AVAILABLE = True
|
|
14
|
+
except ImportError:
|
|
15
|
+
NUMPY_AVAILABLE = False
|
|
16
|
+
|
|
17
|
+
try:
|
|
18
|
+
import easyocr
|
|
19
|
+
EASYOCR_AVAILABLE = True
|
|
20
|
+
except ImportError:
|
|
21
|
+
EASYOCR_AVAILABLE = False
|
|
22
|
+
|
|
23
|
+
try:
|
|
24
|
+
from ultralytics import YOLOWorld
|
|
25
|
+
YOLO_AVAILABLE = True
|
|
26
|
+
except ImportError:
|
|
27
|
+
YOLO_AVAILABLE = False
|
|
28
|
+
|
|
1
29
|
try:
|
|
2
30
|
import torch
|
|
3
31
|
USE_GPU = torch.cuda.is_available()
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
ytcollector/__init__.py,sha256=
|
|
2
|
-
ytcollector/analyzer.py,sha256=
|
|
1
|
+
ytcollector/__init__.py,sha256=uXLmOZ3da_7GwVej0hDAuiUJsw5XweBBUrUs4sJo7J4,1094
|
|
2
|
+
ytcollector/analyzer.py,sha256=raw7tcERbNG8cDTnKDr95VA3Nju9We4jW7XGheUUPWE,13097
|
|
3
3
|
ytcollector/cli.py,sha256=aHF4EuQRPLKh65lnkI_dZ0ResztlVjpHlS5iHfzmpig,5577
|
|
4
4
|
ytcollector/config.py,sha256=ZjyDWQg4haJPwUlP-eW0hXa_I2g9wyNaI8y5mxEU0vc,3040
|
|
5
5
|
ytcollector/dataset_builder.py,sha256=nfArEwszoCln48n3T0Eff_4OOaYv8FF0YH8cARBGMWQ,2608
|
|
6
6
|
ytcollector/downloader.py,sha256=TeC6agUmSPHZSZ9jdoc42i8i_NobzTEkoRtAIgW80kI,14544
|
|
7
7
|
ytcollector/utils.py,sha256=6XDif-e3GbMHmUvTsBT0YblxNxYnS-2I8HnmjMBZs-M,4254
|
|
8
|
-
ytcollector-1.1.
|
|
9
|
-
ytcollector-1.1.
|
|
10
|
-
ytcollector-1.1.
|
|
11
|
-
ytcollector-1.1.
|
|
12
|
-
ytcollector-1.1.
|
|
8
|
+
ytcollector-1.1.7.dist-info/METADATA,sha256=Qyop1AVyK-BmWgrjsGUMiYbE55kmOZSwMKYWEADQzRk,7156
|
|
9
|
+
ytcollector-1.1.7.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
|
|
10
|
+
ytcollector-1.1.7.dist-info/entry_points.txt,sha256=waiVuSJJYt-6_DAal-T4JkHgejo7wKYLdKrEI7tZ-ms,127
|
|
11
|
+
ytcollector-1.1.7.dist-info/top_level.txt,sha256=wozNyCUm0eMOm-9U81yTql6oGaM2O5rWVBXDb93zzyQ,12
|
|
12
|
+
ytcollector-1.1.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|