Target detection and epipolar geometry for image orientation in close-range photogrammetry