An image analysis program for computing relative positions of mobile devices