Source code for pytrack.analytics.plugins
[docs]class Segmenter:
""" Skeleton parent class to perform the segmentation operation.
"""
def __init__(self):
pass
[docs] def processing(self, img):
""" It takes an input image and returns the processed image.
"""
pass
[docs] def run(self, img):
""" It takes an input image and returns the mask of the segmented image.
"""
pass