Edge Detection, Template Matching using moments of inertia & Hough Transform