Infrequent tips on OpenCV.

Joined April 2012
3 Photos and videos
An example usage of parallel_for_() that paints an image to random colors in parallel: gist.github.com/barisdemiroz…
4
6
You can use parallel_for_() to easily parallelize your data processing loops.
3
6
You can initialize/seed RNGs using `state` field. e.g. theRNG().state = getTickCount();
1
You can use theRNG() to access default, thread local random number generator. e.g. float x = theRNG();
1
29 Feb 2016
There is an undocumented TickMeter class to measure elapsed time.
1
2
6
25 Apr 2014
OpenCV announces VTK-based 3D visualization module: viz demo: youtube.com/watch?v=75Ytgy3Q… docs: docs.opencv.org/modules/viz/…

6
6
29 Jul 2013
Using OpenCV Java with Eclipse anlak.com/opencv-java-with-e…

1
1
6
OpenCV Tips retweeted
OpenCV Development Team worked hard in scorching summer heat and has prepared the OpenCV 2.4.6 release for you! opencv.org/opencv-2-4-6-is-o…

1
24
5
15 Jun 2013
Sorry, this time it is not about OpenCV, it is about my home country, Turkey. wrttn.in/129692

5
OpenCV Tips retweeted
27 Mar 2013
Microsoft released Image Watch, a free Visual Studio extension for viewing in-memory OpenCV images during debugging: opencv.org/image-debugger-pl…

34
21
15 Feb 2013
[tutorial] How to build OpenCV library and debug it in VS2010? anlak.com/build-debug-opencv…

1
1
2
OpenCV Tips retweeted
12 Feb 2013
Try out the beta version of OpenCV 2.4.4. The final 2.4.4 is expected within ~2 weeks. opencv.org/opencv-2-4-4-is-u…

19
3
11 Feb 2013
e.g. rectangle(img, rect, CV_RGB(255,0,0)); // draws a red rectangle.
1
1
11 Feb 2013
As drawing function color parameters, use CV_RGB() macro for clarity instead of Scalar().
1
A new cv::putText to print text on image in the same way as you print "Hello world!" to std::cout.goo.gl/PeZBF
6
5
11 Jan 2013
You can find the code to produce the image in previous tweet here: pastebin.com/xTw3rSmT

11 Jan 2013
Here you can see how all the available fonts in OpenCV 2.4.3 appear: i.imgur.com/r9Jzu.png

1
11 Jan 2013
...Use getTextSize() for that purpose. docs.opencv.org/modules/core…

11 Jan 2013
You need to know the text size in order to position the text or create an image that's big enough to contain the text...
11 Jan 2013
To write text on an image use putText() docs.opencv.org/modules/core…

1