You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It should work as-is with pyright and mypy, but for Pylance you'll have to remove the bundled stubs every time you update the extension. It can be found at: %HOMEPATH%\.vscode\extensions\ms-python.vscode-pylance-<VERSION>\dist\bundled\stubs\cv2-stubs (where <VERSION> is your current Pylance version).
imwritemulti
is missing from the type stubs.However, the corresponding
imreadmulti
is present.Looks like this overloaded function was merged into OpenCV 4.5.1:
The current
cv2
type stubs are generated from 4.4.0. When will it be time to update to a newer version? OpenCV stable is at 4.7.0 already.The text was updated successfully, but these errors were encountered: