Commit 31da188c authored by Thiago Santini's avatar Thiago Santini

Fixes pupil drawing

parent 169da670
......@@ -505,8 +505,8 @@ void CameraWidget::drawPupil(const cv::RotatedRect ellipse, QPainter &painter)
painter.setPen(QPen(Qt::green, 0.75*refPx, Qt::SolidLine));
// center
double r = refPx;
painter.drawEllipse(*r,*r, r, r);
double r = 0.5*refPx;
painter.drawEllipse(QPointF(,, r, r);
// outline
if (ellipse.size.width > 0 && ellipse.size.height > 0){
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment