deepof.annotation_utils.frame_corners

deepof.annotation_utils.frame_corners(w, h, corners: dict = {})

Return a dictionary with the corner positions of the video frame.

Parameters:
  • w (int) – width of the frame in pixels

  • h (int) – height of the frame in pixels

  • corners (dict) – dictionary containing corners to overwrite

Returns:

dictionary with overwriten parameters. Those not specified in the input retain their default values

Return type:

defaults (dict)