I have check your requirements, it is really a simple project,
Seems you just need to separate the object by color? I can provide you a program which allow you to filter out any color , with adjustable tolerance. if you only ask for potato, my suggestion is using both color and shape (e.g. round shape).
I am expert in Image processing with Matlab. Let's do this.