Skip to content

GT counts changed after preprocessing #34

Description

@Yiming-M

Hi @dylran ,

I think these lines

densities = create_overlapping_crops(density, image_size, 0.5)

densities = create_overlapping_crops(density, image_size, 0.5)

densities = create_overlapping_crops(density, image_size, overlap)

changed the ground-truth count per image, since overlapping crops were used.

To avoid this, maybe we should consider to:

  1. Resize each image so that its width and height are multiples of 256;
  2. Divide images and density maps into non-overlapping 256x256 patches.

Many thanks,
Yiming

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions