I am trying to track a face using OpenCV‘s CamShift algorithm but the only samples I found were written in C++ or C.
How can I use the CamShift algorithm from OpenCV in C#?
Any C# example using camshift would be helpful.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
While I didn’t find any direct example there are some alternatives to directly using the C++ DLL from your C# application, as suggested by Eric J.
There’s a C# wrapper for openCV, which looks quite active: http://www.emgu.com/wiki/index.php/Main_Page
I also found another wrapper with samples: http://codeproject.com/KB/cs/Intel_OpenCV.aspx
It should be quite easy to port an existing C++ sample to C# by using these wrappers.