Surface Mount Technology (SMT) has revolutionized the electronics manufacturing industry, enabling the production of compact and efficient devices. A critical aspect of SMT is the accurate counting of components, which is vital for inventory management, production planning, and quality control. This