Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

screen detector for stationary setups #2341

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

cpicanco
Copy link
Contributor

@cpicanco cpicanco commented Feb 3, 2024

This PR is for learning purposes only. I known it is incomplete considering some code standards, and there are margin for customization with better UI (for example, allow different minimum surface size). It examplifies how to create a new marker detector type that is used to detect a computer screen as a surface (potentially, any rigid brighter trapezoid surface in regard to the background).

  • The new type creates markers from trapezoid corners detected from the biggest one at the field of view.

  • Orientation is obtained by sorting corners with pre-defined assumptions and will always return top-to-bottom surface in regard to the world view (it is agnostic about head pose or real corner orientation). For stationary setups, it is not a problem at all.

  • For stationary setups, I found it to be cleaner (no visual markers at all needed) and a lot more precise and stable than fiducial markers.

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.

2 participants