MCPcopy Create free account
hub / github.com/PeizeSun/SparseR-CNN / put

Method put

demo/predictor.py:191–193  ·  view source on GitHub ↗
(self, image)

Source from the content-addressed store, hash-verified

189 atexit.register(self.shutdown)
190
191 def put(self, image):
192 self.put_idx += 1
193 self.task_queue.put((self.put_idx, image))
194
195 def get(self):
196 self.get_idx += 1 # the index needed for this request

Callers 4

__call__Method · 0.95
run_on_videoMethod · 0.45
runMethod · 0.45
shutdownMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected