6.1.7.7. hat.visualize

Visualize code snippets for various task.

6.1.7.7.1. Visualize

ClsViz

The viz method of classification result.

DetViz

The visiualize method of det result.

SegViz

The visualize method of segmentation result.

FlowViz

The visualize method of Flow_pred result.

LidarDetViz

The visiualize method of lidar det result.

6.1.7.7.2. API Reference

class hat.visualize.ClsViz(is_plot: bool = False)

The viz method of classification result.

参数

is_plot (bool) – Whether to plot image.

class hat.visualize.DetViz(score_thresh: float = 0.5, absolute_coord: bool = True, is_plot: bool = True)

The visiualize method of det result.

参数
  • score_thresh (float) – Score thresh for filtering box in plot.

  • absolute_coord (bool) – Coordinates of pred_box is absolute or not.

  • is_plot (bool) – Whether to plot image.

class hat.visualize.FlowViz(is_plot: bool = True)

The visualize method of Flow_pred result.

参数

is_plot – Whether to plot image.

class hat.visualize.LidarDetViz(score_thresh: float = 0.4, is_plot: bool = True)

The visiualize method of lidar det result.

参数
  • score_thresh (float) – Score thresh for filtering box in plot.

  • is_plot (bool) – Whether to plot image.

class hat.visualize.SegViz(image_process: Callable = <function _default_image_process>, label_process: Callable = <function _seg_target_process>)

The visualize method of segmentation result.

参数
  • image_process (Callable) – Process of image.

  • label_process (Callable) – Process of label.