Better image support
josevalim opened this issue · comments
There are some ideas flying around:
- Support Nx.Tensor in Kino.Image by using a custom content type that is loaded into a canvas
- Have a canvas input
- Have a camera input
- Have a specific image tensor upload, where the image is loaded into a canvas to be converted into pixels (and potentially resized)
Hi @josevalim, I'd like to add support for camera input if currently no one is working on it. :)
Yes, please go ahead. Let’s start with camera image first, so there is an explicit click button to take a picture?
Yeah, I'm thinking something like this:
And, of course, we can probably also make it optional here, something like Kino.Input.image("Image", camera: false)
.
Linked PR: livebook-dev/livebook#1595