Cleanup, bugfixes ...
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 2m30s
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 2m30s
This commit is contained in:
117
.gitignore
vendored
117
.gitignore
vendored
@@ -1,15 +1,104 @@
|
|||||||
|
|
||||||
mucapy/seperate/__pycache__/__init__.cpython-313.pyc
|
# ============================
|
||||||
mucapy/seperate/__pycache__/AboutWindow.cpython-313.pyc
|
# IDEs and Editors
|
||||||
mucapy/seperate/__pycache__/CameraDisplay.cpython-313.pyc
|
# ============================
|
||||||
mucapy/seperate/__pycache__/CollapsibleDock.cpython-313.pyc
|
.idea/
|
||||||
mucapy/seperate/__pycache__/Config.cpython-313.pyc
|
.vscode/
|
||||||
mucapy/seperate/__pycache__/main.cpython-313.pyc
|
*.swp
|
||||||
mucapy/seperate/__pycache__/MainWindow.cpython-313.pyc
|
*.swo
|
||||||
mucapy/seperate/__pycache__/MultiCamYOLODetector.cpython-313.pyc
|
|
||||||
mucapy/seperate/__pycache__/NetworkCameraDialog.cpython-313.pyc
|
# ============================
|
||||||
mucapy/__pycache__/todo.cpython-313.pyc
|
# Python
|
||||||
mucapy/todopackage/__pycache__/__init__.cpython-313.pyc
|
# ============================
|
||||||
mucapy/todopackage/__pycache__/todo.cpython-313.pyc
|
|
||||||
mucapy/todopackage/__pycache__/__init__.cpython-312.pyc
|
# Byte-compiled / optimized / DLL files
|
||||||
mucapy/todopackage/__pycache__/todo.cpython-312.pyc
|
__pycache__/
|
||||||
|
*.py[cod]
|
||||||
|
*$py.class
|
||||||
|
|
||||||
|
# C extensions
|
||||||
|
*.so
|
||||||
|
|
||||||
|
# Distribution / packaging
|
||||||
|
.Python
|
||||||
|
build/
|
||||||
|
develop-eggs/
|
||||||
|
dist/
|
||||||
|
downloads/
|
||||||
|
eggs/
|
||||||
|
.eggs/
|
||||||
|
lib/
|
||||||
|
lib64/
|
||||||
|
parts/
|
||||||
|
sdist/
|
||||||
|
var/
|
||||||
|
wheels/
|
||||||
|
share/python-wheels/
|
||||||
|
*.egg-info/
|
||||||
|
.installed.cfg
|
||||||
|
*.egg
|
||||||
|
MANIFEST
|
||||||
|
|
||||||
|
# Virtual environments
|
||||||
|
.venv/
|
||||||
|
venv/
|
||||||
|
env/
|
||||||
|
ENV/
|
||||||
|
pip-wheel-metadata/
|
||||||
|
pip-log.txt
|
||||||
|
|
||||||
|
# PyInstaller
|
||||||
|
*.manifest
|
||||||
|
*.spec
|
||||||
|
|
||||||
|
# Installer logs
|
||||||
|
pip-log.txt
|
||||||
|
pip-delete-this-directory.txt
|
||||||
|
|
||||||
|
# Unit test / coverage reports
|
||||||
|
htmlcov/
|
||||||
|
.tox/
|
||||||
|
.nox/
|
||||||
|
.coverage
|
||||||
|
.coverage.*
|
||||||
|
.cache
|
||||||
|
nosetests.xml
|
||||||
|
coverage.xml
|
||||||
|
*.cover
|
||||||
|
*.py,cover
|
||||||
|
.hypothesis/
|
||||||
|
.pytest_cache/
|
||||||
|
cover/
|
||||||
|
|
||||||
|
# Jupyter Notebook
|
||||||
|
.ipynb_checkpoints
|
||||||
|
|
||||||
|
# ============================
|
||||||
|
# Logs / runtime / temp files
|
||||||
|
# ============================
|
||||||
|
*.log
|
||||||
|
*.pid
|
||||||
|
*.seed
|
||||||
|
*.out
|
||||||
|
*.bak
|
||||||
|
*.tmp
|
||||||
|
*.temp
|
||||||
|
*.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# ============================
|
||||||
|
# System and OS junk
|
||||||
|
# ============================
|
||||||
|
ehthumbs.db
|
||||||
|
Desktop.ini
|
||||||
|
$RECYCLE.BIN/
|
||||||
|
.DS_Store
|
||||||
|
.Spotlight-V100
|
||||||
|
.Trashes
|
||||||
|
.idea_modules/
|
||||||
|
|
||||||
|
# ============================
|
||||||
|
# Custom project folders
|
||||||
|
# ============================
|
||||||
|
# Ignore project-specific compiled caches or outputs
|
||||||
|
mucapy/**/__pycache__/
|
||||||
|
|||||||
8
.idea/.gitignore
generated
vendored
Normal file
8
.idea/.gitignore
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
# Default ignored files
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# Editor-based HTTP Client requests
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
||||||
13
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
13
.idea/inspectionProfiles/Project_Default.xml
generated
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<profile version="1.0">
|
||||||
|
<option name="myName" value="Project Default" />
|
||||||
|
<inspection_tool class="PyPep8NamingInspection" enabled="true" level="WEAK WARNING" enabled_by_default="true">
|
||||||
|
<option name="ignoredErrors">
|
||||||
|
<list>
|
||||||
|
<option value="N812" />
|
||||||
|
<option value="N802" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</inspection_tool>
|
||||||
|
</profile>
|
||||||
|
</component>
|
||||||
6
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
6
.idea/inspectionProfiles/profiles_settings.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<component name="InspectionProjectProfileManager">
|
||||||
|
<settings>
|
||||||
|
<option name="USE_PROJECT_PROFILE" value="false" />
|
||||||
|
<version value="1.0" />
|
||||||
|
</settings>
|
||||||
|
</component>
|
||||||
12
.idea/material_theme_project_new.xml
generated
Normal file
12
.idea/material_theme_project_new.xml
generated
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="MaterialThemeProjectNewConfig">
|
||||||
|
<option name="metadata">
|
||||||
|
<MTProjectMetadataState>
|
||||||
|
<option name="migrated" value="true" />
|
||||||
|
<option name="pristineConfig" value="false" />
|
||||||
|
<option name="userId" value="13ba7435:19917931603:-7ffa" />
|
||||||
|
</MTProjectMetadataState>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
7
.idea/misc.xml
generated
Normal file
7
.idea/misc.xml
generated
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Black">
|
||||||
|
<option name="sdkName" value="Python 3.13 (mucapy)" />
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" project-jdk-name="Python 3.13 (mucapy)" project-jdk-type="Python SDK" />
|
||||||
|
</project>
|
||||||
8
.idea/modules.xml
generated
Normal file
8
.idea/modules.xml
generated
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ProjectModuleManager">
|
||||||
|
<modules>
|
||||||
|
<module fileurl="file://$PROJECT_DIR$/.idea/mucapy.iml" filepath="$PROJECT_DIR$/.idea/mucapy.iml" />
|
||||||
|
</modules>
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
14
.idea/mucapy.iml
generated
Normal file
14
.idea/mucapy.iml
generated
Normal file
@@ -0,0 +1,14 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<module type="PYTHON_MODULE" version="4">
|
||||||
|
<component name="NewModuleRootManager">
|
||||||
|
<content url="file://$MODULE_DIR$">
|
||||||
|
<excludeFolder url="file://$MODULE_DIR$/.venv" />
|
||||||
|
</content>
|
||||||
|
<orderEntry type="jdk" jdkName="Python 3.13 (mucapy)" jdkType="Python SDK" />
|
||||||
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
</component>
|
||||||
|
<component name="PyDocumentationSettings">
|
||||||
|
<option name="format" value="PLAIN" />
|
||||||
|
<option name="myDocStringFormat" value="Plain" />
|
||||||
|
</component>
|
||||||
|
</module>
|
||||||
6
.idea/vcs.xml
generated
Normal file
6
.idea/vcs.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
21
.vscode/launch.json
vendored
21
.vscode/launch.json
vendored
@@ -1,21 +0,0 @@
|
|||||||
{
|
|
||||||
// Use IntelliSense to learn about possible attributes.
|
|
||||||
// Hover to view descriptions of existing attributes.
|
|
||||||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
|
|
||||||
"version": "0.2.0",
|
|
||||||
"configurations": [
|
|
||||||
{
|
|
||||||
"name": "Python Debugger: Current File",
|
|
||||||
"type": "debugpy",
|
|
||||||
"request": "launch",
|
|
||||||
"program": "${file}",
|
|
||||||
"console": "externalTerminal"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Python Debugger: Python File",
|
|
||||||
"type": "debugpy",
|
|
||||||
"request": "launch",
|
|
||||||
"program": "${file}"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"makefile.configureOnOpen": false
|
|
||||||
}
|
|
||||||
15
README.md
15
README.md
@@ -23,9 +23,8 @@
|
|||||||
- ⚙️ **Model loader** for dynamic YOLO weight/config/class sets
|
- ⚙️ **Model loader** for dynamic YOLO weight/config/class sets
|
||||||
- 🔌 **Network camera support** with authentication
|
- 🔌 **Network camera support** with authentication
|
||||||
- 🖥️ **Hardware monitor** (CPU and per-core utilization via `psutil`)
|
- 🖥️ **Hardware monitor** (CPU and per-core utilization via `psutil`)
|
||||||
- 🖼️ Fullscreen camera views & dynamic layout switcher
|
- 🖼️ Fullscreen/popout camera views with zoom, pan, grid & timestamp overlays, snapshots, and shortcuts
|
||||||
- 💾 Persistent **configuration management**
|
- 💾 Persistent **configuration management**
|
||||||
- 🧪 **Camera connectivity test tools**
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@@ -35,6 +34,11 @@
|
|||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Troubleshooting (Windows): If you see "ImportError: DLL load failed while importing QtCore",
|
||||||
|
- Uninstall conflicting Qt packages: `pip uninstall -y python-qt5 PySide2 PySide6`
|
||||||
|
- Reinstall PyQt5: `pip install --upgrade --force-reinstall PyQt5==5.15.11`
|
||||||
|
- Install Microsoft VC++ x64 runtime: https://aka.ms/vs/17/release/vc_redist.x64.exe
|
||||||
|
|
||||||
<details>
|
<details>
|
||||||
<summary><strong>Dependencies:</strong></summary>
|
<summary><strong>Dependencies:</strong></summary>
|
||||||
|
|
||||||
@@ -116,13 +120,6 @@ Authentication is optional and can be configured per-camera.
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## 🧪 Camera Test Tools
|
|
||||||
|
|
||||||
- Test connectivity to any selected camera
|
|
||||||
- Auto-handle reconnection on failures
|
|
||||||
- Preview all selected feeds with drag-and-drop reordering
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## ⚙️ Configuration & Persistence
|
## ⚙️ Configuration & Persistence
|
||||||
|
|
||||||
|
|||||||
1113
mucapy/main.py
1113
mucapy/main.py
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user