<< return to Pixycam.com

edit colorLut.cpp

Hi,
I want to compile pixy for detecting violent color, But reading all articles such as Matt’s editing (http://www.cmucam.org/boards/9/topics/2649?r=3500#message-3500) and changing base of later source than Matt’s source, please help me how can I color space to normal YUV. Is it possible to change your YUV color space and if yes which files should be edited?

regards.

Hello David,
If you want to detect violet, why not just teach Pixy on an appropriately violet object and then adjust the signature accordingly?

The thread you mention is fairly old and much of the code has changed. Can you describe in more detail what you are trying to do? Maybe if I understood better I could suggest something to try.

Edward

Hi,
My violet is so dark and detecting dark colors is not supported by pixy now. I want to change the YUV color space to the detection of black spots can be done with pixy, 1. printf output in pixy codes where is written? 2. how can find exact yuv value of my dark violet? 3. Is it possible to change your Yuv space to noramal Yuv space?
regards

Hi David,
If you want to detect a dark violet, try setting the “min brightness” setting to 0.

http://cmucam.org/projects/cmucam5/wiki/Signature_Tuning_Pane

This will make sure that low brightness camera pixels is not discarded. Dark pixels are usually discarded because noise in dark pixels tends to overwhelm the hue signal.

Changing the color space that Pixy uses is certainly possible, but it’s a big change. You might consider testing your idea with the “monmodule” mechanism first.

http://cmucam.org/search/index/cmucam5?messages=1&q=monmodule

Hope this helps!

Edward