Mar 2 2010

WebCam Palette

Hi folks!

This is the outcome of some experiments I’ve been doing lately using C++, Qt and OpenCV, the computer vision library. The goal of this software is rather simple, but handy!

When you launch the .exe a window is shown on your screen. Press start to open the connection to your webcam and start acquiring frames from it. Then drag selections over the webcam window to select the area, when you release the mouse button the software will calculate the selection’s average rgb pixel component and it will show it in the main small window in three separated text fields. So obviously watch out what you select to get right color there (btw the color is shown also on the top left corner of the webcam window) ;)

Why use this small piece of software? Well personally sometimes I wanted to know: which color is my sweater? Or, whoa, I like the color on this book/flower/pen/muffin etc etc, but what could it be? Well now I can find my answer with this software just putting the object in front of the webcam and selecting the region of interest. As I said is a small piece of software, but handy for any kind of graphic app, Blender shaders and materials included! :D

You can download the software here, it’s in a zip file, unpack it wherever you wish and launch WebCamPalette.exe.

WCP in action!

Yeah, before you start giving me the f%&#&ng MS supporter/developer, I can upload the sources and you can compile them yourselves on your favourite platform, however you need them to have also the OpenCV libraries compiled for the OS on which you are going to run WCP.