Quality control for stitching of a textile article is performed by measuring thread tension in the stitches as the stitches are being made, determining locations of the stitches, and generating a map including the locations and stitching data derived from the measured thread tensions. The stitching data can be analyzed, off-line or in real time, to identify defective stitches. Defective stitches can then be repaired. Real time analysis of the thread tensions allows problems such as broken needle threads to be corrected immediately