function z=normalize(v)
x=v(1); y=v(2); w=v(3); h=v(4);
z=[x/512 y/395 w/512 h/395];
