How to set up OpenCV - C++ library on Windows | VSCode

preview_player
Показать описание
In this video, I show how to set up OpenCV - C++ library on Windows. This video helps you if you want to start a Computer-Vision journey with OpenCV in C++ programming language.

This video is the basis of my future videos about Computer-Vision projects.
Рекомендации по теме
Комментарии
Автор

spent 12 hours trying to do what wou explained in 5 minutes, i genuinely love you

cyproxtten
Автор

Literally spent hours trying to do what you just did... you just gained a follower.

yannseanofficial
Автор

Can you run OpenCv with c++17? I've only found tutorials using an x86 build

Thebromonster
Автор

FINALLY SOMEONE WHO DOES NOT WASTE 50 MINUTES OF MY STUPID LIFE ❤

Ht-
Автор

When I run file face_train.py, i have an error that "Unknown C++ exception from OpenCV code", how can I fix it???

miathresh
Автор

fatal error: opencv2/opencv.hpp: No such file or directory

apoorvsharma
Автор

Great video, helped me troubleshoot problems.

gutoguto
Автор

thank you for your teaching, i have a question, if i have no visual studio on my pc, this method seems useless.But we use vs during this teaching, why not set up opencv c++ on vs directly?

yyu
Автор

how to add its extra modules using vs code only? i am stuck at this

bibekjoshivlogs
Автор

what command does he type at 4:25 which gets the output

AyushSingh-fuyp
Автор

not working for me showing error in CMakelist.txt "find_package(OpenCVConfig REQUIRED)"

lahoribot
Автор

I have an error. Thanks u alots
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOTFOUND

cuocsongmuonmau
Автор

It is not working, its show " code can't be support".

dakshtyagi
Автор

system variables has to be changed instead of user variables

suryavaraprasadalla
Автор

Cmake file throws error at find_package

Phantom-eloe
Автор

ERRORS: this declaration has no storage class or type specifier, identifier "VERSION" is undefined, expected a ")", expected a ";".
Code:
3.10)

project(medirdistancia)

set(OpenCV_DIR C:/opencv/build)
find_package(OpenCV REQUIRED)

SRC/main.cpp)

${OpenCV_LIBS})

NobodyScripts
Автор

hwlp me
* Executing task: C:\MinGW\bin\g++.exe Main.cpp -o -Wall -Wextra -g3

Main.cpp:2:30: fatal error: opencv2/opencv.hpp: No such file or directory
#include <opencv2/opencv.hpp>
^
compilation terminated.

* The terminal process "C:\MinGW\bin\g++.exe 'Main.cpp', '-o', 'c:\Users\cortx\Downloads\obj\src\output\Main.exe', '-Wall', '-Wextra', '-g3'" terminated with exit code: 1.
* Terminal will be reused by tasks, press any key to close it.
why????

nguyengiorno