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

play() function #524

Open
harry-73 opened this issue Nov 16, 2023 · 3 comments
Open

play() function #524

harry-73 opened this issue Nov 16, 2023 · 3 comments

Comments

@harry-73
Copy link

Hi,

I want to stop the processing without stopping the video. For that, I try using the Quagga.pause() function. It works.

But when I try Quagga.play() restarting the processing, I have the error play is not a function. Looking at the source, I did not find a play function.
Is it a way to restart the processing after pause()?

Thanks.

Copy link

Thank you for filing an issue! Please be patient. :-)

@harry-73
Copy link
Author

For the moment, I am using offProcessed() and offDetected() for pause and onProcessed(à and onDetected() for play.

@ericblade
Copy link
Owner

start() calls startContinuousUpdate() which unsets the stopped variable that is set when pause() is called.

if I may ask, what sort of a use case are you using where you want to have the camera continue, but barcode processing stop? I'd like to understand if that's something i should take into account .

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