PlotterArgMax

plugin PlotterArgMax(Predictor)

Plugin Type: Predictor

Identical to ArgMax, but plots probability frames in form of video to the user using matplotlib…

Settings

setting video_name: str = '$VIDEO-prob-dlc.mp4'

Name of the video file that plotting data will be saved to. Can use $VIDEO to place the name of original video somewhere in the text.

setting parts_to_plot: Literal[None] | List[str] = None

A list of body parts to plot. None means plot all the body parts.

setting codec: codec_string = 'mp4v'

The codec to be used by the opencv library to save info to, typically a 4-byte string.

setting use_log_scale: bool = False

Boolean, determines whether to apply log scaling to the frames in the video.

setting 3d_projection: bool = False

Boolean, determines if probability frames should be plotted in 3d.

setting display_offsets: bool = False

Boolean, determines if offset vectors are displayed additionally.

setting arrow_color: to_rgba = 'red'

Matplotlib color type, the color of the offset arrows if enabled.

setting arrow_args: optional_dict = None

A dictionary, miscellaneous arguments to pass to plt.quiver.

setting arrow_displacement_threshold: RangedFloat[min=0.0, max=inf] = 0.1

A float, the threshold under which not to plot an arrow for a given location.

setting colormap: to_colormap = 'Blues'

String, determines the underlying colormap to be passed to matplotlib while plotting the heatmap or mesh.

setting z_shrink_factor: RangedFloat[min=1.0, max=inf] = 5

Float, determines how much to shrink the z-axis if in 3D mode…

setting dpi: RangedInteger[min=1.0, max=inf] = 100.0

The dpi of the final video, the higher the dpi the more crisp…

setting axis_on: bool = False

Boolean, determines if axis, or tick marks and grids of subplots are shown.

setting axes_args: optional_dict = None

A dictionary, miscellaneous arguments to pass to matplotlib axes when constructing them.

setting figure_args: optional_dict = None

A dictionary, miscellaneous arguments to pass to matplotlib figure when constructing it.