How can i make a AI model that should be able to see the level of the tank

How can i make a AI model that should be able to see the level of the tank