Preparing search index...

    Function hasSidewaysText

    • Tells whether most recognized lines were read sideways.

      Parameters

      • result: TextRecognitionResult

        ML Kit recognition result

      Returns boolean

      True when more than half of the lines with corner points run vertically