Difference between revisions of "CSharp OpenCV"

From Ilianko
Line 7: Line 7:
 
*File->New Project->Windows Forms Application->OK
 
*File->New Project->Windows Forms Application->OK
 
*References->Add Reference->.Net->WindowsBase->OK
 
*References->Add Reference->.Net->WindowsBase->OK
*References->Add Reference->Browse->C:/EMGU->emgu...->bin->x86->Emgu.CV.dll,Emgu.CV.UI.dll, Emgu.Utils.dll
+
*References->Add Reference->Browse->C:/EMGU->emgu...->bin->Emgu.CV.dll,Emgu.CV.UI.dll, Emgu.Utils.dll
 
*WindowsFormsApplication1->Add->Existing Item->C:/EMGU->emgu...->bin->x86->Object of type - exe, dll, ocx) -> избират се всички
 
*WindowsFormsApplication1->Add->Existing Item->C:/EMGU->emgu...->bin->x86->Object of type - exe, dll, ocx) -> избират се всички
 
*WindowsFormsApplication1->Add->Existing Item->Desktop->Object of type - exe, dll, ocx)->nvcuda.dll
 
*WindowsFormsApplication1->Add->Existing Item->Desktop->Object of type - exe, dll, ocx)->nvcuda.dll

Revision as of 21:38, 9 February 2014

1. Конфигуриране на OpenCV със C#.

  • Инсталиране на EMGU wrapper
  • Инсталиране MSVCRT 9.0 SP1 x86

2. Създаване на проект в C# и добавяне на необходимите библиотеки

  • Start->All Programs->MS VS2010 Express -> MS VS2010 Express
  • File->New Project->Windows Forms Application->OK
  • References->Add Reference->.Net->WindowsBase->OK
  • References->Add Reference->Browse->C:/EMGU->emgu...->bin->Emgu.CV.dll,Emgu.CV.UI.dll, Emgu.Utils.dll
  • WindowsFormsApplication1->Add->Existing Item->C:/EMGU->emgu...->bin->x86->Object of type - exe, dll, ocx) -> избират се всички
  • WindowsFormsApplication1->Add->Existing Item->Desktop->Object of type - exe, dll, ocx)->nvcuda.dll