v1.1.0

HumanSignal/label-studiov1.1.0Jun 30, 2021by niklub

AI Summary

Label Studio v1.1.0 introduces significant image labeling enhancements including multi-tool support for various region types (rectangles, ellipses, polygons, brush masks, keypoints), YOLO export compatibility, and improved region management with visibility toggles. The release also adds data manager filtering by annotator, OCR interface improvements, and command-line user token creation for API integration.

Key Highlights

  • Multi-tool image labeling with support for rectangles, ellipses, polygons, brush masks, and keypoints
  • YOLO v3 export support for image annotations
  • Toggle visibility for all regions at once or by specific label
  • Filter data manager by annotator for easier progress review
  • Performance optimizations for loading hundreds of bounding boxes

New Features

  • Multi-tool image labeling with different region types (rectangles, ellipses, polygons, brush masks, keypoints)
  • Add regions without assigning labels (for pre-annotation)
  • Quick region creation with two clicks for rectangles/ellipses, double-click for polygons
  • Remove polygon points by double-clicking (requires minimum 3 points)
  • Toggle visibility for all regions at once or filter by label
  • YOLO v3 export format support
  • OCR text input moved to sidebar
  • Filter data manager by annotator
  • Performance improvements for bounding box loading
  • Command-line user token creation (--user-token flag)
  • Multi-select for bounding box and object detection regions
  • ENABLE_LOCAL_FILES_STORAGE environment variable for disabling local file storage option
  • Various bug fixes for relations, brush erasing, NER text highlighting, and URL building

Full Release Notes

# Version 1.1 Release Notes

## Multi-tool image labeling

Add different types of regions to your images, for example, rectangles, ellipses, polygons, brush masks, and keypoints. Combine the different types of Control tags in the labeling configuration that you create for the labeling interface. See [the labeling documentation](labelstud.io/guide/labeling.html#Advanced-image-labeling) for more.

## Add regions without labels
When adding predicted annotations or when doing labeling in Label Studio, you can add regions without assigning labels. See [the pre-annotation documentation](labelstud.io/guide/predictions.html) for details. 

## Quickly create and remove regions

Add a rectangle or an ellipse to your image with just two clicks, or double click to create a polygon, rectangle, or ellipse. 

If you accidentally select a point on an image while creating a polygon, just double click to remove the erroneous point and continue creating the region. You need to have at least three polygon points to be able to remove one. 

## Switch visibility for all regions at once

While you could previously show or hide regions one by one, now you can toggle the visibility of all regions at once, and also hide all regions for a specific label at once. 

## YOLO export support
Export image annotations in a text format compatible with YOLO v3 models. Thanks to [@johnson7788](https://github.com/johnson7788) for his PR! 

## OCR improvements

Write the text for a selected region in the sidebar, rather than at the bottom of the labeling interface screen.

## Filter the data manager by annotators

You can now filter the data manager by annotator, letting you create different views and tabs for the tasks completed by different annotators, and more easily review the annotation progress by annotator on the data manager. 

## Performance improvements 
Various performance optimizations to make loading hundreds of bounding boxes on images faster. 

## Create tokens for users when you start Label Studio
You can now create tokens for users from the command line when you start Label Studio. This makes it easier to integrate Label Studio with your automated pipelines because you can specify a token to use with the API rather than locating the token in the Label Studio UI. 

```
label-studio --username test@example.com --password opossum --user-token token12345
```
See more in [Set up user accounts](labelstud.io/guide/manage_users.html) in the Label Studio documentation.

## Bug fixes and updates 

This release also includes various bug fixes and smaller updates:

- Added multi-select capabilities for bounding box and other object detection regions. Thanks to [@mbeut2ner](https://github.com/mbuet2ner) for requesting this feature in https://github.com/heartexlabs/label-studio/issues/655. 
- Updated examples for serving Label Studio behind a proxy with a subpath.
- Fixed issue when exporting completed tasks.
- From contributor [@xhuaustc](https://github.com/xhuaustc), improved the `wait-for-postgres.sh` script to provide a better experience by using environment variables.
- Added an environment variable, `ENABLE_LOCAL_FILES_STORAGE` (true by default), for cases when you might want to disable local file storage as an option entirely. 
- Fixed URL building when using a custom hostname or subpath that was breaking some user experience in the Label Studio UI. 
- Contributor [@SAdnen](https://github.com/SAdnen) fixed an issue with the Docker compose file that caused the server to get stuck at startup, an issue also reported by [@suvojit-0x55aa](https://github.com/suvojit-0x55aa).
- Fixed an issue where the storage modals to add storage using Label Studio UI did not appear. 
- Fixed console warnings for MobX (out of bounds). 
- Fixed an issue with relations for remotely loaded data.
- Fixed an issue with adding two sets of Rectangle Labels to the same labeling interface configuration. 
- Fixed issue https://github.com/heartexlabs/label-studio/issues/1072  and https://github.com/heartexlabs/label-studio/issues/1026 with relations appearing for the Text tag with valueType=url, reported by [@joeydb94](https://github.com/joeydb94) and [@3nuc](https://github.com/3nuc). 
- Fixed issues with erasing brushes reported in https://github.com/heartexlabs/label-studio/issues/492 and https://github.com/heartexlabs/label-studio/issues/867 by [@tristanratz](https://github.com/tristanratz) and [@royschwartz2](https://github.com/royschwartz2). 
- Fixed issues with NER labeling causing text highlighting to be incorrectly offset from the selected region reported in https://github.com/heartexlabs/label-studio/issues/539 and https://github.com/heartexlabs/label-studio/issues/1008 by [@blanchefort](https://github.com/blanchefort) and [@Lolologist](https://github.com/Lolologist).