-
Notifications
You must be signed in to change notification settings - Fork 71
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
How to prevent Auto-Capture? #46
Comments
On android I simply set the detectionCountBeforeCapture to -1 and on iOS I set it to a really high number so that the user would most likely capture the image before the number of detections for automatic capture is reached |
You can also add the |
@ribeirogabriel I don't see manualOnly prop in the documentation. I tried giving DocumentScanner a prop called manualOnly={true} but didn't work. Can you please mention the value of manualOnly prop? thanks. |
try detectionCountBeforeCapture={-1} |
Hello! I've tried implementing even the pure example, and from what I read in another response you gave in other issue, even though you add the manual capture, it always makes an auto capture after detecting rectangles, and it is too fast.
I found in an issue that setting:
manualOnly={true}
does it but when setting that prop, rectangle detection stops working, so it becomes a regular camera.How can we stop it from auto capturing a picture? So we can let the user take it with the manual function and keep the rectangle detection.
The text was updated successfully, but these errors were encountered: