homa 0.25__tar.gz → 0.26__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.
Potentially problematic release.
This version of homa might be problematic. Click here for more details.
- {homa-0.25 → homa-0.26}/PKG-INFO +1 -1
- {homa-0.25 → homa-0.26}/homa/classes/Repository.py +3 -3
- {homa-0.25 → homa-0.26}/homa/classes/Window.py +6 -2
- homa-0.26/homa/helpers/environment.py +9 -0
- {homa-0.25 → homa-0.26}/homa.egg-info/PKG-INFO +1 -1
- homa-0.25/homa/helpers/environment.py +0 -5
- {homa-0.25 → homa-0.26}/LICENSE +0 -0
- {homa-0.25 → homa-0.26}/README.md +0 -0
- {homa-0.25 → homa-0.26}/homa/__init__.py +0 -0
- {homa-0.25 → homa-0.26}/homa/camera.py +0 -0
- {homa-0.25 → homa-0.26}/homa/classes/Collection.py +0 -0
- {homa-0.25 → homa-0.26}/homa/classes/Image.py +0 -0
- {homa-0.25 → homa-0.26}/homa/classes/Logger.py +0 -0
- {homa-0.25 → homa-0.26}/homa/classes/__init__.py +0 -0
- {homa-0.25 → homa-0.26}/homa/constants.py +0 -0
- {homa-0.25 → homa-0.26}/homa/events.py +0 -0
- {homa-0.25 → homa-0.26}/homa/helpers/__init__.py +0 -0
- {homa-0.25 → homa-0.26}/homa/helpers/alias.py +0 -0
- {homa-0.25 → homa-0.26}/homa/helpers/kernel.py +0 -0
- {homa-0.25 → homa-0.26}/homa/helpers/string.py +0 -0
- {homa-0.25 → homa-0.26}/homa/main.py +0 -0
- {homa-0.25 → homa-0.26}/homa/orientation.py +0 -0
- {homa-0.25 → homa-0.26}/homa/shapes.py +0 -0
- {homa-0.25 → homa-0.26}/homa/spaces.py +0 -0
- {homa-0.25 → homa-0.26}/homa.egg-info/SOURCES.txt +0 -0
- {homa-0.25 → homa-0.26}/homa.egg-info/dependency_links.txt +0 -0
- {homa-0.25 → homa-0.26}/homa.egg-info/requires.txt +0 -0
- {homa-0.25 → homa-0.26}/homa.egg-info/top_level.txt +0 -0
- {homa-0.25 → homa-0.26}/setup.cfg +0 -0
- {homa-0.25 → homa-0.26}/setup.py +0 -0
- {homa-0.25 → homa-0.26}/tests/__init__.py +0 -0
- {homa-0.25 → homa-0.26}/tests/test_images.py +0 -0
{homa-0.25 → homa-0.26}/PKG-INFO
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
from ..helpers.environment import
|
|
1
|
+
from ..helpers.environment import isColab
|
|
2
2
|
from ..helpers.string import randomLowercaseString
|
|
3
3
|
|
|
4
4
|
|
|
@@ -12,13 +12,13 @@ class RepositoryWrapper:
|
|
|
12
12
|
"sigma": [0, 0]
|
|
13
13
|
}
|
|
14
14
|
|
|
15
|
-
if
|
|
15
|
+
if isColab():
|
|
16
16
|
from google.colab.patches import cv2_imshow as imshow
|
|
17
17
|
else:
|
|
18
18
|
from cv2 import imshow
|
|
19
19
|
|
|
20
20
|
def final_imshow(window, image):
|
|
21
|
-
if
|
|
21
|
+
if isColab():
|
|
22
22
|
imshow(image)
|
|
23
23
|
else:
|
|
24
24
|
imshow(window, image)
|
|
@@ -3,6 +3,7 @@ import cv2
|
|
|
3
3
|
|
|
4
4
|
from ..helpers.kernel import createKernel
|
|
5
5
|
from ..helpers.string import randomLowercaseString
|
|
6
|
+
from ..helpers.environment import isNotColab
|
|
6
7
|
|
|
7
8
|
from ..classes.Repository import Repository
|
|
8
9
|
|
|
@@ -30,8 +31,11 @@ class Window:
|
|
|
30
31
|
self.__events = {}
|
|
31
32
|
|
|
32
33
|
def show(self):
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
if isNotColab():
|
|
35
|
+
cv2.namedWindow(self.__title)
|
|
36
|
+
cv2.setMouseCallback(
|
|
37
|
+
self.__title, createMouseCallback(self.__events))
|
|
38
|
+
|
|
35
39
|
Repository.imshow(self.__title, self.__image)
|
|
36
40
|
|
|
37
41
|
def title(self, newTitle: str) -> Self:
|
{homa-0.25 → homa-0.26}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{homa-0.25 → homa-0.26}/setup.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|