How to get Speed of plane without GPS through IMU

I’m working on a project and need to determine plane speed without GPS, using the IMU or any other possible way. Any advice on configuring ArduPilot for this task would be appreciated.

currently i tried to use pymavlink message, “RAW_IMU”. but i am not able to get accurate speed or may be i am not able to understand the values getting from this msg.