Template Extraction
TEMPLATE EXTRACTION
1. Downsample example images
2. Extract all instances from each example image
3. Find the set of all instances that are common (reinforced) in all the
    positive examples (discrete intersection)
4. The common instances and their spatial relationship is the extracted template
CLASSIFICATION
For every instance in the template find closest match in new image that satisfy
color and spatial relationships.