cabana 0.0.2__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.
- .DS_Store +0 -0
- cabana/__init__.py +4 -0
- cabana/__main__.py +21 -0
- cabana/analyzer.py +1213 -0
- cabana/batch.py +1462 -0
- cabana/batch_processor.py +324 -0
- cabana/cabana-gui.py +1111 -0
- cabana/cabana.py +1051 -0
- cabana/cabana_gui.py +1095 -0
- cabana/constants.py +41 -0
- cabana/convcrf.py +637 -0
- cabana/correct.py +896 -0
- cabana/detector.py +983 -0
- cabana/hdm.py +161 -0
- cabana/log.py +122 -0
- cabana/models.py +64 -0
- cabana/orientation.py +516 -0
- cabana/segmenter.py +361 -0
- cabana/ui.py +1475 -0
- cabana/utils.py +1544 -0
- cabana/version_info.py +23 -0
- cabana-0.0.2.dist-info/LICENSE +21 -0
- cabana-0.0.2.dist-info/METADATA +114 -0
- cabana-0.0.2.dist-info/RECORD +27 -0
- cabana-0.0.2.dist-info/WHEEL +5 -0
- cabana-0.0.2.dist-info/entry_points.txt +2 -0
- cabana-0.0.2.dist-info/top_level.txt +1 -0
.DS_Store
ADDED
|
Binary file
|
cabana/__init__.py
ADDED
cabana/__main__.py
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
from PyQt5.QtWidgets import QApplication
|
|
2
|
+
from PyQt5.QtGui import QIcon
|
|
3
|
+
from PyQt5.QtCore import Qt
|
|
4
|
+
import sys
|
|
5
|
+
from pathlib import Path
|
|
6
|
+
from .cabana_gui import MainWindow
|
|
7
|
+
|
|
8
|
+
def main():
|
|
9
|
+
# Enable High DPI display before creating QApplication
|
|
10
|
+
QApplication.setAttribute(Qt.AA_EnableHighDpiScaling, True)
|
|
11
|
+
QApplication.setAttribute(Qt.AA_UseHighDpiPixmaps, True)
|
|
12
|
+
|
|
13
|
+
app = QApplication(sys.argv)
|
|
14
|
+
window = MainWindow()
|
|
15
|
+
icon_path = Path(__file__).parent.parent / "cabana-logo.ico"
|
|
16
|
+
app.setWindowIcon(QIcon(str(icon_path)))
|
|
17
|
+
window.show()
|
|
18
|
+
sys.exit(app.exec_())
|
|
19
|
+
|
|
20
|
+
if __name__ == "__main__":
|
|
21
|
+
main()
|