computervisionados!
we’re starting to collect the fruits of our hard efforts of making it easy to use thirdparty libraries. please give a warm welcome to VL.OpenCV
What the?
remember the amazing ImagePackbeta-contribution initiated by @elliotwoods years ago? VL.OpenCV is essentially the same, only for vl: a collection of nodes for computer-vision tasks based on the industry standard library OpenCV.
OpenCV is a vast library with an endless number of interesting features. elliot back in the days did a great job in hand-picking some of the most interesting ones and wrapping them into easy to use nodes for evvvveryone.
meanwhile OpenCV has progressed and so we thought we’d give it a try and make it accessible for everyone in vl. watch this first episode of vvvvTv where ravazquezuser who has been working on this for the past 2.5 months, explains how you can use the prerelease package today.
Status
if we haven’t missed anything, most of the functionality you know from the ImagePack should already be available, except some special video input devices, StructuredLight and FeatureDetection stuff but on the other hand already much more:
so we have:
- sources: ImageFile, VideoFile, VideoIn (Directshow)
- sinks: ImageFile, VideoFile
- filters: Blur, EdgeDetection, Average, FrameDifference…
- different background substraction options
- optical flow
- camera/projector calibration
- trackers: contours, face recognizer, houghlines, object detection (via haarcascades), different 2d tracker options
- ar marker tracking and pose estimation
- utils: Info, CountNonZero, FindNonZero, Resize, Crop, Insert, Split, Merge, Delaunay, Voronoi,…
and most of the nodes and pins come with documentation in the tooltips!
Threading
as opposed to the ImagePack, this library is completely free of the complexities of threading. instead a user can use the threading regions of vl to define their own threading. while this indeed puts a bit more effort on the user we hope that the flexibility in dealing with their own threading outweighs the cons of this.
Next
the library is open for everyone to contribute. since it is mostly done in pure vl, with hardly any c# written, it is quite accessible for everyone to extend. so please do so and best join us in the chat to discuss matters when they arise.
Comments:
Comments are no longer accepted for this post.
I’m trying to run the alpha version but another error show up
I’ve tried with the last 4 releases.
:(
glad you like it…
@ggml not sure if dedicated devices have to do anything with performance necessarily, more with features not supported by directshow. so here is one eg https://github.com/vvvv/VL.Devices.uEye others should be as simple to do.
From the Matrix for adding other fucntions
So the basic idea is that we are using this C# opencv wrapper called OpenCVSharp in the end for us to be able to use an opencv function it need to be supported by the wrapper K you can go to their website and check, but the easiest way would be to (in VL) open any of the currently available VL.OpenCV nodes, and once you are inside the VL.OpenCV document, just double click and type the name of the function you want to add, if it shows up you are already on the right track, if its not, it is probably not supported by the wrapper
if it does show up, then you can have a look at similar nodes we already added, and have a look at how we did it. In most cases its very straightforward (like the MinMaxLoc), some cases require a bit more work, but with that you should be able to explore already, and of course we are here to help with any questions/problems you might find
Hello , I’m trying to install the library but when launch the command nuget install VL.OpenCV -prerelease ( like the Git readme) makes this error:
The process cannot access the file ‘\vvvv_50beta38.1_x64\lib\packs\SharpDX.Mathematics.4.0.1\lib/net45/SharpDX.Mathematics.dll’ because it is being used by another process.