implemented fmeasure for tesseracttest