I am using line scan sensor and able get rgb values is of 2048 pixel in format rgb 24bit is there any algorithm to detect object using rgb values