How to Setup OpenCV for C++ on Visual Studio Code (MacOS)

Опубликовано: 20 Февраль 2023
на канале: Elliotcodes
13,429
276

Tutorial files: https://github.com/Infatoshi/opencv-s...

Install homebrew in terminal: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Hom...)"

Install OpenCV via homebrew: brew install opencv

touch CMakeLists.txt

cmake_minimum_required(VERSION 3.10)
project(MyProject)
find_package(OpenCV REQUIRED)
add_executable(MyProject main.cpp)
target_link_libraries(MyProject ${OpenCV_LIBS})

mkdir build
cd build
cmake ..
make
./MyProject

Do the "make" command AFTER you have pasted the code into the script and have saved it.


Join my discord server!:  / discord  


I use Nvidia Shadowplay and OBS studio to record
Record with 60fps + 4k res + 50 bitrate
I edit with Sony Vegas Pro 16
Any video that are recorded without my pc webcam are using the camera on my Oneplus 7 Pro(The phone I use)

Socials

Twitch:   / qtinfectious  

Youtube:    / @elliotarledge  

Instagram: qtinfectious

Twitter: @qtInfectious


Equipment:

Mouse: Razer Viper Mini - Wired

Keyboard: Apex Pro TKL (omnipoint switches)

Headset: HyperX Cloud ll

Webcam/Mousecam: Logitech Brio

Mousepad: Aqua Control Plus

Primary Monitor: Acer v279-144hz-1ms

Secondary Monitor: 144hz dell 24 inch monitor

Router: ROG Rapture GT-AC5300


PC Specs:

Graphics Card: Nvidia Geforce 3070 (FHR)

Processor: Ryzen 5 3600x

Motherboard: Msi Tomahawk b450

Memory: 32GB-3200mhz

Storage: 500GB nvme SSD & 1 TB Western Digital SSD

Power Supply: 650 watts +80 Gold


Смотрите видео How to Setup OpenCV for C++ on Visual Studio Code (MacOS) онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Elliotcodes 20 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 13,429 раз и оно понравилось 276 людям.