This paper will present details of a coded target system that employs a Hough transform and segment matching to automatically recognise and identify the targets in digital images. The code system is based on a square surrounding the central circular target and will be described at a level of detail that would allow the system to be readily duplicated. Pre-detection processes, developed to improve the success rate under unfavourable conditions, and the tests conducted to validate a correct target match will also be described. Finally, the paper will include some examples of the use of the coded targets, drawn from calibrations of digital still cameras and underwater stereo-video systems.