TextDetector does return width as heigth

just corrected the call