ImageSizeLogger and OcrProcessor fixes