def compute_epipole(F):
 (U, S, V) = linalg.svd(F)
 e = V[(-1)]
 return (e / e[2])

def compute_epipole ( F ) : ( U , S , V ) = linalg . svd ( F ) e = V [ ( - 1 ) ] return ( e / e [ 2 ] )
computes the epipole from a fundamental matrix f .