An end-to-end convolutional network for estimating the essential matrix