So I've been banging my head against the keyboard for the past couple of hours trying to get PyCharm to properly accept the one and only OpenCV lib.
I know that OpenCV is written and C and I have no change of getting autocomplete from a binary and I tried a couple of ways I found on the internet and I got something working. When I Ctrl+click on a function it take me to something like this:
def VideoCapture(): # real signature unknown; restored from __doc__
Which is good, but I have no idea what that function returns, if it takes parameters what kind of parameters it needs, and so on. Is it even possible to get something like this to work?
Things I tried:
- copy pasting the .pyd file, normally this didn't work
- pip installing opencv-python https://github.com/skvark/opencv-python
- installed .whl file with pip
I have to say I know almost nothing regarding Python, but I want to learn it and I want to start learning it with a project in OpenCV that I have to do. If I can't do this with Python I will have to go with Java or C++ and I dislike both of them.
EDIT: just to be clear, the library is working and have succesfuly got input from a webcamera, I just want the ability to know the return type of functions, and maybe go to that types definition, you know, the normal stuff that you can do with an IDE