code: def __init__(self, **kargs):
      knn_alpha_estimator = pymatting.estimate_alpha_knn
      super().__init__(knn_alpha_estimator, **kargs)
  
imports: import pymatting
  from paddleseg.cvlibs import manager
label_desc: Use image node_id 1 to create a new KNNMatting object from inherited base classes: BaseMLMatting with example: obj = KNNMatting()