Comments (3)
In your code example, I think the way you created the OutputArray is incorrect. Could you try the following code?
using var src = Cv2.ImRead("myfile.bmp", ImreadModes.Grayscale);
using var dst = new Mat();
Cv2.CornerMinEigenVal(src, dst, 2, 5, BorderTypes.Default);
from opencvsharp.
Thanks, that does seem to resolve it. It appears there are 2 lessons for me: 1 - I was doing it wrong, 2 - OutputArray.Create() actually returns a reference and not a copy. Thank you for your help!
from opencvsharp.
Adding a comment to close the issue. The issue was my fault, not a bug.
from opencvsharp.
Related Issues (20)
- ubuntu22, net6.0 use OpenCvSharp4 throw exception: Unable to load shared library 'OpenCvSharpExtern' or one of its dependencies. HOT 9
- VideoCapture opens wrong camera
- PNG Images isn't working for osx arm HOT 2
- RaspberryPi 4b. Unable to load shared library 'OpenCvSharpExtern' or one of its dependencies HOT 1
- NuGet package name for Ubuntu contains a typo(?) HOT 1
- where is `cv2.createBackgroundSubtractorMOG2()` function? HOT 1
- [Error]System.DllNotFoundException
- 'Could not load type 'OpenCvSharp.VideoCapture' from assembly 'OpenCVSharp'
- How to reflect changes in the opencvsharp on opencv_files?
- InputArray.Create() for Point3d HOT 1
- Whether there are plans to implement open3D
- MatchTemplate results are inconsistent or incorrect HOT 1
- OpenCV Wrapper Bug: Zero Frame Rate and Count with Special Characters in Filename
- Does an LMSolver equivalent exist in OpenCvSharp?
- Need Help for Warpping and Deskewing
- Parameters for EstimateTransform(IEnumerable<Mat> images, Rect[][] rois)
- Upgrade to OpenCV 4.9 HOT 2
- Size.Zero deleted in 4.9 causing code breaking HOT 1
- Cv2.MinMaxLoc causes Memory leak HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from opencvsharp.