retval return variable output and format on OpenCV2 python

asked 2016-08-29 23:52:00 -0600

aji_n gravatar image

updated 2016-08-30 10:23:19 -0600

I'm having some trouble understanding retval on some function in OpenCV2, some of it will only returning one variable and another returning up to four variable.

I want to understand what type of data it returning, such as BoundingRectwill returning x,y,width, height. and cv2.useOptimized will return 1 or 0 instead. how can i determine type of output (boolean, array, image, etc) from OpenCV manual?

should i determine the output from it's C++ function?

edit retag flag offensive close merge delete

Comments

should i determine the output from it's C++ function? -- imho, that's your best bet, currently.

berak gravatar imageberak ( 2016-08-30 12:01:26 -0600 )edit