def METHOD_NAME(cls, image, rekognition_client):
    buf = io.BytesIO()
    image.save(buf, format="JPEG")
    img_bytes = buf.getvalue()
    image = {"Bytes": img_bytes}
    return cls(image, "None", rekognition_client)