This message was deleted.
# ask-for-help
s
This message was deleted.
j
If you need to send anything other than the image, like if you need json along with the image, then base64 is your best bet. Otherwise I would submit it as a binary. When you encode as base64, it ultimately expands the size by quite a bit, and you lose the benefit of image compression.
👍 1
1
c
Btw in BentoML, if you need to upload an image plus annotation, you can use the Multipart IO type https://docs.bentoml.org/en/latest/reference/api_io_descriptors.html#multipart-payloads
This allow you to create an input with JSON plus an Image