Download lib/python3.11/site-packages/cv2/utils/__init__.py from michaelu0826/phantom_env: direct link, hf CLI and curl.
- Browser
- Download file 330 Bytes
-
https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/lib/python3.11/site-packages/cv2/utils/__init__.py
- Command line
-
hf download hf://datasets/michaelu0826/phantom_env/lib/python3.11/site-packages/cv2/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/datasets/michaelu0826/phantom_env/resolve/main/lib/python3.11/site-packages/cv2/utils/__init__.py
330 Bytes
| from collections import namedtuple | |
| import cv2 | |
| NativeMethodPatchedResult = namedtuple("NativeMethodPatchedResult", | |
| ("py", "native")) | |
| def testOverwriteNativeMethod(arg): | |
| return NativeMethodPatchedResult( | |
| arg + 1, | |
| cv2.utils._native.testOverwriteNativeMethod(arg) | |
| ) | |