You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
330 B
15 lines
330 B
5 months ago
|
from collections import namedtuple
|
||
|
|
||
|
import cv2
|
||
|
|
||
|
|
||
|
NativeMethodPatchedResult = namedtuple("NativeMethodPatchedResult",
|
||
|
("py", "native"))
|
||
|
|
||
|
|
||
|
def testOverwriteNativeMethod(arg):
|
||
|
return NativeMethodPatchedResult(
|
||
|
arg + 1,
|
||
|
cv2.utils._native.testOverwriteNativeMethod(arg)
|
||
|
)
|