Git Product home page Git Product logo

Comments (8)

themarpe avatar themarpe commented on July 19, 2024 2

@dhruvsheth-ai seems like a good way to improve this.
I think that the root cause of flickering is that vstack appends whenever a new frame arrives as well as the text.
Maybe it be better to store all results first (of both transformed images and decoded text) and then display together once only.

If you'd like to give this a try in some form or another feel free to do so and open a PR. Will be glad to take a look:)

from depthai-experiments.

dhruvsheth-ai avatar dhruvsheth-ai commented on July 19, 2024 1

Sure! Will open a PR this week, with the mechanism you mentioned as well, will test and post the results

from depthai-experiments.

dhruvsheth-ai avatar dhruvsheth-ai commented on July 19, 2024 1

So, I tried using threading function to delay a specific part and not affect the rest, but that's not effective.
I'm trying to use another mechanism which you suggested

from depthai-experiments.

dhruvsheth-ai avatar dhruvsheth-ai commented on July 19, 2024

To open a PR later, with an effective threading solution

from depthai-experiments.

magallardo avatar magallardo commented on July 19, 2024

Is anyway this demo can be updated to run the inference for a provided image file?

Thanks

from depthai-experiments.

dhruvsheth-ai avatar dhruvsheth-ai commented on July 19, 2024

Is anyway this demo can be updated to run the inference for a provided image file?

Thanks

You can add arguments to the script to specify image input instead of Cam input. Check gen2-human-pose example to customize

from depthai-experiments.

magallardo avatar magallardo commented on July 19, 2024

@dhruvsheth-ai I am looking for an example where the pipeline input is an image instead of the camera. For ocr I would like to feed one image at a time. All the examples use camera stream as input to the pipeline and I would like to see some simple example where the input is just an image in the file system.

Thanks

from depthai-experiments.

Luxonis-Brandon avatar Luxonis-Brandon commented on July 19, 2024

I think we can add this as an alternate input.

@VanDavv - thoughts?

from depthai-experiments.

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.