Implement an image-processing pipeline that compresses and prepares camera frames before sending them to a backend service.