Being able to open an image from memory (og.Images.open) #845
Closed
MadMenHitBooker
started this conversation in
New features / APIs
Replies: 2 comments 1 reply
-
We did receive a request for this earlier as well. I will add a way to load an image from memory. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Support for loading images from memory has been added here. Here is an example. with open(image_path, "rb") as image:
bytes = image.read()
images = og.Images.open_bytes(bytes) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem
It would be interesting to being able to load and image for the phi3vision from memory, or as a cv2 or PIL image.
Currently as showed in the example the loading is being done like this.
Beta Was this translation helpful? Give feedback.
All reactions