mirror of
https://github.com/opencv/opencv.git
synced 2025-07-31 18:07:08 +08:00
mdot function in common.py
This commit is contained in:
parent
c52d620817
commit
84281d284e
@ -195,3 +195,6 @@ def mosaic(w, imgs):
|
|||||||
def getsize(img):
|
def getsize(img):
|
||||||
h, w = img.shape[:2]
|
h, w = img.shape[:2]
|
||||||
return w, h
|
return w, h
|
||||||
|
|
||||||
|
def mdot(*args):
|
||||||
|
return reduce(np.dot, args)
|
||||||
|
Loading…
Reference in New Issue
Block a user