HumanSignal / HumanSignal/label-studio

VideoRectangle labels do not save their rotation metadata in 1.21.0+

Open
#8,648 3 comments 0 reactions 0 assignees View on GitHub
community_investigate
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**Describe the bug**
Creating rotated VideoRectangle labels in LabelStudio 1.21.0+ no longer retain/save their rotation data.
See the following example, running the heartexlabs/label-studio:1.21.0 docker container:

![Image](https://github.com/user-attachments/assets/8a5ce570-9c3a-427d-b578-35e75af82810)

Other image versions tried:
- locally built off the current version of label-studio/develop

**To Reproduce**
Steps to reproduce the behavior:
1. Spin up container, configure project - say with this config:
```xml





```

2. Create any rotated VideoRectangle label, then submit
3. Observe non-rotated video label upon refresh
4. Cry

Expected behavior:
Created VideoRectangle labels should save their input rotation, and be saved/presented as it was when it was rotated. See the following example, running the heartexlabs/label-studio:1.20.0 docker container:

![Image](https://github.com/user-attachments/assets/165335aa-e7df-43c1-b65c-20abaa294026)

**Environment (please complete the following information):**
- OS: [Docker] - Ran in arm/linux (mac) and amd/linux
- Label Studio Version: 1.21.0+

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.