Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Call classifier from multiple threads

Hello.

If i have a thread pool and the object that manages it has a Neural Network, can it be called from multiple threads? For instance, a Kalman filter would fail as it's internal state is updated, so threads wouldn't work with this, but if we had an array of samples for a large classifier we could run each sample in it's own thread. Is this possible within OpenCV? Threading is core to Opencv, so i am curious as to how this is handled.

Are there C++ const functions, immutable, mutex options?

Locking?

Kind regards,

Daniel