supervisely 6.73.236__py3-none-any.whl → 6.73.238__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.
Potentially problematic release.
This version of supervisely might be problematic. Click here for more details.
- supervisely/geometry/rectangle.py +7 -8
- {supervisely-6.73.236.dist-info → supervisely-6.73.238.dist-info}/METADATA +7 -7
- {supervisely-6.73.236.dist-info → supervisely-6.73.238.dist-info}/RECORD +7 -7
- {supervisely-6.73.236.dist-info → supervisely-6.73.238.dist-info}/LICENSE +0 -0
- {supervisely-6.73.236.dist-info → supervisely-6.73.238.dist-info}/WHEEL +0 -0
- {supervisely-6.73.236.dist-info → supervisely-6.73.238.dist-info}/entry_points.txt +0 -0
- {supervisely-6.73.236.dist-info → supervisely-6.73.238.dist-info}/top_level.txt +0 -0
|
@@ -876,10 +876,9 @@ class Rectangle(Geometry):
|
|
|
876
876
|
data = deepcopy(data) # Avoid modifying the original data
|
|
877
877
|
height, width = image_size[:2]
|
|
878
878
|
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
right = data[POINTS][EXTERIOR][1][0]
|
|
879
|
+
exterior = data[POINTS][EXTERIOR]
|
|
880
|
+
[top, bottom] = sorted([exterior[0][1], exterior[1][1]])
|
|
881
|
+
[left, right] = sorted([exterior[0][0], exterior[1][0]])
|
|
883
882
|
|
|
884
883
|
top, left, bottom, right = cls._round_subpixel_coordinates(top, left, bottom, right)
|
|
885
884
|
right = max(left, right - 1)
|
|
@@ -904,10 +903,10 @@ class Rectangle(Geometry):
|
|
|
904
903
|
:rtype: :class:`dict`
|
|
905
904
|
"""
|
|
906
905
|
data = deepcopy(data) # Avoid modifying the original data
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
bottom =
|
|
910
|
-
right =
|
|
906
|
+
|
|
907
|
+
exterior = data[POINTS][EXTERIOR]
|
|
908
|
+
[top, bottom] = sorted([exterior[0][1], exterior[1][1]])
|
|
909
|
+
[left, right] = sorted([exterior[0][0], exterior[1][0]])
|
|
911
910
|
|
|
912
911
|
right = max(left, right + 1)
|
|
913
912
|
bottom = max(top, bottom + 1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: supervisely
|
|
3
|
-
Version: 6.73.
|
|
3
|
+
Version: 6.73.238
|
|
4
4
|
Summary: Supervisely Python SDK.
|
|
5
5
|
Home-page: https://github.com/supervisely/supervisely
|
|
6
6
|
Author: Supervisely
|
|
@@ -22,10 +22,10 @@ Description-Content-Type: text/markdown
|
|
|
22
22
|
License-File: LICENSE
|
|
23
23
|
Requires-Dist: cachetools<=5.5.0,>=4.2.3
|
|
24
24
|
Requires-Dist: numpy<2.0.0,>=1.19
|
|
25
|
-
Requires-Dist: opencv-python<5.0.0.0,>=4.
|
|
25
|
+
Requires-Dist: opencv-python<5.0.0.0,>=4.6.0.66
|
|
26
26
|
Requires-Dist: PTable<1.0.0,>=0.9.2
|
|
27
27
|
Requires-Dist: pillow<=10.2.0,>=5.4.1
|
|
28
|
-
Requires-Dist: protobuf<=3.20.3,>=3.
|
|
28
|
+
Requires-Dist: protobuf<=3.20.3,>=3.19.5
|
|
29
29
|
Requires-Dist: python-json-logger<3.0.0,>=0.1.11
|
|
30
30
|
Requires-Dist: requests<3.0.0,>=2.27.1
|
|
31
31
|
Requires-Dist: requests-toolbelt>=0.9.1
|
|
@@ -52,7 +52,7 @@ Requires-Dist: arel<1.0.0,>=0.2.0
|
|
|
52
52
|
Requires-Dist: tqdm<5.0.0,>=4.62.3
|
|
53
53
|
Requires-Dist: pandas<=2.1.4,>=1.1.3
|
|
54
54
|
Requires-Dist: async-asgi-testclient
|
|
55
|
-
Requires-Dist: PyYAML
|
|
55
|
+
Requires-Dist: PyYAML>=5.4.0
|
|
56
56
|
Requires-Dist: distinctipy
|
|
57
57
|
Requires-Dist: beautifulsoup4
|
|
58
58
|
Requires-Dist: numerize
|
|
@@ -98,7 +98,7 @@ Requires-Dist: imagecorruptions<2.0.0,>=1.1.2; extra == "extras"
|
|
|
98
98
|
Requires-Dist: scikit-image<1.0.0,>=0.17.1; extra == "extras"
|
|
99
99
|
Requires-Dist: matplotlib<4.0.0,>=3.3.2; extra == "extras"
|
|
100
100
|
Requires-Dist: pascal-voc-writer<1.0.0,>=0.1.4; extra == "extras"
|
|
101
|
-
Requires-Dist: scipy<2.0.0,>=1.
|
|
101
|
+
Requires-Dist: scipy<2.0.0,>=1.8.0; extra == "extras"
|
|
102
102
|
Requires-Dist: pandas<1.4.0,>=1.1.3; extra == "extras"
|
|
103
103
|
Requires-Dist: ruamel.yaml==0.17.21; extra == "extras"
|
|
104
104
|
Provides-Extra: model-benchmark
|
|
@@ -111,13 +111,13 @@ Provides-Extra: sdk-nn-plugins
|
|
|
111
111
|
Requires-Dist: flask-restful<1.0.0,>=0.3.7; extra == "sdk-nn-plugins"
|
|
112
112
|
Requires-Dist: Werkzeug<3.0.0,>=1.0.1; extra == "sdk-nn-plugins"
|
|
113
113
|
Provides-Extra: sdk-no-usages
|
|
114
|
-
Requires-Dist: grpcio<2.0.0,>=1.
|
|
114
|
+
Requires-Dist: grpcio<2.0.0,>=1.53.2; extra == "sdk-no-usages"
|
|
115
115
|
Requires-Dist: plotly<6.0.0,>=4.11.0; extra == "sdk-no-usages"
|
|
116
116
|
Requires-Dist: psutil<6.0.0,>=5.4.5; extra == "sdk-no-usages"
|
|
117
117
|
Provides-Extra: tracking
|
|
118
118
|
Requires-Dist: yacs; extra == "tracking"
|
|
119
119
|
Requires-Dist: matplotlib<4.0.0,>=3.3.2; extra == "tracking"
|
|
120
|
-
Requires-Dist: scipy<2.0.0,>=1.
|
|
120
|
+
Requires-Dist: scipy<2.0.0,>=1.8.0; extra == "tracking"
|
|
121
121
|
Requires-Dist: lap; extra == "tracking"
|
|
122
122
|
Requires-Dist: cython-bbox; extra == "tracking"
|
|
123
123
|
Requires-Dist: termcolor; extra == "tracking"
|
|
@@ -669,7 +669,7 @@ supervisely/geometry/point_location.py,sha256=vLu5pWdtAi-WVQUKgFO7skigTaR-mtWR0t
|
|
|
669
669
|
supervisely/geometry/pointcloud.py,sha256=cc4P_UNLGx5dWah3caRJytW7_mAi8UnYsJOa20mUy8s,1472
|
|
670
670
|
supervisely/geometry/polygon.py,sha256=cAgCR8ccdGtieJTnmDnupPALMEwerHIqMWx7k3OCzVQ,11594
|
|
671
671
|
supervisely/geometry/polyline.py,sha256=LjjD-YGVDw1TQ84_IOHqnq43JFuSnsGdGMx404olYDs,8258
|
|
672
|
-
supervisely/geometry/rectangle.py,sha256=
|
|
672
|
+
supervisely/geometry/rectangle.py,sha256=f-Y6AnVYbMXXaAOLREyjqVJeb-l_tevQQHy9kiMKHhI,33749
|
|
673
673
|
supervisely/geometry/sliding_windows.py,sha256=VWtE3DS9AaIlS0ch0PY6wwtWU89J82icDRZ-F0LFrjM,1700
|
|
674
674
|
supervisely/geometry/sliding_windows_fuzzy.py,sha256=InvJlH6MEW55DM1IdoMHP2MLFLieTDZfHrZZEINLQOc,3626
|
|
675
675
|
supervisely/geometry/validation.py,sha256=G5vjtiXTCaTQvWegPIBiNw8pN_GiY86OUSRSsccdyLU,2139
|
|
@@ -997,9 +997,9 @@ supervisely/worker_proto/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZ
|
|
|
997
997
|
supervisely/worker_proto/worker_api_pb2.py,sha256=VQfi5JRBHs2pFCK1snec3JECgGnua3Xjqw_-b3aFxuM,59142
|
|
998
998
|
supervisely/worker_proto/worker_api_pb2_grpc.py,sha256=3BwQXOaP9qpdi0Dt9EKG--Lm8KGN0C5AgmUfRv77_Jk,28940
|
|
999
999
|
supervisely_lib/__init__.py,sha256=7-3QnN8Zf0wj8NCr2oJmqoQWMKKPKTECvjH9pd2S5vY,159
|
|
1000
|
-
supervisely-6.73.
|
|
1001
|
-
supervisely-6.73.
|
|
1002
|
-
supervisely-6.73.
|
|
1003
|
-
supervisely-6.73.
|
|
1004
|
-
supervisely-6.73.
|
|
1005
|
-
supervisely-6.73.
|
|
1000
|
+
supervisely-6.73.238.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
1001
|
+
supervisely-6.73.238.dist-info/METADATA,sha256=j1-Fhh_Bn7kB7RBO05jQFsdygCHuK041cngXQYcClig,33157
|
|
1002
|
+
supervisely-6.73.238.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
|
|
1003
|
+
supervisely-6.73.238.dist-info/entry_points.txt,sha256=U96-5Hxrp2ApRjnCoUiUhWMqijqh8zLR03sEhWtAcms,102
|
|
1004
|
+
supervisely-6.73.238.dist-info/top_level.txt,sha256=kcFVwb7SXtfqZifrZaSE3owHExX4gcNYe7Q2uoby084,28
|
|
1005
|
+
supervisely-6.73.238.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|