MCPcopy Create free account
hub / github.com/JimmyHHua/opencv_tutorials / caldist

Function caldist

python/code_085/opencv_085_flow.py:23–24  ·  view source on GitHub ↗
(a,b,c,d)

Source from the content-addressed store, hash-verified

21good_ini=p0.copy()
22
23def caldist(a,b,c,d):
24 return abs(a-c)+abs(b-d)
25
26mask = np.zeros_like(old_frame)
27# 光流跟踪

Callers 1

opencv_085_flow.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected