This document presents a real-time vision system for automatically counting threads in woven fabrics. It begins with an introduction to woven fabrics and the traditional manual method of counting threads, which is time-consuming and prone to errors. It then describes a proposed automated system using image processing techniques like blob detection and feature matching to track fabric motion and recognize warp and weft counts in real-time with high accuracy. The system is tested on denim fabric and is able to accurately count the number of warp and weft threads in the sample image. The automated approach provides an improvement over manual counting by reducing labor costs and eliminating human errors.