24. A computer program product comprising a non-transitory computer readable medium including a computer readable program, wherein the computer readable program when executed on a computer causes the computer to: receive an input image; detect a location for each of the invisible junction features in a skeleton by applying a distance transformation to a binary image of the input image; determine a region surrounding each of the invisible junction features based on the skeleton, the region including pixels from one or more characters of the input image and the location for each of the invisible junction features being a center of the region; recognize an electronic document corresponding to the input image using the location for each of the invisible junction features and the region surrounding each of the invisible junction features; and perform the action related to the electronic document in response to recognizing the electronic document.
24. A computer program product comprising a non-transitory computer readable medium including a computer readable program, wherein the computer readable program when executed on a computer causes the computer to: receive an input image; detect a location for each of the invisible junction features in a skeleton by applying a distance transformation to a binary image of the input image; determine a region surrounding each of the invisible junction features based on the skeleton, the region including pixels from one or more characters of the input image and the location for each of the invisible junction features being a center of the region; recognize an electronic document corresponding to the input image using the location for each of the invisible junction features and the region surrounding each of the invisible junction features; and perform the action related to the electronic document in response to recognizing the electronic document. 26. The computer program product of claim 24 , wherein the action comprises enforcing a security procedure related to the electronic document.