Please use. NET 5,. NET 6, NET 7,. NET 8, NET Framework 4.6, NET Framework 4.61, NET Framework 4.7, NET Framework 4.72, NET Framework 4.8, NET Framework 4.81, and. NET Core 3.1 versions

Visualize 类

Static class providing visualization methods for different computer vision results 提供不同计算机视觉结果可视化方法的静态类

Definition

命名空间: DeploySharp.Data
程序集:  DeploySharp.ImageSharp (在 DeploySharp.ImageSharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
  DeploySharp.OpenCvSharp (在 DeploySharp.OpenCvSharp.dll 中) 版本:0.0.4+6e8a2e904469617cd59619d666c0e272985c0e33
C#
public static class Visualize
Inheritance
Object    Visualize

备注

Contains specialized rendering methods for: 包含专门的渲染方法用于: - Object detection (bounding boxes) 目标检测(边界框) - Oriented bounding boxes (OBB) 定向边界框(OBB) - Semantic segmentation (masks) 语义分割(掩膜) - Human pose estimation (keypoints) 人体姿态估计(关键点)

All methods return new Image<Rgb24> instances leaving original images unmodified 所有方法都返回新的Image<Rgb24>实例,原始图像不被修改

方法

DrawDetResult(Result, Mat, VisualizeOptions) Result drawing
DrawDetResult(Result, ImageRgb24, VisualizeOptions) Draws detection results (bounding boxes) on the image 在图像上绘制检测结果(边界框)
DrawObbResult(Result, Mat, VisualizeOptions) Result drawing
DrawObbResult(Result, ImageRgb24, VisualizeOptions) Draws oriented bounding box (OBB) results 绘制定向边界框(OBB)结果
DrawPoses(Result, Mat, VisualizeOptions) Key point result drawing
DrawPoses(Result, ImageRgb24, VisualizeOptions) Draws human pose estimation results 绘制人体姿态估计结果
DrawSegResult(Result, Mat, VisualizeOptions) Result drawing
DrawSegResult(Result, ImageRgb24, VisualizeOptions) Draws segmentation results 绘制分割结果
GetSafeRectangle 将矩形调整到图像范围内

参见