FastPlotterArgMax
- plugin FastPlotterArgMax(Predictor)
Plugin Type:
PredictorIdentical to
PlotterArgMax, but avoids using matplotlib to generate probability maps, and instead directly uses cv2 to generate the plots. This means it runs much faster, but doesn’t offer as much customization nor a 3D mode…Settings
- setting video_name: str = '$VIDEO-fast-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.
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 title_font_size: RangedFloat[min=0.1, max=inf] = 2
The font size of the main title
- setting title_font: cv2_font = 'FONT_HERSHEY_SIMPLEX'
- String, the cv2 font to be used in the title, options for this are:
FONT_HERSHEY_COMPLEX
FONT_HERSHEY_COMPLEX_SMALL
FONT_HERSHEY_DUPLEX
FONT_HERSHEY_PLAIN
FONT_HERSHEY_SCRIPT_COMPLEX
FONT_HERSHEY_SCRIPT_SIMPLEX
FONT_HERSHEY_SIMPLEX
FONT_HERSHEY_TRIPLEX
- setting subplot_font_size: RangedFloat[min=0.1, max=inf] = 1.5
The font size of the titles of each subplot.
- setting subplot_font: cv2_font = 'FONT_HERSHEY_SIMPLEX'
String, the cv2 font used in the subplot titles, look at options for ‘title_font’.
- setting background_color: Tuple[RangedInteger[min=0.0, max=255.0], RangedInteger[min=0.0, max=255.0], RangedInteger[min=0.0, max=255.0]] = (255, 255, 255)
Tuple of 3 integers, color of the background in BGR format
- setting title_font_color: Tuple[RangedInteger[min=0.0, max=255.0], RangedInteger[min=0.0, max=255.0], RangedInteger[min=0.0, max=255.0]] = (0, 0, 0)
Tuple of 3 integers, color of the title text in BGR format
- setting subplot_font_color: Tuple[RangedInteger[min=0.0, max=255.0], RangedInteger[min=0.0, max=255.0], RangedInteger[min=0.0, max=255.0]] = (0, 0, 0)
Tuple of 3 integers, color of the title text in BGR format
- setting colormap: cv2_colormap = 'COLORMAP_VIRIDIS'
- String, the cv2 colormap to use, options for this are:
COLORMAP_AUTUMN
COLORMAP_BONE
COLORMAP_CIVIDIS
COLORMAP_COOL
COLORMAP_DEEPGREEN
COLORMAP_HOT
COLORMAP_HSV
COLORMAP_INFERNO
COLORMAP_JET
COLORMAP_MAGMA
COLORMAP_OCEAN
COLORMAP_PARULA
COLORMAP_PINK
COLORMAP_PLASMA
COLORMAP_RAINBOW
COLORMAP_SPRING
COLORMAP_SUMMER
COLORMAP_TURBO
COLORMAP_TWILIGHT
COLORMAP_TWILIGHT_SHIFTED
COLORMAP_VIRIDIS
COLORMAP_WINTER
- setting font_thickness: RangedInteger[min=1.0, max=inf] = 2
Integer, the thickness of the font being drawn.
- setting source_map_upscale: RangedInteger[min=1.0, max=100.0] = 4
Integer, The amount to upscale the probability maps.
- setting padding: RangedInteger[min=1.0, max=inf] = 20
Integer, the padding to be applied around plots in pixels.