Search by image
I am a Java programmer and I am faced with the task of making a search system by image. Namely, there is a large set of sneaker images in the database. The user uploads an image of the desired sneakers into the system and the system should return a list of the most relevant images from the database. Tell me which direction should I go in, how can I implement this as simply and efficiently as possible?