Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add support for maxThreads>1 #35

Description

@MarkRivers

All plugins should support maxThreads>1 if it is feasible and if there would be a performance gain.

I don't see any reason why it should not be feasible for NDPluginCV. It only processes a single image at a time (unlike for example NDPluginProcess which needs to know about the previous image), and that should be able to be done in a thread-safe manner. OpenCV operations are likely to be time-consuming and a linear improvement in throughput with number of threads could be expected.

The OpenCV library claims to be thread-safe.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions