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

To what do the parameters of the stag.Detector() function corresponds? #3

Open
yusufguleray opened this issue Aug 11, 2021 · 2 comments

Comments

@yusufguleray
Copy link

stag.Detector(15, 7, False)

It seems like stag.Detector() takes 3 parameters.

To my understanding first one looks like the tag family of the tag that is being detected. For example, if it is the tag family 'HD17' then the first parameter should be '17'. Is that correct?

Also, what are the second(int) and third parameters(bool) correspond to?

@Sologala
Copy link
Owner

@yusufguleray

Stag(int libraryHD = 15, int errorCorrection = 7, bool inKeepLogs = false);

The first int refers to Tag family, the secend paras for Corrections bits. Corrections bits seems like that it is corelative to tag family. For More detail please check the original paper.

This repo just do a simple wrap upon stag, with out other changes on implementation of tag detection.

@Sologala
Copy link
Owner

Sologala commented Aug 16, 2021

BTW, the third para inKeepLogs will log some infos (such as edges corners )within the detection process to the console, and save iamges to same folder of excutable.

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

2 participants