arcjetCV 1.1.5.dev1__tar.gz → 1.1.6__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.
- {arcjetcv-1.1.5.dev1/arcjetcv.egg-info → arcjetcv-1.1.6}/PKG-INFO +1 -1
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/main.py +19 -19
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/main_window.py +0 -3
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6/arcjetcv.egg-info}/PKG-INFO +1 -1
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/setup.py +1 -1
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/LICENSE +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/MANIFEST.in +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/README.md +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/README_pypi.md +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/__init__.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/__init__.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/calibrate_video.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/calibration_controller.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/calibration_main.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/calibration_model.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/calibration_view.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/chessboard_pattern.png +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/detetct_example.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/rotated_pattern.png +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/calibration/test.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/chessboard_pattern.png +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/__init__.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/_arcjetCV_gui.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/arcjetCV_gui.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/custom_classes.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/logo/arcjetCV_logo.icns +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/logo/arcjetCV_logo.ico +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/logo/arcjetCV_logo_.png +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/gui/logo/arcjetCV_logo_white.png +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/segmentation/__init__.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/segmentation/contour/__init__.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/segmentation/contour/cnn.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/segmentation/contour/contour.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/segmentation/contour/conversion.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/segmentation/contour/model_loader.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/segmentation/time/__init__.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/segmentation/time/time_segmentation.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/utils/__init__.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/utils/logger.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/utils/output.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/utils/processor.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/utils/utils.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetCV/utils/video.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetcv.egg-info/SOURCES.txt +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetcv.egg-info/dependency_links.txt +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetcv.egg-info/entry_points.txt +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetcv.egg-info/requires.txt +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/arcjetcv.egg-info/top_level.txt +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/setup.cfg +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/README.md +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/__init__.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/chessboard_pattern.png +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/test_calibration_functions.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/test_calibration_gui.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/test_functions.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/test_gui.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/test_obj_models.py +0 -0
- {arcjetcv-1.1.5.dev1 → arcjetcv-1.1.6}/tests/test_segmentation.py +0 -0
|
@@ -10,37 +10,37 @@ from PySide6.QtWidgets import QApplication
|
|
|
10
10
|
from PySide6.QtGui import QIcon
|
|
11
11
|
from arcjetCV.gui.main_window import MainWindow
|
|
12
12
|
from arcjetCV.segmentation.contour.model_loader import get_model_checkpoint
|
|
13
|
+
from pathlib import Path
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
# Function to get the correct icon path based on OS
|
|
16
16
|
def get_icon_path():
|
|
17
|
-
base_path =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"arcjetCV_logo.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
return os.path.join(base_path, "logo", icon_filename)
|
|
17
|
+
base_path = Path(__file__).resolve().parent
|
|
18
|
+
if sys.platform.startswith("win"):
|
|
19
|
+
icon_filename = "arcjetCV_logo_.png"
|
|
20
|
+
elif sys.platform == "darwin":
|
|
21
|
+
icon_filename = "arcjetCV_logo.icns"
|
|
22
|
+
else:
|
|
23
|
+
icon_filename = "arcjetCV_logo_.png"
|
|
24
|
+
return base_path / "logo" / icon_filename
|
|
26
25
|
|
|
27
26
|
|
|
28
27
|
def main():
|
|
29
28
|
app = QApplication(sys.argv)
|
|
30
|
-
window = MainWindow()
|
|
31
|
-
|
|
32
|
-
# Set application icon
|
|
33
29
|
icon_path = get_icon_path()
|
|
34
|
-
try:
|
|
35
|
-
get_model_checkpoint()
|
|
36
|
-
except Exception as e:
|
|
37
|
-
print(f"[WARNING] Could not preload model weights: {e}")
|
|
38
30
|
|
|
39
|
-
if
|
|
40
|
-
|
|
31
|
+
if icon_path.exists():
|
|
32
|
+
icon = QIcon(str(icon_path))
|
|
33
|
+
app.setWindowIcon(icon) # sets default for future windows
|
|
41
34
|
else:
|
|
42
35
|
print(f"[WARNING] Icon file not found: {icon_path}")
|
|
43
36
|
|
|
37
|
+
window = MainWindow()
|
|
38
|
+
if icon_path.exists():
|
|
39
|
+
window.setWindowIcon(QIcon(str(icon_path))) # <- explicit for taskbar
|
|
40
|
+
try:
|
|
41
|
+
get_model_checkpoint()
|
|
42
|
+
except Exception as e:
|
|
43
|
+
print(f"[WARNING] Could not preload model weights: {e}")
|
|
44
44
|
window.show()
|
|
45
45
|
sys.exit(app.exec())
|
|
46
46
|
|
|
@@ -683,9 +683,6 @@ class MainWindow(QtWidgets.QMainWindow):
|
|
|
683
683
|
|
|
684
684
|
# ✅ Ensure proper cleanup
|
|
685
685
|
self.worker.finished.connect(self.thread.quit)
|
|
686
|
-
self.worker.finished.connect(
|
|
687
|
-
lambda: self.thread.wait(5000)
|
|
688
|
-
) # Wait for thread to exit
|
|
689
686
|
self.thread.finished.connect(lambda: print("✅ Worker thread fully terminated"))
|
|
690
687
|
|
|
691
688
|
# ✅ Start the new thread
|
|
@@ -66,7 +66,7 @@ check_linux_dependencies()
|
|
|
66
66
|
# Define the setup configuration
|
|
67
67
|
setup(
|
|
68
68
|
name="arcjetcv",
|
|
69
|
-
version="1.1.
|
|
69
|
+
version="1.1.6", # Set the version directly here
|
|
70
70
|
author="arcjetCV team",
|
|
71
71
|
description="Package to process arcjet videos and segment the edge of the shock and of the sample",
|
|
72
72
|
long_description=long_description,
|
|
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
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|