3. Download OpenCV (According to your version)3. Download OpenCV
4. Install CMake (1)4. Install CMake (2)
5. unzip opencv and opencv_contrib (1)5. Create directory, any name (2)5. Move unziped files to created dicrectory (3)
6. Excute CMake on administrator rights (1)6. Select [Browse Source] (2)6. Select unzipped OpenCV dicrectory (3)6. Confirm source path, and write build path (any name) (4)6. Click [Configure] and if don't create build directory click [Yes] (5)6. Select on your Visual Studio version and click [Finish] (6)6. If check this message, completely done (7)
7. Search "extra" and click path butten (1)7. Select unzipped contrib's modules directory (2)7. Search "test" and checkout two options (3)7. Search "nonfree" and check option (4)
7. Search "build" and checkout this options for build speed (5)
7. Search "with" and checkout this options for build speed (6)
8. Click [Configure]
9. if done, search "world" and check this option, after than click [Configure]
10. Click [Generate] (1)10. Open this file on build path<6(4)>
11. Select "Debug" and right click "INSTALL" file, after than click "build" (1)11. Check success massage only (2)11. Change "Debug" to "Release" and Repeat the same process
12. Enter this path and then, Move or Copy include and x64 directory to your OpenCV directory