这种问题一般cv2下有红色波浪线,解决方法:
- On VScode: CTRL + Shift + P
- Choose "Preferences: Open Settings (JSON)"
- Add this line into JSON file:
"python.linting.pylintArgs": ["--generate-members"]
- Done, it works for me
这种问题一般cv2下有红色波浪线,解决方法:
"python.linting.pylintArgs": ["--generate-members"]