Skip to content

Instantly share code, notes, and snippets.

View FedericoCozziVM's full-sized avatar

Federico FedericoCozziVM

View GitHub Profile
@FedericoCozziVM
FedericoCozziVM / fix_cv2.sh
Last active May 31, 2023 12:22
Fix cv2 stub (removing IDE warinings)
#!/bin/sh
curl -sSL https://raw.githubusercontent.com/microsoft/python-type-stubs/main/stubs/cv2-stubs/__init__.pyi \
-o $(python -c 'import cv2, os; print(os.path.dirname(cv2.__file__))')/__init__.pyi