Module 'cv2' has no 'imdecode' memberpylint(no-member) code example
Example 1: module 'cv2' has no 'videocapture' member python
"python.linting.pylintArgs":["--extension-pkg-whitelist=cv2"]
Example 2: Module 'cv2' has no 'imread' member
(1) open palette on VS Code (use specifies command): CTRL + Shift + P
(2) then select "Preferences: Open Settings (JSON)" option in the palette dropdown
(3) then add the following line in the opened "settings.json" file
"python.linting.pylintArgs": ["--generate-members"]
Example 3: Module 'cv2' has no 'imread' memberpylint(no-member)
from cv2 import cv2