Open
Conversation
which allows us to wait for stopping receiver's subscription, which in turn enables us to have unreliable tango processing servers (unreliable=zmq.PUB/SUB)
unreliable=zmq.PUB/SUB
E.g. sample's bounding box is broadcasted as metadata.
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## master #570 +/- ##
==========================================
- Coverage 83.52% 81.79% -1.73%
==========================================
Files 133 134 +1
Lines 10718 10993 +275
==========================================
+ Hits 8952 8992 +40
- Misses 1766 2001 +235 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
and resetting the manager.
for convenience.
to different formats.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Wat's new
stop()really stopszmq.PUB/zmq.SUBaddonsSampleDetectoraddonWhy so much
Adding sample detection addon which tracks the sample and at the end creates the larges bounding box does not need to be
zmq.PUSH/zmq.PULL, but the "unreliable"zmq.PUB/zmq.SUB, because we do not need to analyze every image and thus drain resources. That in turn means that we have to be able to wait forZmqReceiver.stop(), which turns all zmq business to asyncio and that means all classesZmqBase,ZmqReceiver, ..., have to subclassAsyncObject. And that means, all code that uses them and their new asyncio functions had to be changed.TODOS
Example session
Example usage