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

Better image support #155

Open
3 of 4 tasks
josevalim opened this issue Jun 3, 2022 · 3 comments
Open
3 of 4 tasks

Better image support #155

josevalim opened this issue Jun 3, 2022 · 3 comments

Comments

@josevalim
Copy link
Contributor

josevalim commented Jun 3, 2022

There are some ideas flying around:

  1. Support Nx.Tensor in Kino.Image by using a custom content type that is loaded into a canvas
  2. Have a canvas input
  3. Have a camera input
  4. Have a specific image tensor upload, where the image is loaded into a canvas to be converted into pixels (and potentially resized)
@cocoa-xu
Copy link

cocoa-xu commented Dec 18, 2022

Hi @josevalim, I'd like to add support for camera input if currently no one is working on it. :)

@josevalim
Copy link
Contributor Author

Yes, please go ahead. Let’s start with camera image first, so there is an explicit click button to take a picture?

@cocoa-xu
Copy link

Yeah, I'm thinking something like this:

Screenshot 2022-12-18 at 09 27 32

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

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

2 participants