At the École Polytechnique Fédérale de Lausanne (EPFL) researchers have developed a smart thread capable of sensing tiny changes of pressure and strain that are placed on it.

https://www.medgadget.com/2018/05/sensitive-fiber-thread-to-introduce-diagnostic-capabilities-into-clothing.html