实例介绍
OpenCVSharp是一个在.NET环境下使用OpenCV的库,为广大开发者提供了方便的接口来实现图像处理和计算机视觉功能。本站点提供了一系列的示例代码,帮助开发者更好地理解和使用OpenCVSharp进行项目开发。
示例内容包括:
- SamplesCore: C# (.NET Core / .NET Framework) 示例代码。
- SamplesVB: VB.NET 示例代码。
- SampleBase: 公共库代码。
- CameraOpenCV: UWP 示例代码。
这些示例涵盖了从基础到高级的多种使用场景,无论你是初学者还是有经验的开发者,都能从中获得有价值的参考和启示。
【实例截图】
【核心代码】
文件清单
└── opencvsharp_samples-a5e490ad89da4fe99cd9ba671d54c1ee4e3ac7a7
├── CameraOpenCV
│ ├── Algorithm.cs
│ ├── AlgorithmProperty.cs
│ ├── App.xaml
│ ├── App.xaml.cs
│ ├── Assets
│ │ ├── microsoft-sdk.png
│ │ ├── smalltile-sdk.png
│ │ ├── splash-sdk.png
│ │ ├── squaretile-sdk.png
│ │ ├── storelogo-sdk.png
│ │ ├── tile-sdk.png
│ │ └── windows-sdk.png
│ ├── CameraOpenCV.csproj
│ ├── FrameRenderer.cs
│ ├── MainPage.xaml
│ ├── MainPage.xaml.cs
│ ├── OcvOp.cs
│ ├── Package.appxmanifest
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ └── Default.rd.xml
│ ├── SampleConfiguration.cs
│ ├── Scenario1_ExampleOperations.xaml
│ ├── Scenario1_ExampleOperations.xaml.cs
│ ├── Scenario2_ImageOperations.xaml
│ ├── Scenario2_ImageOperations.xaml.cs
│ └── Styles
│ └── Styles.xaml
├── LICENSE
├── nuget.config
├── OpenCvSharpSamples.sln
├── OpenCvSharpSamples.sln.DotSettings
├── README.md
├── SampleBase
│ ├── Console
│ │ ├── ConsoleMessagePrinter.cs
│ │ ├── ConsoleTestBase.cs
│ │ └── ConsoleTestManager.cs
│ ├── Data
│ │ ├── Image
│ │ │ ├── 16bit.png
│ │ │ ├── aruco_markers_photo.jpg
│ │ │ ├── aruco_markers_source.jpg
│ │ │ ├── asahiyama.jpg
│ │ │ ├── Balloon.png
│ │ │ ├── binarization_sample.bmp
│ │ │ ├── box_in_scene.png
│ │ │ ├── box.png
│ │ │ ├── cake.bmp
│ │ │ ├── Calibration
│ │ │ │ ├── 00.JPG
│ │ │ │ ├── 01.JPG
│ │ │ │ ├── 02.JPG
│ │ │ │ ├── left01.jpg
│ │ │ │ ├── left02.jpg
│ │ │ │ ├── left03.jpg
│ │ │ │ ├── left04.jpg
│ │ │ │ ├── left05.jpg
│ │ │ │ ├── left06.jpg
│ │ │ │ ├── left07.jpg
│ │ │ │ ├── left08.jpg
│ │ │ │ ├── left09.jpg
│ │ │ │ ├── left10.jpg
│ │ │ │ ├── left11.jpg
│ │ │ │ ├── left12.jpg
│ │ │ │ ├── left13.jpg
│ │ │ │ ├── right01.jpg
│ │ │ │ ├── right02.jpg
│ │ │ │ ├── right03.jpg
│ │ │ │ ├── right04.jpg
│ │ │ │ ├── right05.jpg
│ │ │ │ ├── right06.jpg
│ │ │ │ ├── right07.jpg
│ │ │ │ ├── right08.jpg
│ │ │ │ ├── right09.jpg
│ │ │ │ ├── right10.jpg
│ │ │ │ ├── right11.jpg
│ │ │ │ ├── right12.jpg
│ │ │ │ └── right13.jpg
│ │ │ ├── cat.jpg
│ │ │ ├── fruits.jpg
│ │ │ ├── Girl.bmp
│ │ │ ├── goryokaku.jpg
│ │ │ ├── hand_p.jpg
│ │ │ ├── lenna511.png
│ │ │ ├── lenna.png
│ │ │ ├── maltese.jpg
│ │ │ ├── Mandrill.bmp
│ │ │ ├── match1.png
│ │ │ ├── match2.png
│ │ │ ├── penguin1b.png
│ │ │ ├── penguin1.png
│ │ │ ├── penguin2.png
│ │ │ ├── shapes.png
│ │ │ ├── space_shuttle.jpg
│ │ │ ├── Squares
│ │ │ │ ├── pic1.png
│ │ │ │ ├── pic2.png
│ │ │ │ ├── pic3.png
│ │ │ │ ├── pic4.png
│ │ │ │ ├── pic5.png
│ │ │ │ └── pic6.png
│ │ │ ├── tsukuba_left.png
│ │ │ ├── tsukuba_right.png
│ │ │ ├── very_old_newspaper.png
│ │ │ ├── walkman.jpg
│ │ │ └── yalta.jpg
│ │ ├── Model
│ │ │ └── FSRCNN_x4.pb
│ │ ├── Movie
│ │ │ ├── bach.mp4
│ │ │ └── hara.flv
│ │ └── Text
│ │ ├── agaricus-lepiota.data
│ │ ├── bvlc_googlenet.prototxt
│ │ ├── camera.xml
│ │ ├── cat.xml
│ │ ├── haarcascade_frontalface_alt.xml
│ │ ├── haarcascade_frontalface_default.xml
│ │ ├── lbpcascade_frontalface.xml
│ │ ├── letter-recognition.data
│ │ └── synset_words.txt
│ ├── Interfaces
│ │ ├── IMessagePrinter.cs
│ │ ├── ITestBase.cs
│ │ └── ITestManager.cs
│ ├── MyProcess.cs
│ ├── Path.cs
│ └── SampleBase.csproj
├── SamplesCore
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Samples
│ │ ├── ArucoSample.cs
│ │ ├── BgSubtractorMOG.cs
│ │ ├── BinarizerSample.cs
│ │ ├── BRISKSample.cs
│ │ ├── CaffeSample.cs
│ │ ├── CameraCaptureSample.cs
│ │ ├── ClaheSample.cs
│ │ ├── ConnectedComponentsSample.cs
│ │ ├── DFT.cs
│ │ ├── DnnSuperresSample.cs
│ │ ├── DrawBestMatch.cs
│ │ ├── FaceDetection.cs
│ │ ├── FaceDetectionDNN.cs
│ │ ├── FASTSample.cs
│ │ ├── FlannSample.cs
│ │ ├── FREAKSample.cs
│ │ ├── HandPose.cs
│ │ ├── HistSample.cs
│ │ ├── HOGSample.cs
│ │ ├── HoughLinesSample.cs
│ │ ├── InpaintSample.cs
│ │ ├── KAZESample2.cs
│ │ ├── KAZESample.cs
│ │ ├── MatOperations.cs
│ │ ├── MDS.cs
│ │ ├── MergeSplitSample.cs
│ │ ├── MorphologySample.cs
│ │ ├── MSERSample.cs
│ │ ├── NormalArrayOperations.cs
│ │ ├── OpenVinoFaceDetection.cs
│ │ ├── PerspectiveTransformSample.cs
│ │ ├── PhotoMethods.cs
│ │ ├── PixelAccess.cs
│ │ ├── Pose.cs
│ │ ├── SeamlessClone.cs
│ │ ├── SiftSurfSample.cs
│ │ ├── SimpleBlobDetectorSample.cs
│ │ ├── SolveEquation.cs
│ │ ├── StarDetectorSample.cs
│ │ ├── Stitching.cs
│ │ ├── Subdiv2DSample.cs
│ │ ├── SuperResolutionSample.cs
│ │ ├── SVMSample.cs
│ │ ├── VideoCaptureSample.cs
│ │ ├── VideoWriterSample.cs
│ │ └── WatershedSample.cs
│ └── SamplesCore.csproj
├── SamplesCore.Windows
│ ├── Data
│ │ └── Image
│ │ ├── box_in_scene.png
│ │ └── fruits.jpg
│ ├── FilePath.cs
│ ├── ISample.cs
│ ├── Program.cs
│ ├── Samples
│ │ ├── MatToWriteableBitmap.cs
│ │ └── WindowGUISample.cs
│ └── SamplesCore.Windows.csproj
├── SamplesLegacy
│ ├── App.config
│ ├── packages.config
│ ├── Program.cs
│ ├── Properties
│ │ └── AssemblyInfo.cs
│ ├── Samples
│ │ ├── ArucoSample.cs
│ │ ├── BgSubtractorMOG.cs
│ │ ├── BinarizerSample.cs
│ │ ├── BRISKSample.cs
│ │ ├── CaffeSample.cs
│ │ ├── CameraCaptureSample.cs
│ │ ├── ClaheSample.cs
│ │ ├── ConnectedComponentsSample.cs
│ │ ├── DFT.cs
│ │ ├── DnnSuperresSample.cs
│ │ ├── DrawBestMatch.cs
│ │ ├── FaceDetection.cs
│ │ ├── FaceDetectionDNN.cs
│ │ ├── FASTSample.cs
│ │ ├── FlannSample.cs
│ │ ├── FREAKSample.cs
│ │ ├── HandPose.cs
│ │ ├── HistSample.cs
│ │ ├── HOGSample.cs
│ │ ├── HoughLinesSample.cs
│ │ ├── InpaintSample.cs
│ │ ├── KAZESample2.cs
│ │ ├── KAZESample.cs
│ │ ├── MatOperations.cs
│ │ ├── MDS.cs
│ │ ├── MergeSplitSample.cs
│ │ ├── MorphologySample.cs
│ │ ├── MSERSample.cs
│ │ ├── NormalArrayOperations.cs
│ │ ├── OpenVinoFaceDetection.cs
│ │ ├── PerspectiveTransformSample.cs
│ │ ├── PhotoMethods.cs
│ │ ├── PixelAccess.cs
│ │ ├── Pose.cs
│ │ ├── SeamlessClone.cs
│ │ ├── SiftSurfSample.cs
│ │ ├── SimpleBlobDetectorSample.cs
│ │ ├── SolveEquation.cs
│ │ ├── StarDetectorSample.cs
│ │ ├── Stitching.cs
│ │ ├── Subdiv2DSample.cs
│ │ ├── SuperResolutionSample.cs
│ │ ├── SVMSample.cs
│ │ ├── VideoCaptureSample.cs
│ │ ├── VideoWriterSample.cs
│ │ └── WatershedSample.cs
│ └── SamplesLegacy.csproj
├── SamplesVB
│ ├── Program.vb
│ ├── Samples
│ │ ├── FASTSample.vb
│ │ ├── FlannSample.vb
│ │ ├── HOGSample.vb
│ │ ├── HoughLinesSample.vb
│ │ └── StarDetectorSample.vb
│ └── SamplesVB.vbproj
├── VideoCaptureForm
│ ├── App.config
│ ├── haarcascade_frontalface_default.xml
│ ├── packages.config
│ ├── Program.cs
│ ├── Properties
│ │ ├── AssemblyInfo.cs
│ │ ├── Resources.Designer.cs
│ │ ├── Resources.resx
│ │ ├── Settings.Designer.cs
│ │ └── Settings.settings
│ ├── VideoCaptureForm.cs
│ ├── VideoCaptureForm.csproj
│ ├── VideoCaptureForm.Designer.cs
│ └── VideoCaptureForm.resx
└── VideoCaptureWPF
├── App.xaml
├── App.xaml.cs
├── haarcascade_frontalface_default.xml
├── MainWindow.xaml
├── MainWindow.xaml.cs
└── VideoCaptureWPF.csproj
30 directories, 250 files
标签: OpenCVsharp opencv 实例代码 ENC pe
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论