Cleanup, bugfixes ...
All checks were successful
Build MuCaPy Executable / build-and-package (push) Successful in 2m30s

This commit is contained in:
2025-10-31 01:28:10 +01:00
parent 61c8f8bd90
commit 9d1ac9c3dd
13 changed files with 936 additions and 407 deletions

117
.gitignore vendored
View File

@@ -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
View 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

View 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>

View 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
View 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
View 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
View 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
View 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
View 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
View File

@@ -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}"
}
]
}

View File

@@ -1,3 +0,0 @@
{
"makefile.configureOnOpen": false
}

View File

@@ -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

File diff suppressed because it is too large Load Diff