You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What I want to achieve is that to not show the labels in annotations by default. But this doesn't seem to work. The label always shows up no matter what value I provide to settings.showLabels.
Is this the correct way to initialize settings for an LS instance?
Thanks in advance.
The text was updated successfully, but these errors were encountered:
In Label Studio Frontend (LSF) v1.15, passing settings: { showLabels: false } sometimes doesn’t hide the labels as expected. This behavior was noted in earlier GitHub issues where the default value in code was set to false, but labels appeared anyway.
Possible workarounds and suggestions:
Use the LSF user interface.
In the labeling view, click the gear (settings) icon and uncheck “Show region labels.” That effectively hides labels for your bounding boxes or other object regions.
2. Adjust flags programmatically.
If you need a purely code-based approach, you can try manually setting the flag right after the instance initializes. For example:
_var LS = new LabelStudio("label-studio", {_
_config: image_config,_
_interfaces: [...],_
_});_
_LS.setFlags({ showLabels: false });_
(Note that this approach can vary depending on the specific LSF version.)
We also recommend upgrading to v1.16+ if possible because this version includes fixes and a more reliable settings flow.
Please let me know if you have any other questions
Hi team,
I'm using the following code (based on LSF 1.15.0) to initialize a LS instance:
What I want to achieve is that to not show the labels in annotations by default. But this doesn't seem to work. The label always shows up no matter what value I provide to settings.showLabels.
Is this the correct way to initialize settings for an LS instance?
Thanks in advance.
The text was updated successfully, but these errors were encountered: