GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - kensam94/opencvsharp: .NET Framework wrapper for OpenCV

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

765 Commits
765 Commits

Folders and files

NameName
Last commit message
Last commit date
doc
doc
 
 
help
help
 
 
lib
lib
 
 
nuget
nuget
 
 
sample
sample
 
 
src
src
 
 
web/img
web/img
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
README.md
README.md
 
 

Repository files navigation

#OpenCvSharp Cross platform wrapper of OpenCV for .NET Framework.

OpenCVを.NET Frameworkから利用するための、クロスプラットフォームで動作するラッパーです。

Installation

NuGet

If you have Visual Studio 2012 or later, it is recommended to use NuGet. Search 'opencvsharp' on the NuGet Package Manager.

  • OpenCV3.0 All-in-one package - bundles native OpenCV DLLs
  • OpenCV3.0 Minimum package
  • OpenCV2.4.10 All-in-one package - bundles native OpenCV DLLs
  • OpenCV2.4.10 Minimum package

Downloads

If you do not use NuGet, get DLL files from the release page.

Requirements

  • OpenCV 3.0 / 2.4.10
  • Visual C++ 2013 Redistributable Package
  • .NET Framework 2.0 or later / Mono

On Windows, OpenCvSharp requires OpenCV DLL files built with VC++2013 (msvcr120.dll). The official pre-built DLL files in build/[x86 or x64]/vc12/bin are suitable.

Documents

http://shimat.github.io/opencvsharp/

Usage

For more details, see the Wiki page.

// Edge detection by Canny algorithm
using OpenCvSharp;
// using OpenCvSharp.CPlusPlus;  //for OpenCvSharp2

class Program 
{
    static void Main() 
    {
        Mat src = new Mat("lenna.png", ImreadModes.GrayScale);
        Mat dst = new Mat();
        
        Cv2.Canny(src, dst, 50, 200);
        using (new Window("src image", src)) 
        using (new Window("dst image", dst)) 
        {
            Cv2.WaitKey();
        }
    }
}

Features

  • OpenCvSharp is modeled on the native OpenCV C/C++ API style as much as possible.
  • Many classes of OpenCvSharp implement IDisposable. There is no need to manage unsafe resources.
  • OpenCvSharp does not force object-oriented programming style on you. You can also call native-style OpenCV functions.
  • OpenCvSharp provides functions for converting from Mat/IplImage into Bitmap(GDI+) or WriteableBitmap(WPF).
  • OpenCvSharp can work on Mono. It can run on any platform which Mono supports (e.g. Linux and MacOSX).

  • オリジナルのC/C++コードと可能な限り似た記述ができるように設計しています。
  • 多くのクラスがIDisposableインターフェイスを実装しているので、ネイティブリソース管理が容易です。
  • オブジェクト指向な書き方を強制しません。OpenCVのネイティブの関数をそのままの形式で呼べます。
  • GDI+やWPFとの相互利用が可能です。OpenCVのMat/IplImageとGDI+のBitmapやWPFのWriteableBitmapとの変換機能があります。
  • Monoに対応しています。LinuxやMacOSX等のクロスプラットフォームで動作します。

License

OpenCvSharp is licensed under the BSD 3-Clause License. See LICENSE.txt.

OpenCvSharp.Blob uses cvBlob to implement blob extraction.

About

.NET Framework wrapper for OpenCV

Resources

Readme
License
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.