Revert to previous commit
Browse files310 unmodified lines311312313314314315316317318310 unmodified lines # For display, always show the original video frame (not the # preprocessed / cropped face), so colors and aspect ratio match # what the user sees in the video preview. img_for_display = crop if has_face and crop is not None else orig_frame frame_b64 = b64_encode_image_bgr(orig_frame) frame_b64 = b64_encode_image_bgr(img_for_display)
out_frames.append(frame_b64) out_preds.append(app.py+2-1