adjust parameters or algorithm to get accurate pose at the edge. or test the nearest distance from the edge which can get accurate pose