Skip to content

feat: add draw.progress_bar overlay primitive #132

Description

@wkentaro

What to build

Inline horizontal progress bar overlaid on a region. Value in [0, 1]. Useful for confidence indicators, quality scores, and progress strips on tile-sheet comparisons.

imgviz.draw.progress_bar(image, yx1, yx2, value, fill=(0, 200, 0), background=(0, 0, 0), border=None)

Acceptance criteria

  • value=0 leaves bar empty (background only)
  • value=1 fills bar entirely
  • Value clamped to [0, 1]
  • Optional border via border
  • Docstring with example
  • Example snippet in examples/

Blocked by

None - can start immediately.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ready-for-agentissue: Fully specified, ready for an AFK agent

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions