Color recognition

Responsible partner: CVUT

Description

Recognizing of dominant garment color.

Preconditions

  • rgb_image and depth_image have to be grabbed at the same time

Inputs

  1. rgb_image (cv::Mat)
    - rgb image grabbed from xtion
  1. depth_image (cv::Mat)
    - depth map corresponding to rgb_image
  1. max_depth (float)
    - maximum depth in depth_image, where the color will be recognized
  1. light_thresh (float)
    - threshold of brightness, which dominant color will be compared to { 0 .. 255 }

Outputs

  1. color (string)
    - dominant color of garment { light, dark }

Failure conditions, recovery from failure

Performance / robustness indicators