Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

MapMask is broken

Open
#72 1 comment 1 reaction 1 assignee View on GitHub

@ternaus is already working on this.

Since Nov 13, 2019.

Assessment

This issue has not been assessed yet.

Description

bug

I'd like to report the following problems with MapMask:

  1. It uses foreground=255, but if you look to the map, you'll notice that white color means background.
  2. Function is_on_mask is broken because it ignores 3 channels of RGB picture. (Python complains about indexing). The fix would be to check if all channels are white or non-white, like:
    mask = np.all(this_mask[py[on_mask], px[on_mask]], axis=-1)
Dominant language
Jupyter Notebook
Stars
390
Forks
99
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 lyft/nuscenes-devkit

All issues in lyft/nuscenes-devkit

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.