code: def __init__(
      self,
      gt_mask=None,
      init_clicks=None,
      ignore_label=-1,
      click_indx_offset=0,
  ):
      self.click_indx_offset = click_indx_offset
      if gt_mask is not None:
          self.gt_mask = gt_mask == 1
          self.not_ignore_mask = gt_mask != ignore_label
      else:
          self.gt_mask = None
  
      self.reset_clicks()
  
      if init_clicks is not None:
          for click in init_clicks:
              self.add_click(click)
  
file_path: PaddleSeg/EISeg/eiseg/inference/clicker.py
imports: import cv2
  import numpy
  from copy import deepcopy
label_desc: Use image node_id 1 to create a new Clicker object from inherited base classes: object with example: obj = Clicker(gt_mask, init_clicks, ignore_label, click_indx_offset)