A way to convert/load image from multipart to tensor
sugarme opened this issue · comments
sugarme commented
Discussed in #53
Originally posted by isdzulqor July 24, 2021
Is there a way to directly convert an image from multipart file instead of from path to tensor?
I wanna proceed with the image sent from Rest API to be inferenced.
I only found load from the path which is a string format
vision.Load(path)
imageNet.LoadImage(path)
I'm assuming that writing a multipart file to disk first will be so much costly
sugarme commented
close for now as no specific requirement.