Skip to content

Show person detection distance up to 5m only - #15153

Merged
OhadMeir merged 1 commit into
realsenseai:developmentfrom
OhadMeir:viewer
Jun 3, 2026
Merged

OhadMeir merged 1 commit into
realsenseai:developmentfrom
OhadMeir:viewer

Conversation

@OhadMeir

@OhadMeir OhadMeir commented Jun 3, 2026

Copy link
Copy Markdown
Contributor

Trained on data set mostly up to 5 meters. For now, don't print calculated depth above this.

Copilot AI review requested due to automatic review settings June 3, 2026 08:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the RealSense viewer’s object-detection depth handling to avoid displaying person-detection distances beyond 5 meters, aligning the UI output with the current model’s training range (mostly up to 5m).

Changes:

  • Adds a 5m upper bound to the computed mean depth used for object-detection overlays.

Comment thread common/viewer.cpp Resolved

@Nir-Az Nir-Az left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@OhadMeir
OhadMeir merged commit 8a463d7 into realsenseai:development Jun 3, 2026
29 of 30 checks passed
Nir-Az pushed a commit that referenced this pull request Jun 3, 2026
Nir-Az added a commit that referenced this pull request Jun 3, 2026
…rson detection distance up to 5m only
@OhadMeir
OhadMeir deleted the viewer branch November 3, 2026 10:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants