shimat

Results 28 comments of shimat

I too have always felt this issue. I am fed up with the uncontrolled addition of new features to OpenCV 🤔 The current way of distributing statically-linked library (OpenCvSharpExtern.dll/.so) makes...

`Size.Zero` was introduced a long time ago to be compatible with [`System.Drawing.Size.Empty`](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.size.empty?view=net-7.0), since there was no `default(T)` in C# 1.0. But now I think `default` can satisfy all our needs....

Please try the following code: ```c# using var fs = new FileStorage(yaml_string, FileStorage.Modes.Read | FileStorage.Modes.Memory); using var node = fs.GetFirstTopLevelNode(); using var cascade = new CascadeClassifier(); bool ret = cascade.Read(node);...

`Mat.ConvertTo` http://shimat.github.io/opencvsharp/api/OpenCvSharp.Mat.html#OpenCvSharp_Mat_ConvertTo_OpenCvSharp_OutputArray_OpenCvSharp_MatType_System_Double_System_Double_

https://github.com/shimat/opencvsharp/blob/bfd350fbb6219673d65bdc4c31a27ab035e6135d/.github/workflows/wasm.yml#L123 Unfortunately, in OpenCvSharp for wasm, the encoders/decoders for JPEG, PNG, and TIFF are disabled because linking with libpng, libtiff, etc. was not successful.

I am developing opencvsharp5, an experimental project to rebuild OpenCvSharp for .NET 7, but even there, support for image libraries such as libpng and libtiff in wasm is failing. The...

If GitHub-hosted macOS runners with Apple M2 are supported in GitHub Actions it will be possible... https://github.com/github/roadmap/issues/528

Below is the GitHub Actions workflow definition that was once used to build OpenCvSharp4.runtime.osx. Sorry, but due to my limited spare capacity, I have discontinued support for this. https://github.com/shimat/opencvsharp/blob/master/.github/workflows/macos10.yml.disabled

You should first consider using Cv2.Split(), but you may find the following page helpful for other methods: https://stackoverflow.com/questions/21619609/split-channels-from-rgb-array-in-c-without-opencv

Thank you, I understand. I still think GreaterThan when NaN is in the argument is misleading behavior, but I understand the reason and this issue can be closed.