A Real-Time Vision System for SMT Automation