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

Proposal for transparent images tracking #13

Open
Carnaux opened this issue Aug 27, 2021 · 0 comments
Open

Proposal for transparent images tracking #13

Carnaux opened this issue Aug 27, 2021 · 0 comments

Comments

@Carnaux
Copy link
Member

Carnaux commented Aug 27, 2021

I'm having issues when the image used to create the markers has mostly transparent backgrounds, that's because the SURF algorithm searches for the contrast between black on white or white on black, and that creates two opposites, mostly, white background images don't work with black background markers.

My proposal:

Detecting if the image has a mostly transparent background and adding that info on the marker files

Add a condition on the marker detection/tracking for the transparency flag

If the flag exists, use a background extraction algorithm and then a color replacement to white or to black while keeping the design colors(Like a green screen).

Didn't been tested yet, just a proposal and reminder of the issue. @kalwalt @ThorstenBux

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

No branches or pull requests

1 participant