Placeholder abstract code illustration
  Code

Building a live stacker on a Raspberry Pi

Aligning and stacking frames in real time as they come off the camera — what worked, what was too slow, and what I'd do differently.

1 min read

Starter post. Replace with the real story of your live stacker.

Live stacking aligns each new frame against a reference as it arrives and adds it to a running average, so the image gets cleaner right in front of you.

def stack(running, frame, n):
    aligned = register(frame, reference)
    return running + (aligned - running) / n

#astrophotography #python #raspberry-pi

More from Code