yair
bfc8756a2a
scripts: rewrite append_signals.py for linescan scrolling video
Complete rewrite to properly handle linescan image sequences:
- Stitches linescan images horizontally into wide panorama
- Creates scrolling video that pans left-to-right
- Configurable scroll speed based on capture rate (750 lines/sec)
- Output saved one folder up from image source
- Uses Pillow for image stitching, ffmpeg for video creation
Features:
- --scroll-speed: multiplier for playback speed (1.0 = real-time)
- --lines-per-second: linescan capture rate (default: 750)
- --max-frames: limit frames for testing
- --fps: output video framerate (default: 30)
- --width: viewport width (default: 1920)
- Automatic cleanup of temporary stitched image
Example usage:
# Real-time playback
uv run scripts\append_signals.py results\20251122\bumpy-filter
# 2x speed
uv run scripts\append_signals.py results\20251122\bumpy-filter --scroll-speed 2.0
# Test with 10 frames
uv run scripts\append_signals.py results\20251122\bumpy-filter --max-frames 10
2025-11-22 16:59:41 +02:00
..
2025-11-14 18:03:35 +02:00
2025-11-14 15:33:17 +02:00
2025-11-22 16:59:41 +02:00
2025-11-14 18:03:44 +02:00
2025-11-16 06:27:51 +02:00
2025-11-22 09:55:33 +02:00
2025-11-14 15:33:17 +02:00
2025-11-15 00:48:09 +02:00
2025-11-15 14:00:36 +02:00
2025-11-19 18:02:00 +02:00
2025-11-14 18:03:15 +02:00
2025-11-14 19:52:11 +02:00
2025-11-14 19:52:11 +02:00
2025-11-19 18:02:00 +02:00
2025-11-15 14:00:36 +02:00