label-studio icon indicating copy to clipboard operation
label-studio copied to clipboard

Custom image filters to help labeling

Open twsl opened this issue 3 years ago • 6 comments

Is your feature request related to a problem? Please describe. Sometimes labeling requires a great level of expertise. Additional information could be helpful, especially when working with images.

Describe the solution you'd like I'd like to apply filters to help me detect objects in high resolution images. Using a framework such as MarvinJ would enable filters like gradient/emboss, threshold based black and white, or edge detection and could help with the annotation. A plugin based implementation would enable users to implement their own filters. An interactive way is required to select the threshold or direction of the gradient.

Describe alternatives you've considered I considered implementing it in a fork, but the web project structure in two projects is kinda confusing.

Additional context Happy to help, as long as the PR is merged faster than my previous contribution.

twsl avatar Sep 08 '21 21:09 twsl

@twsl MarvinJ is really cool tool! Now we are going to release interactive pre-annotations, they allow ML to assist users in the labeling, hope it helps you too!

makseq avatar Sep 08 '21 22:09 makseq

In my specific usecase I need an interactive gradient via sobel filters where you can select orientation and strength to find edges and other features in greyscale images that are useful hints for experts. Are these pre-annotations customizable? In that case I could simply replace the ML algo with a simple filter with default values

twsl avatar Sep 09 '21 00:09 twsl

Yes, interactive pre-annotations are an extension of ML backend. It's a good idea to replace images from ML backend "on the fly", but our interactive annotations don't have this functionality yet.

makseq avatar Sep 09 '21 00:09 makseq

Thats what I thought. But I think js based filters could offer a great benefit to many users working with greyscale/depth images where changes are subtle and hard to spot

twsl avatar Sep 09 '21 01:09 twsl

I would like to reignite this idea here. In my opinion it would be a great addition to help any Labeler do a better job. I have often come across images that were hard to label as normal RGB images, but a simple contrast enhancement did wonders. Although my interest is mainly for Image based annotations, I could also imagine that similar filters could help with other types of annotations such as timeseries data. Would it be an option to include this feature into your roadmap?

suahelen avatar Mar 10 '23 13:03 suahelen

@suahelen Thank you for your feedback. If there are many requests about it, we try to implement/include PRs to our releases. So, it depends on demand.

makseq avatar Mar 22 '23 03:03 makseq