jasmcaus / opencv-course

Learn OpenCV in 4 Hours - Code used in my Python and OpenCV course on freeCodeCamp.
https://youtu.be/oXlwWbU8l2o
MIT License
1.11k stars 955 forks source link

VSCode suggestions from capture variable #25

Closed brccabral closed 3 years ago

brccabral commented 3 years ago

When creating capture instance I wanted to see suggested methods and properties on VSCode. Anyway to achieve that?

capture = cv.VideoCapture('Resources/Videos/dog.mp4')

cv_suggestions

jasmcaus commented 3 years ago

Hmm. Intellisense probably won't work because OpenCV is written in C/C++ with Python bindings available for use. So, VSCode's Intellisense won't be able to give suggestions for C/C++ code. I'm not sure this is 100% accurate though.

brccabral commented 3 years ago

I think they are working on it. Thank you https://github.com/opencv/opencv/pull/20370