Skip to content

Commit

Permalink
Minor docs edits
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffbass committed Feb 6, 2020
1 parent d94a836 commit c6f5955
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion docs/api-examples.rst
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,19 @@ imagezmq API
A text reply from hub.
class ImageHub(open_port='tcp://:5555', REQ_REP = True):
Opens a zmq socket on the hub computer (REP type is REQ_REP = True,
Opens a zmq socket on the hub computer (REP type if REQ_REP = True,
SUB type otherwise), for example, a Mac, that will be receiving and
displaying or processing OpenCV images and related text messages.
Provides methods to receive images or receive jpg compressed images.
Arguments:
open_port: (optional) the socket to open for receiving REQ requests.
REQ_REP: (optional) whether to use REQ/REP messaging pattern or not.
Example: REQ_REP = True (default) The Hub will be
use a REQ/REP pattern.
REQ_REP = False The Hub will use a PUB/SUB
pattern
recv_image(self, copy=False):
Receives OpenCV image and text msg.
Expand Down

0 comments on commit c6f5955

Please sign in to comment.