voxel51/fiftyone

[BUG] Keypoints in CVAT not imported

Open

#6,103 opened on Jul 3, 2025

View on GitHub
 (0 comments) (0 reactions) (0 assignees)Python (4,021 stars) (400 forks)batch import
buggood first issue

Description

Describe the problem

When importing data from cvat using the fiftyone.utils.cvat.import_annotation() function, all annotations with labels: classification, detections, polylines are loaded correctly. However keypoints are not loaded. Am I doing anything wrong here or is this a bug?

Code to reproduce issue

I've used the following code to import the data:

import fiftyone as fo
import fiftyone.utils.cvat as foucv

dataset = fo.Dataset(name="navigation", overwrite=True)

# Import annotations directly
foucv.import_annotations(
    dataset, 
    url="http://cvat.local",
    project_id=121,
)

With the following output:

 100% |█████████████████| 354/354 [73.0ms elapsed, 0s remaining, 4.8K samples/s]   
Downloading labels from CVAT...
 100% |███████████████████████| 3/3 [664.4ms elapsed, 0s remaining, 4.5 tasks/s]      
Download complete
Loading labels for field 'classifications'...
 100% |█████████████████████| 1/1 [3.6ms elapsed, 0s remaining, 281.2 samples/s] 
Loading labels for field 'detections'...
 100% |█████████████████████| 1/1 [3.7ms elapsed, 0s remaining, 271.1 samples/s] 
Loading labels for field 'polylines'...
 100% |█████████████████████| 1/1 [3.7ms elapsed, 0s remaining, 271.2 samples/s] 

As you can see the labels for field "keypoints" are not loading in.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 22.04): Ubuntu 24.04
  • Python version (python --version): 3.12
  • FiftyOne version (fiftyone --version): 1.7.0
  • FiftyOne installed from (pip or source): pip

Willingness to contribute

The FiftyOne Community encourages bug fix contributions. Would you or another member of your organization be willing to contribute a fix for this bug to the FiftyOne codebase?

  • Yes. I can contribute a fix for this bug independently
  • Yes. I would be willing to contribute a fix for this bug with guidance from the FiftyOne community
  • No. I cannot contribute a bug fix at this time

Contributor guide