testing first ocr processing, added check for max_density