I am working on a project where I have to find the rectangle with similar color to a target box(one bounded by green box in image). Any link or technique would be highly appreciable in this regard.
Note: I have tried euclidean distance on LAB colors but results are not promising.