HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.33k stars 2.3k forks source link

Custom image filters to help labeling #1425

Open twsl opened 3 years ago

twsl commented 3 years ago

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.

makseq commented 3 years ago

@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!

twsl commented 3 years ago

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

makseq commented 3 years ago

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.

twsl commented 3 years ago

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

suahelen commented 1 year ago

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?

makseq commented 1 year ago

@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.