modified to calculate recall on ICDAR dataset