Advanced scientific analysis tool for Unidentified Aerial Phenomena (UAP) video investigation with machine learning and computer vision.
- Python 3.11+ (Required for proper GUI rendering on macOS)
- OpenCV for video processing
- Tkinter (included with Python)
# Create environment with Python 3.11
conda create -n uap-gui python=3.11 -y
conda activate uap-gui
# Install dependencies
pip install -r requirements.txt# Create virtual environment
python3.11 -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt# macOS
./scripts/run-source-macos.sh
# Linux
./scripts/run-source-linux.sh
# Windows
scripts\run-source-windows.bat# Quick analysis
python src/run_advanced_analysis.py video.mp4 --quick
# Full analysis with all options
python src/run_advanced_analysis.py video.mp4 -o results --atmospheric --physics
# Individual analysis types
python src/run_advanced_analysis.py video.mp4 --atmospheric
python src/run_advanced_analysis.py video.mp4 --physicsuap-analysis2/
โโโ scripts/ # Build and deployment scripts
โ โโโ build-compile-dist.sh # Universal build system
โ โโโ run-source-macos.sh # macOS launcher
โ โโโ run-source-linux.sh # Linux launcher
โ โโโ run-source-windows.bat # Windows launcher
โ โโโ install-macos.sh # macOS installer
โ โโโ install-linux.sh # Linux installer
โ โโโ [other build tools] # Various utilities
โโโ src/ # Source code
โ โโโ gui/ # GUI applications
โ โ โโโ stable_gui.py # โ
Main GUI application
โ โโโ analyzers/ # Analysis engines
โ โโโ run_advanced_analysis.py # Command-line analysis tool
โ โโโ [other modules] # Processing and visualization
โโโ configs/ # Configuration files
โโโ archive/ # Archived unused files
โ โโโ unused_gui_versions/ # Previous GUI versions
โโโ requirements.txt # Python dependencies
โโโ README.md # This file
The stable_gui.py provides a clean, stable interface that:
- โ Works reliably on macOS with Python 3.11
- โ Matches the interface of the compiled binary
- โ Supports Quick mode for faster analysis
- โ Includes Atmospheric and Physics analysis options
- โ Real-time progress logging
- โ Results folder integration
- Faster analysis with core features
- Motion detection and basic tracking
- Essential luminosity analysis
- Atmospheric Analysis: Environmental modeling and interaction
- Physics Analysis: Trajectory validation and physics compliance
- Additional options available via command line
Analysis results are saved to:
- Enhanced video files with tracking overlays
- Motion tracking data (JSON format)
- Analysis reports (Markdown format)
- Detailed technical logs
If you experience gray windows:
- Use Python 3.11 (not 3.9 or earlier)
- Use conda environment (recommended)
- Ensure tk/tkinter is properly installed
# Verify Python version
python --version # Should be 3.11.x
# Verify tkinter
python -c "import tkinter; print('โ
tkinter works')"# Install missing packages
pip install PyYAML opencv-python numpy matplotlib scipy tqdm Pillow
# Or install all requirements
pip install -r requirements.txt
To create a standalone application that doesn't require Python installation:
# Using the universal build script (recommended)
./scripts/build-compile-dist.shThe build script will:
- Auto-detect the Python stack
- Check for Python 3.11+ (required for macOS GUI compatibility)
- Create a temporary build environment
- Install all dependencies
- Build a self-contained .app bundle using PyInstaller
- Generate platform-specific run scripts
If you prefer to build manually:
# 1. Create and activate a build environment with Python 3.11
conda create -n uap-build python=3.11 -y
conda activate uap-build
# 2. Install dependencies
pip install -r requirements.txt
pip install pyinstaller
# 3. Build the app
pyinstaller "UAP Video Analyzer.spec" --noconfirm --clean
# 4. Test the app
open "dist/UAP Video Analyzer.app"- Python 3.11+ is required for proper GUI rendering on macOS
- The build process creates a completely self-contained application
- No Python installation is needed to run the built app
- The app includes its own virtual environment with all dependencies
stable_gui.py- โ Current stable version (matches binary)- Previous versions archived in
archive/unused_gui_versions/ - Launch script updated to use stable version
- Fixed Python path issues in analysis scripts
- Consolidated requirements files into unified structure
- Moved Python application files to src/ directory
- Created platform-specific run scripts (run-source-*)
- Identified Python 3.11 as required for macOS GUI compatibility
- Cleaned up unused GUI variants
- OpenCV - Computer vision library
- NumPy - Numerical computing
- Matplotlib - Visualization
Built with AI! ๐ค