package camera // FrameSource abstracts anything that produces JPEG frames. // Camera manager, image files, and video files all implement this. type FrameSource interface { ReadFrame() ([]byte, error) Close() error }