A flex sensor or bend sensor is a sensor that measures the amount of deflection or bending. Usually the sensor is stuck to the surface, and resistance of sensor element is varied by bending the surface. Since the resistance is directly proportional to amount of bend it is used as goniometer, and often called flexible potentiometer.
Types of sensor
References
Flex sensor Wikipedia(Text) CC BY-SA