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

fooscodes rendering size wonky #2

Open
rsalmond opened this issue Oct 8, 2013 · 5 comments
Open

fooscodes rendering size wonky #2

rsalmond opened this issue Oct 8, 2013 · 5 comments

Comments

@rsalmond
Copy link

rsalmond commented Oct 8, 2013

@dschnabel you're right, I tried rendering one of those svg's into a PDF and the PDF came out slightly larger. Weird. Based on the camera resolution maybe we can work out a maximum usable camera distance for a given fooscode size?

image

@dschnabel
Copy link

What do you mean by maximum usable camera distance for a given fooscode size?

@rsalmond
Copy link
Author

rsalmond commented Oct 8, 2013

Like depending on how large you print the the image how far away from a camera with 720p resolution will it still actually detect the ID #?

@dschnabel
Copy link

In theory the camera can detect different sizes of fooscodes. But the detection itself is a tricky process and there are many factors that have to play together nicely. Also performance is an issue since we don't want to wait 10 seconds for detecting all four cards. So I highly tweaked the program to have the best detection rate for the current size and also finish within 1 second.

If we allowed different sizes either the detection rate would go down or it would take too long to calculate.

@rsalmond
Copy link
Author

rsalmond commented Oct 8, 2013

Cool so based on current tweaks we should be able to provide an optimal print size and focal distance from the camera? I want to figure this out to allow printing of new codes from within the page.

@dschnabel
Copy link

Yes, the optimal print size is the one used in foosCodes.pdf. If you find a way to generate a fooscode that has exactly the size when printed then all should be good.

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