Type the above code (it is code for opening web camera of your PC).NamedWindow("Webcam Running", WINDOW_AUTOSIZE) Exit Project Properties by clicking OK.The file name will be similar to opencv_world341d.lib. Then, click Apply. Go to linker > Input and enter the name of the library file that ends with ‘d’ in front of Additional Dependencies.The path will look similar to C:\opencv\build\圆4\vc14\lib. Go to the linker > General and paste the path to a folder containing OpenCV lib files in front of Additional Library Directories. The path will be similar to C:\opencv\build\include. Under C/C++ > General section paste path of include folder of OpenCV in front of Additional Include Directories.Now, click on Debug and go to the properties of your project.I am using the ‘圆4’ version hence, I have selected 圆4 as the debug environment. Select the debug environment as per your PC specifications.Step 4: Create a new empty console application Now we will see how to create and execute projects in Visual Studio.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |