code: def setUp(self):
      if pil_installed:
          with open(self._image_file, "rb") as f:
              self._image = Image.open(f)
              self._image.load()
      self._api = tesserocr.PyTessBaseAPI(init=True)
  
imports: import unittest
  import re
  import os.path
  import tesserocr
label_desc: Use image node_id 1 for calling the TestTessBaseApi obj's underlying member method code with example usage: obj.setUp() without return types