hat.visualize¶
Visualize code snippets for various task.
Metrics¶
|
The viz method of classification result. |
|
The visiualize method of det result. |
|
The visualize method of segmentation result. |
API Reference¶
- class hat.visualize.ClsViz(is_plot: bool = False)¶
The viz method of classification result.
- Parameters
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.
- Parameters
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.SegViz(image_process: Callable = <function _default_image_process>, label_process: Callable = <function _seg_target_process>)¶
The visualize method of segmentation result.
- Parameters
image_process (Callable) – Process of image.
label_process (Callable) – Process of label.