Viewing File: /home/ubuntu/combine_ai/combine/lib/python3.10/site-packages/cv2/utils/__init__.py

from collections import namedtuple

import cv2


NativeMethodPatchedResult = namedtuple("NativeMethodPatchedResult",
                                       ("py", "native"))


def testOverwriteNativeMethod(arg):
    return NativeMethodPatchedResult(
        arg + 1,
        cv2.utils._native.testOverwriteNativeMethod(arg)
    )
Back to Directory File Manager