ࡱ> BEA  bjbj .0p"gp"g L)]v$)))))))+.) ]]  ))??? )? )??rm&'𣯤y:'s))0)+'0/:0/''&0/'  ?     ))*   )    0/         X R: C/C++ programming with Visual Studio 2017 and OpenCV 3.2.0 Preparation of the computer Download Visual Studio 2017 Community (be sure to install the necessary workloads and components, e.g. with this command: vs_community.exe --passive --norestart --wait --addProductLang en-US --includeRecommended --add Microsoft.VisualStudio.Component.CoreEditor --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.ComponentGroup.NativeDesktop.WinXP --add Microsoft.VisualStudio.Component.WinXP --add Microsoft.VisualStudio.Component.VC.Tools.x86.x64 --add Microsoft.VisualStudio.Workload.NativeCrossPlat --add Microsoft.VisualStudio.Component.VC.ATLMFC --add Microsoft.VisualStudio.Component.VC.CLI.Support --add Microsoft.VisualStudio.Component.VC.Modules.x86.x64 --add Microsoft.VisualStudio.Workload.Python --remove Microsoft.Component.CookiecutterTools --remove Microsoft.Component.PythonTools.Web --remove Component.CPython3.x64 --add Microsoft.VisualStudio.Component.Graphics --add Component.GitHub.VisualStudio --add Microsoft.VisualStudio.Component.JavaScript.Diagnostics --add Microsoft.VisualStudio.Component.JavaScript.TypeScript --add Microsoft.VisualStudio.Component.TestTools.Core --add Component.Linux.CMake, note also that the first release of Visual Studio 2017 does not have Python support, check also the required prerequisites) and  HYPERLINK "http://www.ensta-bretagne.fr/lebars/Share/OpenCV3.2.0.zip" http://www.ensta-bretagne.fr/lebars/Share/OpenCV3.2.0.zip (contains OpenCV built for Visual Studio 2015, 2017, 2019, MinGW Qt 2010.05, 5.11.0, 5.12.6, etc., for a lighter download try  HYPERLINK "http://www.ensta-bretagne.fr/lebars/Share/OpenCV3.2.0_mini.zip" http://www.ensta-bretagne.fr/lebars/Share/OpenCV3.2.0_mini.zip ), install Visual Studio with Desktop development with C++ Workload and extract OpenCV3.2.0.zip in C:\ (check that the extraction did not create an additional parent folder (we need to get only C:\OpenCV3.2.0\ instead of C:\OpenCV3.2.0\OpenCV3.2.0\), run as administrator if needed). In Windows Explorer, right-click on Computer, choose Properties. In the System window, click on Advanced system parameters. If you do not have administrative rights, on Windows 10 you can press the Windows button, type path, and choose Edit the system environment variables for your account in the search results to directly access the Environment variables window. In the System Properties windows, click on Environment variables. In the Environment variables window, double-click on the PATH variable and add in the end of the Value part (without deleting its initial content and add the semi-colons!) ;C:\OpenCV3.2.0\x86\vc15\bin; Restart. If needed, see  HYPERLINK "http://www.ensta-bretagne.fr/lebars/tutorials/screenshots_vs2015_cv249_win10.pdf" http://www.ensta-bretagne.fr/lebars/tutorials/screenshots_vs2015_cv249_win10.pdf and  HYPERLINK "http://www.ensta-bretagne.fr/lebars/tutorials/Complements_C-C++.pdf" http://www.ensta-bretagne.fr/lebars/tutorials/Complements_C-C++.pdf for more information. Tricks/common problems OpenCV Depending on the functions you need, check all the libraries opencv_XXX.lib you need to add to the project settings. Do not call cvReleaseImage()/cv::Mat::release() on an IplImage/cv::Mat returned by cvQueryFrame()/cv::VideoCapture::read(). Be careful to check the type and dimensions of an image returned by cvQueryFrame()/cv::VideoCapture::read(), they might be unusual depending on the characteristics of the camera. Always use cvWaitKey()/cv::waitKey() somewhere after cvShowImage()/cv::imshow() to display an IplImage/cv::Mat in a window, otherwise the image might not be displayed. Although several samples use the C API, most of the new functionalities of OpenCV are now in its C++ API. Version 4 is C++11-only. See also  HYPERLINK "https://www.ensta-bretagne.fr/lebars/tutorials/Complements_C-C++.pdf" https://www.ensta-bretagne.fr/lebars/tutorials/Complements_C-C++.pdf . Test  HYPERLINK "http://www.ensta-bretagne.fr/lebars/Share/ImageOpenCV320_vs2017.zip" http://www.ensta-bretagne.fr/lebars/Share/ImageOpenCV320_vs2017.zip  HYPERLINK "http://www.ensta-bretagne.fr/lebars/Share/VideoWebcamOpenCV320_vs2017.zip" http://www.ensta-bretagne.fr/lebars/Share/VideoWebcamOpenCV320_vs2017.zip ()*-45:;<>?HVWXYb~  ҥ|plaUaJ?hq=hq=mH sH hphpmH sH h Qh.5mH sH h Qh.mH sH hLhLhE5CJ$aJ$hLhL5CJ$aJ$h%}5CJ$aJ$h( 5CJ$aJ$h%}hgmH sH h%}hg5CJ,aJ,mH sH h%}h*5CJ,aJ,mH sH h%}5CJ,aJ,mH sH h(c5CJ,aJ,mH sH h%}h%}5CJ,aJ,mH sH h%}hz5CJ,aJ,mH sH ;<XY;|12PQB  & Fgd>/gd>/gdp & Fgd5!^ & Fgd/z & Fgd#bi & Fgd8"x & Fgd9vgdg$a$gdL     b c d u Ĺ{ppd\\\p\\dh(mH sH jh(UmH sH h(h(mH sH h(cmH sH h(ch(c0J5mH sH h(ch(c5mH sH  jh(ch(c5UmH sH h%}h%}mH sH h%}hEmH sH hH#h(cmH sH hmH sH homH sH h\}vhmH sH h/hmH sH hphpmH sH  $)7=bflnouzɾxlaɄYh%}mH sH h%}hQ mH sH h%}hz5mH sH h%}hE5mH sH h(cmH sH h%}hEfmH sH h%}hEmH sH h%}h( mH sH hd5mH sH hdmH sH h%}h%}mH sH h%}hzmH sH h(h(mH sH h(mH sH jh(UmH sH hdHh(0JmH sH " $89:;>ENP^_fgioptyz{|$'(]`Ĺhe\h8"x5mH sH h8"x\mH sH hHh8"x5mH sH hHh8"xmH sH h%}hEmH sH h%}mH sH h%}hU$mH sH h%}h( mH sH h(cmH sH h%}hVmH sH h%}hzmH sH 7#$()ABKLOPQRVXw|}ɽԲԲɚɉɉ~h%}hO_LmH sH h%}mH sH h%}5mH sH h%}hGR5mH sH h%}hE5mH sH h%}hEmH sH h%}h%}5mH sH h%}hGRmH sH h%}h%}mH sH hHh8"xmH sH h8"x\mH sH hHh8"x5mH sH 0$&'(,-w}~ƾshs[h&hp0JmH sH hphpmH sH jhpUmH sH hpmH sH hehZ0JmH sH hZmH sH jhZUmH sH hZhZmH sH h5!^h5!^mH sH hhh%}hH!ph%}hEmH sH h%}hE5mH sH hQ 5mH sH h(c5mH sH h%}h#bi5mH sH #$128HIOPQ $.@AB$).DSc )ɹh,mH sH h,h,mH sH h>/5mH sH h>/mH sH hp5CJ$aJ$mH sH h0Php5CJ$aJ$mH sH hhpmH sH hZh0 mH sH hpmH sH jhpUmH sH h&hp0JmH sH 3)*+0256=Rz{|}02=bcdefr  븭h)h.0JmH sH h.h.mH sH h.mH sH jh.UmH sH h6h;umH sH h6hj5CJ$aJ$mH sH h95rh>/mH sH hOh>/0JmH sH h;3 h>/mH sH h>/mH sH jh>/UmH sH 2e  gd;ugdj  h6h;umH sH ,1h. A!"#$% x2 0@P`p2( 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p 0@P`p8XV~ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@ 0@66666_HmH nH sH tH @`@ @}NormalCJ_HaJmH sH tH DA D Default Paragraph FontRiR  Table Normal4 l4a (k (No List 6U`6   Hyperlink >*B*ph<s!< vVn0MentionB*ph+Wq Rv!R (0Unresolved MentionB*ph`^\q PK![Content_Types].xmlN0EH-J@%ǎǢ|ș$زULTB l,3;rØJB+$G]7O٭Vj\{cp/IDg6wZ0s=Dĵw %;r,qlEآyDQ"Q,=c8B,!gxMD&铁M./SAe^QשF½|SˌDإbj|E7C<bʼNpr8fnߧFrI.{1fVԅ$21(t}kJV1/ ÚQL×07#]fVIhcMZ6/Hߏ bW`Gv Ts'BCt!LQ#JxݴyJ] C:= ċ(tRQ;^e1/-/A_Y)^6(p[_&N}njzb\->;nVb*.7p]M|MMM# ud9c47=iV7̪~㦓ødfÕ 5j z'^9J{rJЃ3Ax| FU9…i3Q/B)LʾRPx)04N O'> agYeHj*kblC=hPW!alfpX OAXl:XVZbr Zy4Sw3?WӊhPxzSq]y 0 )     , }  )|be XXXXXXX8@0(  B S  ? _Hlk516171064 _Hlk481677104 _Hlk531639252 _Hlk531639131bQ  d  <G,3^e4s Jpz#@G~    % , 8  *5<BS[   3333<Y 2 P   ()5:Y 7buz ; O P Q Q R V X | }  P de  ]t04rl3v{5F2lM N,w  -oU">/&c1"7]p79C9q=4?EeHO_L"5N O`QGRV5!^#bi$mivVn/inAopH!p^r;u=u8"xk7|@}j6U$H#n=}L9v(ZeV3eMX/z ( ia{##nph',g*PzX^D dz(cpUp+7jEf.X9J%}  @ @UnknownG.[x Times New Roman5Symbol3. .[x ArialC.,.{$ Calibri Light7..{$ Calibri?= .Cx Courier New;WingdingsA$BCambria Math"qf G@@\ll!24 3QHX?g2!xx* :C/C++ programming with Visual Studio 2017 and OpenCV 3.2.011 1    Oh+'0 , L X d p|<C/C++ programming with Visual Studio 2017 and OpenCV 3.2.01 Normal.dotm1 192Microsoft Office Word@4]@y@dg=@yl ՜.+,D՜.+,< hp|    ;C/C++ programming with Visual Studio 2017 and OpenCV 3.2.0 TitleTitre 8@ _PID_HLINKSA8*7NJhttp://www.ensta-bretagne.fr/lebars/Share/VideoWebcamOpenCV320_vs2017.zipL<Dhttp://www.ensta-bretagne.fr/lebars/Share/ImageOpenCV320_vs2017.zipx  Ehttps://www.ensta-bretagne.fr/lebars/tutorials/Complements_C-C++.pdft Dhttp://www.ensta-bretagne.fr/lebars/tutorials/Complements_C-C++.pdfaQhttp://www.ensta-bretagne.fr/lebars/tutorials/screenshots_vs2015_cv249_win10.pdf6S?http://www.ensta-bretagne.fr/lebars/Share/OpenCV3.2.0_mini.zipA:http://www.ensta-bretagne.fr/lebars/Share/OpenCV3.2.0.zip  !"#$%&'()*+,-./02345678:;<=>?@CDGRoot Entry FPyF@1TableL/WordDocument .0SummaryInformation(1DocumentSummaryInformation89MsoDataStoreP;y𣯤yJV40EZLQQJOA==2P;y𣯤yItem 2PropertiesUCompObj r   F Microsoft Word 97-2003 Document MSWordDocWord.Document.89q