@classmethod
def from_polygons(cls, polygons, image=None, category=None):
    """
        Creates annotation from polygons

        Accepts following format for lists:

        .. code-block:: python
        
            # Segmentation Format
            [
                [x1, y1, x2, y2, x3, y3,...],
                [x1, y1, x2, y2, x3, y3,...],
                ...
            ]

        or

        .. code-block:: python

            # Point Format
            [
                [[x1, y1], [x2, y2], [x3, y3],...],
                [[x1, y1], [x2, y2], [x3, y3],...],
                ...
            ]
        
        *No sepcificaiton is reqiured between which
        format is used*

        :param image: image assoicated with annotation
        :type image: :class:`Image` 
        :param category: category to label annotation
        :type category: :class:`Category` 
        :param polygons: polygons to create annotation from
        :type polygons: :class:`Polygons`, list
        """
    return cls(image=image, category=category, polygons=polygons)
