this a matlab implementation code which can detect red and blue color for real time object detection