Not all labels for border tiles are downloaded

Open
#176 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

Start by tracing how config.json's bounding_box is used when labels and 20*20 tiles are downloaded. Reproduce the example with a tile extending beyond [0,0,100,100], then inspect whether label selection uses the configured box or each tile's coordinates. Done means objects within downloaded border tiles are included in the labels rather than treated as false positives.

Written by the indexing model from the issue text.

Description

bug

Perhaps it's best to explain my issue with a simple example:

  1. I set the bounding_box in config.json to [0,0, 100,100].
  2. I download labels within the bounding box
  3. I download tiles of size 20*20. One of the downloaded tiles is "Tile X" with coordinates [90,90, 110,110].
  4. In tile X, my model detects an "object O" at coords [105, 105, 106, 106].
  5. This object is however not in labels because it is outside of the bounding box set in config.json. So it seems like a "false positive" when actually the detection is correct.

Is this known/desired?

I imagine a functionality could be added that would check coordinates of tiles and then download all labels within the tiles.

Dominant language
Python
Stars
471
Forks
106
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from developmentseed/label-maker

All issues in developmentseed/label-maker

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.