title: Region of Interest opencv python
body: <p>I am trying to get a region of an image (ROI) using opencv python. The version of opencv used is 2.4.3. However when I try to call the API</p>
  <pre><code>cv2.SetImageROI
  </code></pre>
  <p>it returns this error</p>
  <pre><code>AttributeError: 'module' object has no attribute 'SetImageROI'
  </code></pre>
  <p>Also on checking the documentation it seems to suggest this api is a legacy python function.
  <a href="http://docs.opencv.org/2.4.3/search.html?q=setimageroi" rel="nofollow noreferrer">http://docs.opencv.org/2.4.3/search.html?q=setimageroi</a></p>
  <p>I am not sure how to go about getting the ROI using this current version of opencv in python. Could some one please suggest how to go about this?</p>
  <p>Thanks</p>