Embedded Real-Time Visual Search with Visual Distance Estimation