Saving TOF camera measurement from raspberry pi 4

Hey I have an ArduCam 0.43MP TOF camera. That’s connected and works well with a Raspberry Pi 4. My question is, is there a way to save the values gotten from the preview depth terminal? I’m looking at storing the values locally or in a MySQL database for projectile motion calculations
Any tips or material would be appreciated.

This is the data from the TOF camera.