I am new in opencv. I am trying to make cup detector like face detector in opencv. But I see the positive samples of face detector, there is particular pattern of eyes, nose and mouth, so there is, somewhat all, positive samples have same pattern. But cups don't have the same pattern on it. Some cups are plan and some have graphics on it. So suggest me any idea how to take samples and implement it.