@classmethod
def new(cls, item=None, annotation_definition=None, object_id=None,
    automated=None, metadata=None, frame_num=None, parent_id=None,
    start_time=None, height=None, width=None):
    """
        Create a new annotation object annotations

        :param start_time:
        :param width: annotation item's width
        :param height: annotation item's height
        :param item: item to annotate
        :param annotation_definition: annotation type object
        :param object_id: object_id
        :param automated: is automated
        :param metadata: metadata
        :param frame_num: optional - first frame number if video annotation
        :param parent_id: add parent annotation ID
        :return: annotation object
        """
    if frame_num is None:
        frame_num = 0
    if metadata is None:
        metadata = dict()
    if parent_id is not None:
        if 'system' not in metadata:
            metadata['system'] = dict()
        metadata['system']['parentId'] = parent_id
    frames = dict()
    if item is not None and item.fps is not None:
        fps = item.fps
    else:
        fps = None
    ann_type = None
    if annotation_definition is not None:
        ann_type = annotation_definition.type
    dataset_url = None
    dataset_id = None
    if item is not None:
        dataset_url = item.dataset_url
        dataset_id = item.datasetId
    if start_time is None:
        if fps is not None and frame_num is not None:
            start_time = frame_num / fps if fps != 0 else 0
        else:
            start_time = 0
    if frame_num is None:
        frame_num = 0
    return cls(annotation_definition=annotation_definition, id=None, url=
        None, item_url=None, item=item, item_id=None, creator=None,
        createdAt=None, updatedBy=None, updatedAt=None, object_id=object_id,
        type=ann_type, dataset_url=dataset_url, dataset_id=dataset_id,
        height=height, width=width, metadata=metadata, fps=fps, status=None,
        automated=automated, frames=frames, end_frame=frame_num, end_time=0,
        start_frame=frame_num, start_time=start_time, platform_dict=dict())
