Machine Vision Project Foundation framework

Source: Internet
Author: User
Tags response code

Machine Vision Project Foundation Framework I. Background ? Although OpenCV can be run under multiple platforms and can be called by a variety of programs in the form of a packet (DLL), the use of OpenCV and MFC programs under the Windows platform is the most common and most powerful. The foundation of the MFC+OPENCV framework is built here, which lays the foundation for machine Vision design. In the process of implementation, there are many choices are due to their own preferences and habits, please dialectical analysis. second, the MFC part of the specific design implementation1) Create MFC dialog Box Program            2) Add and Design menu, hang on main form   3) Add tab and write content, create corresponding member variable, add related content in InitDialogCreate a new dialog resource,style is child,border for none, appropriate size. Double-click the form to create the corresponding class and add them to the class and InitDialog. and write the trigger response codethird, the combination of OpenCV         this concludes with an MFC framework with menus and tabs, which is handy for machine vision. The next thing to do is how the MFC program and OPENCV common use. It is recommended to refer to Ushchi's information on its website. Iv. Summarythis opportunity MFC, and Add menu and tab of the program template, is more convenient for the machine vision programming. The design of MFC program is relatively cumbersome, but if we need to get real-time image in the design, more direct and convenient method or Opencv+mfc method, if can take offline picture, can choose the method of CSHARP+OPENCV packet, The latter method is more complex to debug. I think it is very valuable to build such a framework and integrate common algorithms into the rapid development and use of projects. Thanks for reading, code here.


Http://pan.baidu.com/s/1eQISUbg



Machine Vision Project Foundation framework

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.