Integrating MFC C++, Matrox lib and OpenCV

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hhx83
    New Member
    • Feb 2007
    • 3

    Integrating MFC C++, Matrox lib and OpenCV

    I'm trying to develop a MFC C++ app. How do you grab frames using Matrox ActiveMIL-lite library, and display using OpenCV where I can then use the image to do face detection?

    Hope someone can adivse me on that~
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    WHy MFC and not C# for a GUI application??

    MFC is terribly obsolete and is lousy on the Internet.

    Comment

    • hhx83
      New Member
      • Feb 2007
      • 3

      #3
      Originally posted by weaknessforcats
      WHy MFC and not C# for a GUI application??

      MFC is terribly obsolete and is lousy on the Internet.
      Because the face detection functions for OpenCV only comes in C/C++. And since MFC at least allow me to create some UI rather nothing using Win32 Console. Moreover, I need to use Matrox ActiveMil libraries which is again only available in C++. Don't look like I have a choice do I? Unless someone can teach me how to actually wrapped things up and code in C#.

      Any ideas anyone?

      Comment

      • Banfa
        Recognized Expert Expert
        • Feb 2006
        • 9067

        #4
        You could use C++/CLR, that is basically the .NET variety of C++. You write most of you application as a .NET managed application in C++ but you would be able to call out to the non-managed code in the libraries you need to use.

        I have just started using it and I have to say I quite like it.

        Comment

        • udiday
          New Member
          • Apr 2008
          • 1

          #5
          Originally posted by hhx83
          I'm trying to develop a MFC C++ app. How do you grab frames using Matrox ActiveMIL-lite library, and display using OpenCV where I can then use the image to do face detection?

          Hope someone can adivse me on that~
          Hi, i'm trying to do the same , and dont know houe to convert the image taken from activeMil-lite to IPLIMAGE , can you supply with some code / clue ?
          thanks
          --udi

          Comment

          Working...