deepof.utils.arena_parameter_extraction
- deepof.utils.arena_parameter_extraction(frame: ndarray, arena_type: str) array
Return x,y position of the center, the lengths of the major and minor axes, and the angle of the recognised arena.
- Parameters:
frame (np.ndarray) – numpy.ndarray representing an individual frame of a video
arena_type (str) – Type of arena to be used. Must be either “circular” or “polygonal”.