kino
kino copied to clipboard
Better image support
There are some ideas flying around:
- [x] Support Nx.Tensor in Kino.Image by using a custom content type that is loaded into a canvas
- [ ] Have a canvas input
- [x] Have a camera input
- [x] 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: https://github.com/livebook-dev/livebook/pull/1595