-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
Zoom constraints not applied in Quagga.init #533
Comments
Thank you for filing an issue! Please be patient. :-) |
That's great that it works well! Thanks for the tip. I'd have to do a little research on it, probably try it out with a barebones test not using quagga at all, but I can think of two possible reasons.. either a) it doesn't pass the zoom parameter into the api, or b) the api is ignoring the zoom parameter until after the camera has been initialized. a should be easily fixable (i think :) ) b would probably mean it's more of a browser problem that I wouldn't really be able to do anything about.... I think the last time I looked at the zoom api, it wasn't implemented anywhere yet.. so.. good to take another look. If it's well supported, could add some functionality to the CameraAccess to manipulate it, too |
FYI I'm using it in a standalone Safari webapp on iPhone 11. It only works when specified using the The zoom really does make a massive difference - I don't get any detections without it, and I fiddled around a lot trying to make it work :) |
Zoom only works when the constraint is applied to the active track after calling Quagga.init. I.e. this code works:
But this code does not:
I also tried using
zoom: 2
directly, i.e. withoutadvanced
This is a cosmetic issue really because you can see the zoom jump from the initial to zoom:2 rather than already zoomed on start.
(Other than that I am getting really quick and accurate detection results, much appreciation!)
The text was updated successfully, but these errors were encountered: