class_docstr: The element types for Tesseract Detection API
class_docstr_tok: ["The","element","types","for","Tesseract","Detection","API"]
code: def group_levels(self):
      levels = [
          "page_num",
          "block_num",
          "par_num",
          "line_num",
          "word_num",
      ]
      return levels[: self + 1]
  
file_path: layout-parser/src/layoutparser/ocr/tesseract_agent.py
imports: import io
  import csv
  import pickle
  import pandas
  from .base import BaseOCRAgent, BaseOCRElementType
  from ..io import load_dataframe
  from ..file_utils import is_pytesseract_available
label_desc: Use image node_id 2 for calling the TesseractFeatureType obj's underlying member method code with example usage: obj.group_levels() and returns: levels