Opencv Cplusplus Example simple opencv c++ example 1. Install opencv 1.1. Install opencv on ubuntu sudo apt-get install libopencv-dev 1.2. Install opencv on mac brew install opencv 2. Compile make 3. Run ./main 4. Test ✅ MacOs 🚼 Linux