-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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 NDPluginBar. 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 and zbar operations are likely to be time-consuming and a linear improvement in throughput with number of threads could be expected.
The OpenCV and zbar libraries both claim to be thread-safe.
Metadata
Metadata
Assignees
Labels
No labels