And a pure HTML site with offline mode has been built that tests with the example JWK and Production:
I have 3 cameras connected to my PC. 2 via PCIe capture cards, and one via USB. It appears to be picking the first camera device it finds, and no way to change it.
To be fair I do have an unusual set up, and I'm sure they will add a camera selection menu sometime in the near future. :)
djtOtago: To be fair I do have an unusual set up, and I'm sure they will add a camera selection menu sometime in the near future. :)
Raise a Jira and we will put it on the backlog.
Looks like they have added an option to swap between front and rear cameras, which does nothing on a PC, but I can't pick which of my 3 cameras to actually use.
Oblivian: You may find it's a Windows thing. Windows hello is unable to use external cameras without disabling the rest
It seems to be a constraint of the QR library being used, as is the constraint of not supporting "tap" to auto-refocus, but that seems to be more of a constraint of it not being supported. https://stackoverflow.com/questions/60188128/tap-screen-to-trigger-autofocus-with-getusermedia
This was a example knocked up overnight, so with that comes a few constraints because it is a browser not native app.
But we are looking to collect all implementations that work here: https://github.com/nz-covid-pass
I can't seem to find a quick answer to this question - would the QR data starting with "NZCP:/1/2..." vary in length, or is that controlled? Reading the codes I can find online, the length varies only from 600 to 613 characters.
My scanner spits out pieces in 64 character transmissions resulting in 57 useful characters after stripping off the headers, etc. I'm counting those segments as I concatenate then together to know when it's finished. If it's more than 627 I'll have to use a different way of determining the end. I'm probably not using an optimal method here but it was quick to come up with and does work.
Never mind the above post. I'm stuck trying to parse in python the payload into individual fields, lastName, firstName and expiry. Can anyone give me a hint?
OK, I got that working with only string methods, hope that's robust enough but it doesn't feel that way.
But, why on Earth would the MoH concatenate traditional first and middle name fields into one field, i.e. "givenName." I hope none of our staff have a "binomial" first name, without using a dash.
Oblivian: Audio feedback. Auto clear and expiry
BarTender:Oblivian: Audio feedback. Auto clear and expiry
I was just disappointed they didn’t take my suggestion of “Sweetas” for valid pass and “Not even ow” from Bro Town for invalid. Sadly they didn’t take up my advice.
perhaps just one sound bite… “yeah, nah” then let the scannor figure out what to do!