Improved fiducial recognition