A WebCam captures an image, this image is compared with available the images in a SQL database and a nearest match is displayed in the GUI. The size of each image in database is around 60kb and are stored in varbinary format.
Right now, I am getting all images in a Datatable, iterating through each datarow, getting image from datarow columnd and comparing it with my image.
Is there a more efficient way to compare images with images from database? Does adding an index to the table increase the performance?