How ladaapp/lada works
Lada restores mosaicked video through either a CLI or GUI: a selected video is processed frame-by-frame, with mosaic detection and restoration, then watched in real time or exported. The graph also preserves the GUI playback path and the two restoration backends. Dataset-generation and training tools are omitted as supporting workflows, not user-facing runtime stages. Evidence is limited to the README and sampled excerpts/SOURCE INDEX references; uncertain internal wiring is left out.
Main entry points: frame_restorer.py Frame restoration · main.py CLI · gstreamer_pipeline_appsrc.py Restored-frame source · application.py GUI application
Components 17
User entry points
- CLI
lada/cli/main.py - GUI application
lada/gui/application.py
GUI playback and export
- Video watch view
lada/gui/watch/watch_view.py - GStreamer playback
lada/gui/watch/gstreamer_pipeline_manager.py - Restored-frame source
lada/gui/watch/gstreamer_pipeline_appsrc.py - Restorer provider
lada/gui/frame_restorer_provider.py - Video export
lada/gui/export/export_view.py
Restoration pipeline
- Frame restoration
lada/restorationpipeline/frame_restorer.py - Mosaic detection
lada/restorationpipeline/mosaic_detector.py - BasicVSR++ restorer
lada/restorationpipeline/basicvsrpp_mosaic_restorer.py - DeepMosaics restorer
lada/restorationpipeline/deepmosaics_mosaic_restorer.py - Video I/O
lada/utils/video_utils.py
Detection and restoration models
- YOLO segmentation
lada/models/yolo/yolo11_segmentation_model.py - BasicVSR++ inference
lada/models/basicvsrpp/inference.py - DeepMosaics inference
lada/models/deepmosaics/inference.py
Other components
- Video user
- Restored video file
Connections 19
- Video user → CLI: submits video
- Video user → GUI application: opens video
- GUI application → Video watch view: binds settings
lada/gui/application.py - Video user → Video export: requests export
- CLI → Frame restoration: restores frames
lada/cli/main.py - Restorer provider → Frame restoration: creates
lada/gui/frame_restorer_provider.py - Restored-frame source → Restorer provider: gets restorer
lada/gui/watch/gstreamer_pipeline_appsrc.py - Restored-frame source → Frame restoration: reads restored frames
lada/gui/watch/gstreamer_pipeline_appsrc.py - GStreamer playback → Restored-frame source: uses frame source
lada/gui/watch/gstreamer_pipeline_manager.py - Frame restoration → Mosaic detection: uses detector
lada/restorationpipeline/frame_restorer.py - Frame restoration → BasicVSR++ restorer: dispatches restoration
lada/restorationpipeline/frame_restorer.py - Frame restoration → DeepMosaics restorer: dispatches restoration
lada/restorationpipeline/frame_restorer.py - Mosaic detection → YOLO segmentation: runs segmentation
lada/restorationpipeline/mosaic_detector.py - BasicVSR++ restorer → BasicVSR++ inference: runs inference
- DeepMosaics restorer → DeepMosaics inference: runs inference
- Frame restoration → Video I/O: reads video
lada/restorationpipeline/frame_restorer.py - CLI → Video I/O: writes output
lada/cli/main.py - Video export → Restored video file: exports video
- CLI → Restored video file: exports video