Display line/distance data on image

Good Day All,
I need to annotate some JPEGS with distance measurements. I see how to calibrate the scale and can measure and draw the lines on the image however I am unable to find a way to have the distance associated with that line appear on the image. I am looking for something like this:


There seems to be a plugin /macro for that: https://imagej.nih.gov/ij/plugins/measure-label.html


Also there are a 2 entries in forums discussing similar problems and their solution: http://imagej.1557.x6.nabble.com/How-do-you-label-a-line-measurement-with-its-length-td5012782.html

Dr. Google is usually my most reliable and useful collaborator =)