I am trying to use OpenCV with Python and convert some C ++ code. Anyway, if I do this:
import cv
img = cv.LoadImage('image.jpg')
This is normal. Or:
import opencv.cv as opcv
size = opcv.cvSize(40, 50)
But in any case, the module cvdoes not have a data structure cvSize, but opencv.cvdoes not LoadImage. So what exactly does each module have? I tried looking for documentation, but could not find it. Should I use it like this, or is my setup incorrectly configured?
source
share