Describir: Enhancing image retrieval through optimal barcode representation