In this paper, a practical method based on a digital microscope camera and the techniques of digital image processing is presented for automatically estimating the drainage textile density. The experimental results demonstrate the relative error of computation is below 5%, which shows the efficiency and practicability of the presented method.