class_docstr: Parameters of keypoints
  
  Args:
      format (str): format of keypoints. Should be 'xy', 'yx', 'xya', 'xys', 'xyas', 'xysa'.
  
          x - X coordinate,
  
          y - Y coordinate
  
          s - Keypoint scale
  
          a - Keypoint orientation in radians or degrees (depending on KeypointParams.angle_in_degrees)
      label_fields (list): list of fields that are joined with keypoints, e.g labels.
          Should be same type as keypoints.
      remove_invisible (bool): to remove invisible points after transform or not
      angle_in_degrees (bool): angle in degrees or radians in 'xya', 'xyas', 'xysa' keypoints
      check_each_transform (bool): if `True`, then keypoints will be checked after each dual transform.
          Default: `True`
class_docstr_tok: ["Parameters","of","keypoints","Args",":","format","(","str",")",":","format","of","keypoints",".","Should","be","'xy","'",",","'yx","'",",","'xya","'",",","'xys","'",",","'xyas","'",",","'xysa","'",".","x","-","X","coordinate",",","y","-","Y","coordinate","s","-","Keypoint","scale","a","-","Keypoint","orientation","in","radians","or","degrees","(","depending","on","KeypointParams.angle_in_degrees",")","label_fields","(","list",")",":","list","of","fields","that","are","joined","with","keypoints",",","e.g","labels",".","Should","be","same","type","as","keypoints",".","remove_invisible","(","bool",")",":","to","remove","invisible","points","after","transform","or","not","angle_in_degrees","(","bool",")",":","angle","in","degrees","or","radians","in","'xya","'",",","'xyas","'",",","'xysa","'","keypoints","check_each_transform","(","bool",")",":","if","`","True","`",",","then","keypoints","will","be","checked","after","each","dual","transform",".","Default",":","`","True","`"]
code: def __init__(
      self,
      format: str,  # skipcq: PYL-W0622
      label_fields: Optional[Sequence[str]] = None,
      remove_invisible: bool = True,
      angle_in_degrees: bool = True,
      check_each_transform: bool = True,
  ):
      super(KeypointParams, self).__init__(format, label_fields)
      self.remove_invisible = remove_invisible
      self.angle_in_degrees = angle_in_degrees
      self.check_each_transform = check_each_transform
  
imports: from __future__ import division
  import math
  import typing
  import warnings
  from typing import Any, Dict, List, Optional, Sequence, Tuple
  from .utils import DataProcessor, Params
label_desc: Use image node_id 1 to create a new KeypointParams object from inherited base classes: Params with example: obj = KeypointParams(format, label_fields, remove_invisible, angle_in_degrees, check_each_transform)