"python.linting.pylintArgs":["--extension-pkg-whitelist=cv2"] #if that still doesn't work you can also use "python.linting.pylintArgs":["--generate-members"]