| 注册
请输入搜索内容

热门搜索

Java Linux MySQL PHP JavaScript Hibernate jQuery Nginx
jopen
12年前发布

OpenCV的.Net封装:OpenCVSharp

OpenCvSharp是一个跨平台的OpenCV的.NET框架包装,采用C#编写。您可以在C#,VB.NET中使用许多流行的图像处理和计算机视觉算法。

OpenCV的.Net封装:OpenCVSharp

特性:
  • OpenCvSharp wraps more OpenCV's functions than SharperCV and OpenCVDotNet.
  • Many classes of OpenCvSharp implement IDisposable. You can write stylish code by "using" statement.
  • OpenCvSharp does not force object-oriented programming style on you. You can also call native-style OpenCV functions.
  • OpenCvSharp provides functions for converting from IplImage into Bitmap(GDI+) or WriteableBitmap(WPF).
  • OpenCvSharp can work on Mono. Therefore it is able to run on any platform which Mono supports (e.g. Linux, BSD and Mac OS X).

using System;  using OpenCvSharp;    class Program   {      static void Main()       {          using (IplImage src = new IplImage("lenna.png", LoadMode.GrayScale))          using (IplImage dst = new IplImage(src.Size, BitDepth.U8, 1))           {              src.Canny(dst, 50, 200);              using (CvWindow window_src = new CvWindow("src image", src))               using (CvWindow window_dst = new CvWindow("dst image", dst))               {                  CvWindow.WaitKey();              }          }      }  }

项目主页:http://www.open-open.com/lib/view/home/1355649441744

 本文由用户 jopen 自行上传分享,仅供网友学习交流。所有权归原作者,若您的权利被侵害,请联系管理员。
 转载本站原创文章,请注明出处,并保留原始链接、图片水印。
 本站是一个以用户分享为主的开源技术平台,欢迎各类分享!
 本文地址:https://www.open-open.com/lib/view/open1355649441744.html
OpenCV 计算机视觉库/人脸识别