All fiber torsion and displacement sensor based on image detection