Preparing search index...

    Function readCharacterCount

    • Counts the non-whitespace characters of every recognized line, a measure of how much text a pass read. Compared between passes of the same image, so a pass that loses text scores lower.

      Parameters

      • result: TextRecognitionResult

        ML Kit recognition result

      Returns number

      Number of non-whitespace characters