Ask Your Question
0

OpenCV using Visual C++ Windows Form Application

asked 2015-07-01 20:17:56 -0600

Alfonsus Dhani gravatar image

updated 2015-07-02 04:18:18 -0600

pklab gravatar image

Hi ! I wanna program openCV using C++ Windows Form Application. I found a bit differences between syntax in C++ Console and C++ Windows Form. Anyone can me some reference so I can learn to program using openCV in Windows Form Application ?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-07-02 02:17:07 -0600

pklab gravatar image

OpenCV is pure standard C++.

Windows Forms is for creating Microsoft Windows applications on the .NET Framework.

=>You should search here for questions on .NET or C# ...there are many topics.

Basically you could check some unofficial OpenCV wrapper for .NET like Emgu CV (GPL or Commercial Licence), theirs Code Gallery and or some example like this

edit flag offensive delete link more

Comments

1

Actually that is not quite true... you can make a windows form application that runs on C++ instead of C# and make use of the OpenCV standard lib... check this, this and this.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-07-02 02:25:57 -0600 )edit
1

Good to know. In my opinion, it doesn't looks a good way to start a project using mix managed and unmanaged code. It should be a good reason to do this and a good plan to maintain the project along time. Anyway you can find a tons pro and cons on the Net.

pklab gravatar imagepklab ( 2015-07-02 02:49:00 -0600 )edit

Thats the largest downside indeed. Manageability is a pittfall of this approach. It works for small projects quite well, but once it gets big, I suggest moving on to another GUI interface that works better with C++.

StevenPuttemans gravatar imageStevenPuttemans ( 2015-07-02 03:13:53 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2015-07-01 20:17:56 -0600

Seen: 3,710 times

Last updated: Jul 02 '15