title: Python GUI to "label" ground truth in images?
body: <p>A project I am working on involves finding <code>x, y</code> coordinates of objects in an image. For a given image, I want to augment an annotation to specific <code>x, y</code> through <em>visual inspection</em>.</p>
  <p>As a toy example, I have an image of stars. From this image, I derive an array of <code>x, y</code> coordinates of the centroids of stars, found using <code>skimage.peak_local_max</code>:</p>
  <pre><code>centroids = [[3.567, 4.325], [7.814, 6.769], [2.122, 9.177], ...]
  </code></pre>
  <p><a href="https://i.stack.imgur.com/moGxI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/moGxI.png" alt="enter image description here" /></a>
  which can be overlayed on the original image. What I would like is a user friendly interface that allows annotation of data. Say, the top most star is selected with a mouse click (&quot;green box&quot;) such that my metadata gets augmented to look like:</p>
  <pre><code>    x    y    selected
  0   3.567         4.325         False
  1   7.814         6.769         True
  2   2.122         9.177         False
  ...
  
  </code></pre>
  <p>... before moving on to the next image (with its own set of centroids to be overlayed and selected).</p>
  <p>My question isn't really about &quot;overlaying&quot; annotation on an image, but rather annotating data. The confluence of these keywords taken of out context has made searching answers very difficult. Annotating my data is much easier with visual inspection, rather than checking each coordinate numerically. Is there a quick &amp; dirty way to do this using common Python libraries?</p>