user_123454321:

The H and W are height and width of the image NOT the rectangle. How can the corners be outside the image ?


yes. i’m saying that. in the doc. they said x and y are between 0-w and 0-h.
But the value in my example of x and y already bigger than 200 (Height)
SO the definition in doc is wrong? Or the x1, y1, x2, y2 values are defiend wrongly in my example?