Real-Time Object Recognition Using Pattern Matching and Image Processing Techniques