The ability to achieve real‐time movement visualization in piezoresistive sensors remains a challenge. A visual piezoresistive sensor to perceive the intensity of mechanical stimuli and visible spatial location information is designed based on the mechanoluminescence material CaZnOS: Mn. The linearity, detection range, sensitivity, and stability of the sensor are tested, and the sensing mechanism of the sensor is discussed, and the relationship between force, resistance, and light intensity is established. A 5 × 5 sensor array is prepared to realize the visual detection of dynamic force trajectory, and combined with a convolutional neural network and random forest algorithm, the human writing number and pressure characteristics are recognized, and the writing path and handwriting of the robot arm are controlled by multi‐feature input. The experimental results show that the machine learning algorithm is very reliable with an accuracy of 98.33% for digit recognition and 97.21% for identity recognition. The visual piezoresistive pressure sensor provides a new idea for the visualization of flexible pressure and promotes the development of flexible sensors towards integration and intelligence.