Unlocking Precision: Advanced Distance Metrics for Superior Image Search