Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A way to convert/load image from multipart to tensor #54

Closed
sugarme opened this issue Jul 23, 2021 Discussed in #53 · 1 comment
Closed

A way to convert/load image from multipart to tensor #54

sugarme opened this issue Jul 23, 2021 Discussed in #53 · 1 comment

Comments

@sugarme
Copy link
Owner

sugarme commented Jul 23, 2021

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
Copy link
Owner Author

sugarme commented Feb 20, 2023

close for now as no specific requirement.

@sugarme sugarme closed this as completed Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant