Intelligent Image Retrieval Pipeline