passing in connected components using opencv to tesseract