Hi ! Can we get the length of an object from image in Python ? If yes Then How?

yes, either by puttig some reference object of known size next to it,
or by calculating the size from focal & distance: