GithubHelp home page GithubHelp logo

Comments (3)

pataxis avatar pataxis commented on July 29, 2024

Hi @vuhailongkl97 , thank you for reaching out. We'll get back to you when we have had time to look in to your issue.

from acap-native-sdk-examples.

Corallo avatar Corallo commented on July 29, 2024

Hello @vuhailongkl97

The application goes faster than 1fps, but as you see in your log, since the output is always the same, it is suppressed by the system log.
e.g. 2023-02-10T12:53:37.448+09:00 axis-b8a44f3a8b10 [ INFO ] opencv_app[979]: Last message 'Motion detected: YES' repeated 6 times, suppressed by syslog-ng on axis-b8a44f3a8b10

By only capturing the frames, you should get performances that are close to the camera frame rate settings (30 or 60 fps).
of course, if you process the frame on top of it, that will slow down your throughput. In the specific case of this application, I think
bgsub->apply(bgr_mat, fg, 0.005); is the responsible for the slowdown from 30 to 7-8 fps. You can double-check by adding a unique number to each print to avoid suppression.

On artpect-8 devices, the performances should be 2-3 times better.

from acap-native-sdk-examples.

vuhailongkl97 avatar vuhailongkl97 commented on July 29, 2024

@Corallo Thank you, I got it.

from acap-native-sdk-examples.

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.