Use same filename format for detection image as for main filename