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

Method on_rect

官方samples/plane_tracker.py:151–152  ·  view source on GitHub ↗
(self, rect)

Source from the content-addressed store, hash-verified

149 self.rect_sel = common.RectSelector('plane', self.on_rect)
150
151 def on_rect(self, rect):
152 self.tracker.add_target(self.frame, rect)
153
154 def run(self):
155 while True:

Callers

nothing calls this directly

Calls 1

add_targetMethod · 0.80

Tested by

no test coverage detected