Thèse PhD opportunity: A multi-resolution foundation model for images of historical documents: Application to object detection and image retrieval