Efficient visual code localization with neural networks