125 |
xywh_out[2] = scale * psps[p].getX(d_c.width); |
xywh_out[2] = scale * psps[p].getX(d_c.width); |
126 |
|
|
127 |
xywh_out[1] = scale * ( |
xywh_out[1] = scale * ( |
128 |
psps[p].getX(l_c.x) - xywh[4*p + 1]); |
psps[p].getY(l_c.y) - xywh[4*p + 1]); |
129 |
xywh_out[3] = scale * psps[p].getX(d_c.height); |
xywh_out[3] = scale * psps[p].getY(d_c.height); |
130 |
|
|
131 |
if(dbg) pa("Center found: "+p+" "+pages[p]+" "+ |
if(dbg) pa("Center found: "+p+" "+pages[p]+" "+ |
132 |
xywh_out[0] + " " + xywh_out[1] + " " + |
xywh_out[0] + " " + xywh_out[1] + " " + |