title: OpenCV Rect conventions – What is x, y, width, height?
body: <p>I'm studying the <a href="https://docs.opencv.org/3.4/df/def/tutorial_js_meanshift.html" rel="noreferrer">OpenCV tutorial found here</a>. I am a little confused about what is represented in the following line of code:</p>
  
  <pre><code>let trackWindow = new cv.Rect(150, 60, 63, 125);
  </code></pre>
  
  <p>I'm not sure what the convention is with regards to what exactly is represented by x, y, width, height in this case. I made a drawing showing what I think it is. Could you please let me know if my understanding is correct?</p>
  
  <p><a href="https://i.stack.imgur.com/BDHET.png" rel="noreferrer"><img src="https://i.stack.imgur.com/BDHET.png" alt="enter image description here"></a></p>