This document discusses color detection using OpenCV in C++. It introduces color detection and OpenCV, with the objective of implementing object-oriented programming concepts to detect pixel colors in a 3-channel RGB image. The architecture involves OpenCV capturing images in BGR format. Implementation calculates spatial moments and central moments of a binary image to determine pixel colors. Future applications include computer vision, object segregation and tracking based on color.