I would like to know how I can get an opencv rect object by providing two Points. The c++ version provides this datastructre.
http://docs.opencv.org/java/2.4.9/org/opencv/core/Rect.html
I cant find a way to instantiate rects in python.
I tried cv2.Rect(p1,p2)
but this method seems not be existent.
Is it even possible?
Thanks in adavance :)