Presenting translations of text depicted in images
First Claim
1. A method performed by data processing apparatus, the method comprising:
- obtaining, by the data processing apparatus and from a camera of a user device, an image of a scene that includes (i) first text that, in the image, satisfies at least one criterion of text color, background color, text size, font type, or location-within-image, and (ii) second text that, in the image, does not satisfy any of the criterion of text color, background color, text size, font type, or location-within-image, wherein the location-within-image criterion is a distance between text and a center of the image;
processing, by the data processing apparatus, the image to determine that the first text satisfies at least one of the criterion of text color, background color, text size, font type, or location-within-image and that the second text does not satisfy any of the criterion of the text color, background color, text size, font type, or location-within-image;
determining, by the data processing apparatus, that a readability measure for presentation of a particular user interface that includes a translation of the first text and that does not include a translation of the second text satisfies a readability criterion related to how readable the translation of the first text would be if presented using the particular user interface, wherein the readability measure is based on a number of characters of the translation that would be presented if the translation is presented using the particular user interface; and
in response to determining that (i) the first text satisfies at least one of the criterion of text color, background color, text size, font type, or location-within-image and that the second text does not satisfy any of the criterion of the text color, background color, text size, font type, or location-within-image and (ii) presentation of the particular user interface satisfies the readability criterion, providing, by the data processing apparatus and for display at the user device, the particular user interface that includes the translation of the first text and that does not include a translation of the second text.
2 Assignments
0 Petitions
Accused Products
Abstract
Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for presenting additional information for text depicted by an image. In one aspect, a method includes receiving an image. Text depicted in the image is identified. The identified text can be in one or more text blocks. A prominence presentation context is selected for the image based on the relative prominence of the one or more text blocks. Each prominence presentation context corresponds to a relative prominence of each text block in which text is presented within images. Each prominence presentation context has a corresponding user interface for presenting additional information related to the identified text depicted in the image. A user interface is identified that corresponds to the selected prominence presentation context. Additional information is presented for at least a portion of the text depicted in the image using the identified user interface.
32 Citations
20 Claims
-
1. A method performed by data processing apparatus, the method comprising:
-
obtaining, by the data processing apparatus and from a camera of a user device, an image of a scene that includes (i) first text that, in the image, satisfies at least one criterion of text color, background color, text size, font type, or location-within-image, and (ii) second text that, in the image, does not satisfy any of the criterion of text color, background color, text size, font type, or location-within-image, wherein the location-within-image criterion is a distance between text and a center of the image; processing, by the data processing apparatus, the image to determine that the first text satisfies at least one of the criterion of text color, background color, text size, font type, or location-within-image and that the second text does not satisfy any of the criterion of the text color, background color, text size, font type, or location-within-image; determining, by the data processing apparatus, that a readability measure for presentation of a particular user interface that includes a translation of the first text and that does not include a translation of the second text satisfies a readability criterion related to how readable the translation of the first text would be if presented using the particular user interface, wherein the readability measure is based on a number of characters of the translation that would be presented if the translation is presented using the particular user interface; and in response to determining that (i) the first text satisfies at least one of the criterion of text color, background color, text size, font type, or location-within-image and that the second text does not satisfy any of the criterion of the text color, background color, text size, font type, or location-within-image and (ii) presentation of the particular user interface satisfies the readability criterion, providing, by the data processing apparatus and for display at the user device, the particular user interface that includes the translation of the first text and that does not include a translation of the second text. - View Dependent Claims (2, 3, 4, 5, 6, 7, 20)
-
-
8. A system, comprising:
-
a data processing apparatus; and a memory storage apparatus in data communication with the data processing apparatus, the memory storage apparatus storing instructions executable by the data processing apparatus and that upon such execution cause the data processing apparatus to perform operations comprising; obtaining, from a camera of a user device, an image of a scene that includes (i) first text that, in the image, satisfies at least one criterion of text color, background color, text size, font type, or location-within-image, and (ii) second text that, in the image, does not satisfy any of the criterion of text color, background color, text size, font type, or location-within-image, wherein the location-within-image criterion is a distance between text and a center of the image; processing the image to determine that the first text satisfies at least one of the criterion of text color, background color, text size, font type, or location-within-image and that the second text does not satisfy any of the criterion of the text color, background color, text size, font type, or location-within-image; determining that a readability measure for presentation of a particular user interface that includes a translation of the first text and that does not include a translation of the second text satisfies a readability criterion related to how readable the translation of the first text would be if presented using the particular user interface, wherein the readability measure is based on a number of characters of the translation that would be presented if the translation is presented using the particular user interface; and in response to determining that (i) the first text satisfies at least one of the criterion of text color, background color, text size, font type, or location-within-image and that the second text does not satisfy any of the criterion of the text color, background color, text size, font type, or location-within-image and (ii) presentation of the particular user interface satisfies the readability criterion, providing, for display at the user device, the user interface that includes the translation of the first text and that does not include a translation of the second text. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A non-transitory computer-readable storage medium encoded with a computer program, the program comprising instructions that when executed by a data processing apparatus cause the data processing apparatus to perform operations comprising:
-
obtaining, from a camera of a user device, an image of a scene that includes (i) first text that, in the image, satisfies at least one criterion of text color, background color, text size, font type, or location-within-image, and (ii) second text that, in the image, does not satisfy any of the criterion of text color, background color, text size, font type, or location-within-image, wherein the location-within-image criterion is a distance between text and a center of the image; processing, by the data processing apparatus, the image to determine that the first text satisfies at least one of the criterion of text color, background color, text size, font type, or location-within-image and that the second text does not satisfy any of the criterion of the text color, background color, text size, font type, or location-within-image; determining, by the data processing apparatus, that a readability measure for presentation of a particular user interface that includes a translation of the first text and that does not include a translation of the second text satisfies a readability criterion related to how readable the translation of the first text would be if presented using the particular user interface, wherein the readability measure is based on a number of characters of the translation that would be presented if the translation is presented using the particular user interface; and in response to determining that (i) the first text satisfies at least one of the criterion of text color, background color, text size, font type, or location-within-image and that the second text does not satisfy any of the criterion of the text color, background color, text size, font type, or location-within-image and (ii) presentation of the particular user interface satisfies the readability criterion, providing, for display at the user device, the user interface that includes the translation of the first text and that does not include a translation of the second text. - View Dependent Claims (16, 17, 18, 19)
-
Specification