Skip to content

Image labeling #1899

Answered by mturoci
ltrenary asked this question in Q&A
Mar 21, 2023 · 3 comments · 1 reply
Discussion options

You must be logged in to vote

Gotcha.

In that case, image_annotator is not the best choice since it focuses on "multi-class" image anotations.

However, single-class classification is not hard to do as well. You need a wizard like interface:

  • Classification choices - either dropdown, choice group etc. depending on the number of the options.
  • List of images to classify.
  • Next button that saves the previous submission and moves on to the next image.

Here is a rough minimal code:

from h2o_wave import Q, ui, main, app


images = [
    'https://images.pexels.com/photos/15953914/pexels-photo-15953914.jpeg?auto=compress&cs=tinysrgb&w=400&lazy=load',
    'https://images.pexels.com/photos/6282599/pexels-photo-6282599.jpeg?auto=c…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ltrenary
Comment options

Answer selected by mturoci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants