Allow awaiting the result of detector.detect() #93
Closed
falkoschindler
started this conversation in
Ideas / Feature Requests
Replies: 1 comment
-
This is implemented and merged in #94. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If the RoSys detector is busy, the
detect()
method simply puts the new image into a queue and returns immediately. This can be confusing if the caller expects the detection to be done when the method returns.Here is a sketch how such a lazy processing can be implemented without returning too early. Using a generic
Worker
class we should be able to integrate it quite easily:Beta Was this translation helpful? Give feedback.
All reactions