CLI program to query user coordinates of a rectangle on a image