Patent ID: 9547644
Date: 2017-01-17
CPC Classifications: G06F,G06K

Claim:
1. A method performed by data processing apparatus, the method comprising: receiving an image from a camera of a user device; identifying text depicted in the image, the identified text being in two or more text blocks identified in the image, the two or more text blocks including a first text block and a second text block distinct from the first text block, the identified text being in a first language; processing, by the data processing apparatus, the image to determine a relative prominence between the two or more text blocks and to determine, from a plurality of different prominence presentation contexts, a prominence presentation context for presenting a translation of text depicted in the image based on the relative prominence, wherein each prominence presentation context corresponds to a relative prominence of each text block in which text is presented within images to other text blocks identified in the images, and each prominence presentation context has a corresponding graphical user interface for presenting a translation of a different portion of the identified text than each other prominence presentation context; determining, based on the selected prominence presentation context, that a translation of a single text block, of the two or more text blocks, will be presented using the graphical user interface corresponding to the selected prominence presentation context; in response to determining that a translation of a single block of text will be presented using the graphical user interface corresponding to the selected prominence presentation context, selecting, between the first text block and the second text block and based on a size of the text in the first text block and a location of the first text block within the image relative to a size of the text in the second text block and a location of the second text block within the image, first text block as the single text block for which a translation will be presented using the graphical user interface corresponding to the selected prominence presentation context; presenting, at a display of the user device, the translation of the text in the first text block in an overlay over the image using the graphical user interface corresponding to the selected prominence presentation context, while presenting the text in the second text block in the first language and in the image.