You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
In my use case, in the inference.py file I am supposed to receive image in base 64 string which I have to decode and pass it to the matting server. Could you please tell me how do I pass the decoded base 64 image to the matting server since it is different from reading image from its path. Thank you
The text was updated successfully, but these errors were encountered:
You can use base64 library of python to convert numpy matrix of image into
base64. Also, you will have to add the shape of the matrix also while
passing so that you can get to the same shape of image by reshaping the
decoded vector.
Hi,
In my use case, in the
inference.py
file I am supposed to receive image in base 64 string which I have to decode and pass it to the matting server. Could you please tell me how do I pass the decoded base 64 image to the matting server since it is different from reading image from its path. Thank youThe text was updated successfully, but these errors were encountered: