-
Notifications
You must be signed in to change notification settings - Fork 19
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
Improve search widget for image data #11
Comments
Work in progress: first implement a vector-based search. Then try to upgrade to structural similarity. |
Update: consider an abstract vector search engine, or an abstract similarity-based search engine. |
Hi, I'm using hover to annote a dataset of image, and I encounter a small issue regarding the visualization of the image. If the resolution is higher than the row width or row height define for the table we don't visualize very well. To fix this you can just change in hover/core/local_config.py Line 60: It will automatically resize the image in a 200x200 and so you can see image with for instance a resolution of 720x720 I can do a PR for that if you want but the modifications is very small |
Hi, @FlorianBertonBrightClue thank you for using hover and bringing this up! In some use cases 200x200 can be difficult to see clearly. Actually we can make it configurable on the user side. The code below should work for the upcoming 0.8.0 version, which is likely within a week. hover.config["visual"]["table_image_width"] = 200
hover.config["visual"]["table_image_height"] = 200 Does this look good? |
And so at line 57/58 in local.config.py, you will put this ? If yes, it should work and the user could configure it as ha wants by setting the hover.config. I also have two questions for you :
|
Basically yes. This line reads the config only once though, so be sure to configure immediately after Customize
|
Feb 24 2022: currently using vector search.
Image search is rather unclear compared with text. Things to consider:
Bokeh
widget to use. Could beFileInput
for uploads orTextInput
for urlsThe text was updated successfully, but these errors were encountered: