shimat / opencvsharp

OpenCV wrapper for .NET
Apache License 2.0
5.22k stars 1.13k forks source link

some obvious submat mistakes #1667

Closed bitsun closed 1 month ago

bitsun commented 1 month ago

Hi opencvsharp team

First of all, thank you for your great work. We are considering using opencvsharp in our company project and I started to play with opencvsharp a few days ago. I am impressed by your work.

Yesterday I found some obvious mistakes in the test code.

btw, how can i contribute to opencvsharp. I am an experienced CV software engineer for many years. I even have some opencv C# wrapper in my company projects,but we just wrapped a few functions that are actually used.
I have been working on tracking issues lately and found that lightweight NanoTracker VitTracker are not wrapped by opencvsharp, i have already done some work in my local branch and it seems to work.

Another proposal from me is that: is building the opencvsharp with more option flags on the roadmap, for example, in my case i do not need so many opencv_contrib libraries, i would like to have some opencv wrapper around the core modules only.

best regards Bin Liu

DragonFlyEast commented 1 month ago

@bitsun you can try OpenCvSharpSlim, it just includs several moudles and is very small.

shimat commented 1 month ago

Thank you for fixing the test codes.

how can i contribute to opencvsharp

There are many OpenCV features that OpenCvSharp does not wrap. Contributions like adding wrappers are welcome!

Another proposal from me is that: is building the opencvsharp with more option flags on the roadmap, for example, in my case i do not need so many opencv_ contrib libraries, i would like to have some opencv wrapper around the core modules only.

This is a big issue for me as well. However, I am finding it difficult to address this issue by simply devising a way to distribute NuGet packages. As for using Docker, a good prototype has been mentioned: https://github.com/shimat/opencvsharp/issues/1592