GithubHelp home page GithubHelp logo

Comments (8)

vjekoart avatar vjekoart commented on August 28, 2024

Hi @sveres,

You're right. We don't have a teardown logic that doesn't cause the video to stop. I suppose this is something that will benefit your use case?

Also, there is no VideoRecognizer.deleteRecognizer() method. To make things more clear, could you clarify which method do you reference there?

Sincerely,
Vjekoslav

from blinkid-in-browser.

sveres avatar sveres commented on August 28, 2024

hi @vjekoart

Yes, in our use case, the barcode recognition is optional and our barcode reading implementation cannot stop the video, otherwise it interferes with an other, parallel capturing method.
Is there by any chance a workaround to use the VideoRecognizer without causing the video to pause at the end of the scanning?

You are right, there is no method like that, sorry about the confusion. What I meant is the delete() method. Which, In my understanding should be called after the cancellation, please correct me if I am wrong.

delete(): Promise< void >;

from blinkid-in-browser.

vjekoart avatar vjekoart commented on August 28, 2024

Hi @sveres,

Thank you for the explanation. We'll look into this behaviour and extend the functionality from our side if we don't find an alternative solution.

Sincerely,
Vjekoslav

from blinkid-in-browser.

sveres avatar sveres commented on August 28, 2024

Thank you as well, if there is anything else I can clarify, please just let me know.

from blinkid-in-browser.

sveres avatar sveres commented on August 28, 2024

Hi @vjekoart
Do you have any update on this feature?

from blinkid-in-browser.

vjekoart avatar vjekoart commented on August 28, 2024

Hi @sveres,

We're currently not working on this feature. However, the task is defined and placed in the backlog, but we cannot tell the exact date when it's going to be implemented due to limited resources.

Sincerely,
Vjekoslav

from blinkid-in-browser.

DoDoENT avatar DoDoENT commented on August 28, 2024

Hi @sveres,

if you are using VideoRecognizer directly from your code, you can call pauseRecognition - this will pause the recognition loop (i.e. new frames won't be processed, even if there are still live processImage tasks queued from setTimeout), but the video feed will keep working (the camera will still be enabled). You can then resume the recognition by calling resumeRecognition.

If you also want to stop the video feed (i.e. "freeze" the video feed, without tearing down the camera), you can call pauseVideoFeed. However, after pausing the video feed, you will need to resume the recognition by calling either recognize or startRecognition (recognize is just simple wrapper around startRecognition that set the default onScanningDone callback that pauses the video feed before resolving the promise).

from blinkid-in-browser.

sveres avatar sveres commented on August 28, 2024

Thanks @DoDoENT, this is great news, we will check pauseRecognition out.

from blinkid-in-browser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.