MCPcopy
hub / github.com/makelove/OpenCV-Python-Tutorial / on_rect

Method on_rect

官方samples/plane_ar.py:55–56  ·  view source on GitHub ↗
(self, rect)

Source from the content-addressed store, hash-verified

53 self.rect_sel = common.RectSelector('plane', self.on_rect)
54
55 def on_rect(self, rect):
56 self.tracker.add_target(self.frame, rect)
57
58 def run(self):
59 while True:

Callers

nothing calls this directly

Calls 1

add_targetMethod · 0.80

Tested by

no test coverage detected