Skip to content

Instantly share code, notes, and snippets.

@barisdemiroz
barisdemiroz / parallel_for_example.cpp
Created April 4, 2016 12:54
OpenCV parallel_for_() example.
/*
* parallel_for_() example.
* Paints 8 stripes to different colors in a 80x80 image in parallel.
* @OpenCVTip on Twitter
**/
#include <opencv2/opencv.hpp>
using namespace cv;