Importing poblem for pictures


i wanna find one script in python who i can import any picture from my desktop to analyse them (measure distance between two points, or identifying the vanishing point) so any proposal. thanks for all