09-11-2008 12:59 PM
OpenCV is an Open Source computer vision library released by intel. It is very handy for face reconition. There is a third party group called HyTek automation that created a commercial LV OpenCV wrapper called IVision, nice by if you just want to use a few of the features it would be nice to see some examples to help those of us simply expirimenting. To that end there was a guy on the code project site that created a free OpenCV DLL wrapper that seems to have made all the constructors public inside the DLL so LV should be able to access them. Here is the link
to the code project page:
http://www.codeproject.com/KB/cs/Intel_OpenCV.aspx
Here is the link to the Google OpenCV Page
http://code.google.com/p/opencvdotnet/
Here is the link to the OpenCV WIKI Page
http://opencvlibrary.sourceforge.net/FaceDetection
Here is a link to some OpenCV Programming Referance Info
http://www.cs.iit.edu/~agam/cs512/lect-notes/opencv-intro/index.html
Here is the OpenCV Yahoo Page, Includes Emgu (another wrapper, not all public constructors, so LV may not be able to use Emgu DLL)
http://tech.groups.yahoo.com/group/OpenCV/
I was hoping someone could help by creating an example that shows a facal reconiton and possibly showing how to pull that area out to allow it to be saved as a seperate file. I have been expirimenting with it but am unsure if all the flags and memory need to be setup as shown on the WIKI link.
Also wanted to point folks to the Treemap DLL example, this is free microsft control that is really neat for interperating data at a glance
http://forums.ni.com/ni/search?board_id=170&submitted=true&q=treemap
Best Regards
Tim C.
09-11-2008 01:18 PM
The Wiki page refers to an example that's in C, not .NET, so none of the stuff on that page is relevant. The CodeProject page is one wrapper. This is different from the OpenCVDotNet wrapper, which appears to be a different wrapper alltogether. Both wrappers are using their own API, so there not a one-to-one correspondence to the OpenCV library's API. The Emgu library, as I pointed out before, uses generics, which LabVIEW doesn't handle. I don't think the situation has changed with 8.6, but I'm not sure.
That said, which library are you trying to use? The CodeProject page has a full example on there. The OpenCVDotNet site has a tutorial on using its library.
09-11-2008 01:43 PM
I was hoping to use the code project wrapper as that DLL appears to be setup to allow LV access to all the OpenCV functions.
Best regards
Tim C.
09-11-2008 03:02 PM
09-15-2008 02:10 PM
This reply refers to the C# example on the Code Project site
http://www.codeproject.com/KB/cs/Intel_OpenCV.aspx
I have been trying to load the image and the HarrClassifier but have been stumbling,
I have attached an example of what I have been trying.....
I do not see an example of face detection in the C# example, but the Emgu has an example. I know they are not the same DLL but I was simply trying to see the order in which things have to happen.
Once I find the method or property I need I seem to have trouble getting it to interface with the next method....
09-16-2008 10:40 AM
10-13-2008 06:30 PM
There is example for available for face detection (The BigSample application) for the Codeproject page.
I must know it. I did write. Sorry if it not fit your needs.
Regards H.
09-09-2009 05:34 PM
09-10-2009 02:35 AM - edited 09-10-2009 02:35 AM
If this is for the sake of learning to do this kind of stuff, then I do not want to discourage you here.
But if it is about getting Vision analysis to work, the IMAQ Vision library is a better way to go about this, and if you insist on using OpenCV as core library and do not want to spend as much money, the IVision library is another possibility. They both ain't free but you do get good value for what you pay for, especially with the IVision library.
Rolf Kalbermatter
09-10-2009 02:49 AM
@Rolf Kalbermatter
I'm trying to learn how to import c++ codes using libraries other than native VS libraries..Please can u see CPP file since function takes input of CvArr n CvRect can u suggest me how to pass these parameter from labview..