class_docstr: Convert between text-label and text-index 
class_docstr_tok: ["Convert","between","text-label","and","text-index"]
docstr: convert text-index into text-label. 
docstr_tok: ["convert","text-index","into","text-label","."]
code: def decode_greedy(self, text_index, length):
      """convert text-index into text-label."""
      texts = []
      index = 0
      for l in length:
          t = text_index[index : index + l]
          # Returns a boolean array where true is when the value is not repeated
          a = np.insert(~((t[1:] == t[:-1])), 0, True)
          # Returns a boolean array where true is when the value is not in the ignore_idx list
          b = ~np.isin(t, np.array(self.ignore_idx))
          # Combine the two boolean array
          c = a & b
          # Gets the corresponding character according to the saved indexes
          text = "".join(np.array(self.character)[t[c.nonzero()]])
          texts.append(text)
          index += l
      return texts
  
imports: from __future__ import print_function
  import torch
  import pickle
  import numpy
  import math
  import cv2
  from PIL import Image, JpegImagePlugin
  from scipy import ndimage
  import hashlib
  import sys, os
  from zipfile import ZipFile
  from .imgproc import loadImage
label_desc: Use image node_id 3 for calling the CTCLabelConverter obj's underlying member method code with example usage: obj.decode_greedy(text_index, length) and returns: texts