Detect the shape of a wire
Resistive sensors will give you a very coarse idea of a shape, by changing their resistance depending on how much they are bent. For example, https://www.sparkfun.com/products/8606

This gives you total curvature, in one dimension.