文章预览
说明 This is the repo for our new project Highly Accurate Dichotomous Image Segmentation github地址: https://github.com/xuebinqin/DIS 效果 模型信息 Inputs ------------------------- name:input tensor:Float[1, 3, 480, 640] --------------------------------------------------------------- Outputs ------------------------- name:output tensor:Float[1, 1, 480, 640] --------------------------------------------------------------- 项目 VS2022 .net framework 4.8 OpenCvSharp 4.8 Microsoft.ML.OnnxRuntime 1.16.2 代码 using Microsoft.ML.OnnxRuntime.Tensors; using Microsoft.ML.OnnxRuntime; using OpenCvSharp; using System; using System.Collections.Generic; using System.Windows.Forms; using System.Linq; using System.Drawing; using static System.Net.Mime.MediaTypeNames; namespace Onnx_Demo { public partial class frmMain : Form { public frmMain () { InitializeComponent();
………………………………