You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When demo_showcandidates.py shows all the proposed bounding boxes, it calls: 55: painter.drawRect(x0, y0, x1, y1)
I guess here x1, y1 are the coordinate of the right-upper corner of the box?
When demo_showcandidates.py shows all the proposed bounding boxes, it calls:
55: painter.drawRect(x0, y0, x1, y1)
I guess here x1, y1 are the coordinate of the right-upper corner of the box?
But according to the document of QPainter.drawRect:
http://pyqt.sourceforge.net/Docs/PyQt4/qpainter.html#drawRect-2
QPainter.drawRect (self, int x, int y, int w, int h)
The last two parameters are width and height of the box.
So I guess the correct call should be
painter.drawRect(x0, y0, x1-x0, y1-y0)
Am I right? Thanks.
The text was updated successfully, but these errors were encountered: