I have stored the accelerometer values in Realtime Database in Firebase. How can I retrieve and detect Pothole using these values