How to extract correct coordinates from the image based on feedback - Theo's Typesafe Cult