Skip to content

[Bug]: Fastdup only accepts one object per image in COCO format #350

Closed
@kasperschnack

Description

@kasperschnack

What happened?

When using fastdup with a COCO format dataset, it only recognizes and processes one object per image, first one in the list of annotations, even when multiple objects are present in the annotations.

What did you expect to see?

I expected fastdup to process and recognize all annotated objects per image in the COCO format dataset, allowing for handling images with multiple images.

What version of fastdup were you runnning on?

2.13

What version of Python were you running on?

Python 3.9

Operating System

Mac OS Sonoma 14.7.1 (23H222)

Reproduction steps

  1. Prepare a COCO format dataset with multiple objects annotated per image

put all images and annotations.json in imgs/ folder

  1. Run fastdup on the prepared dataset using jupyter notebook
import fastdup

fd = fastdup.create(input_dir="imgs/")
fd.run()

fd.explore()
  1. Observe the output and visualizations

Notice that only one object per image is recognized and processed

Relevant log output

No errors are shown

Attach a screenshot [Optional]

image

Only category 133 is shown for image 706. If i switch around the order of the categories such that 54 is first - that is the one that will be registered

Contact Details [Optional]

[email protected]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions