IP Library Granted Patent US 11,610,138
Granted Patent B2
US 11,610,138 · App. 16/854,913 · Granted Mar 21, 2023

Machine learning-based inference of granular font properties

Inventors: Jessica Lundin (Seattle, WA); Owen Winne Schoppe (Orinda, CA); Alan Martin Ross (San Francisco, CA); Brian J. Lonsdorf (Belmont, CA); David James Woodward (Westfield, IN); Sönke Rohde (San Francisco, CA); Michael Reynolds Sollami (Cambridge, MA); Chetan Ramaiah (Palo Alto, CA)
Assignee: Salesforce, Inc.
G06N5/02G06F17/16G06F40/109G06N5/04G06N20/00G06T7/0002G06V30/245
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,610,138
App. No.
16/854,913
Granted
Mar 21, 2023
Kind
B2
Abstract

A textual properties model is used to infer values for certain font properties of interest given certain text-related data, such as rendered text images. The model may be used for numerous purposes, such as aiding with document layout, identifying font families that are similar to a given font families, and generating new font families with specific desired properties. In some embodiments, the model is trained from a combination of synthetic data that is labeled with values for the font properties of interest, and partially-labeled data from existing “real-world” documents.

Claims (56)

1. A computer-implemented method for inference of font properties based on rendered text, the computer-implemented method comprising:

obtaining a rendered text image of text in a document;

training a machine learning model to infer values for a plurality of font properties based on rendered text images, the training using a training set comprising a plurality of partially-labeled rendered text images; and

using the machine learning model to infer values for font properties of a font family of the rendered text;

wherein the partially-labeled rendered text images specify values for less than all of the plurality of font properties.

2. The computer-implemented method of claim 1 , further comprising obtaining the rendered text image from a web browser textual rendering of text on a web site.

3. The computer-implemented method of claim 1 , wherein the font properties for which values are inferred comprise one or more of: horizontal character metrics, vertical character metrics, character pixel density, italic angle, serif type, or character bounding box.

4. The computer-implemented method of claim 1 , further comprising training the machine learning model as a convolutional neural network having custom twistor convolutional layers substantially providing textual rotational invariance.

5. The computer-implemented method of claim 1 , where the training set additionally comprises a plurality of synthetic rendered text images.

6. The computer-implemented method of claim 5 , further comprising generating the synthetic rendered text images, the generating comprising:

generating support vector graphic (SVG) data for text; and

deriving values for the plurality of font properties through image analysis of renderings of SVG;

wherein training the machine learning model uses the derived values for the plurality of font properties as training labels for the synthetic rendered text images.

7. The computer-implemented method of claim 1 , further comprising:

performing unsupervised pre-training on unlabeled rendered text images;

priming the machine learning model using results of the pre-training; and

training the primed machine learning model.

8. The computer-implemented method of claim 1 , further comprising:

using the inferred values for the font properties to identify a different font family that is visually similar to the font family of the rendered text.

9. The computer-implemented method of claim 1 , further comprising:

using the machine learning model to infer values for font properties of font families of a plurality of additional rendered text images; and

using the inferred values for the font properties of the font family of the rendered text image, and of the inferred values of the font properties of the font families of the plurality of additional rendered text images, to generate a new font family.

10. A computer-implemented method for inference of font properties based on rendered text, the computer-implemented method comprising:

generating a plurality of synthetic rendered text images, the generating comprising:

generating support vector graphic (SVG) data for text in a font family; and

deriving values for a plurality of font properties of the font family through image analysis of renderings of SVG;

training a machine learning model to infer values for the a plurality of font properties based on rendered text images, the training using a training set comprising the plurality of synthetic rendered text images; and

obtaining a rendered text image of text in a document; and

using the machine learning model to infer values for the font properties of the rendered text;

wherein training the machine learning model uses the derived values for the plurality of font properties as training labels for the synthetic rendered text images.

11. The computer-implemented method of claim 10 , further comprising obtaining the rendered text image from a web browser textual rendering of text on a web site.

12. The computer-implemented method of claim 10 , wherein the font properties for which values are inferred comprise one or more of: horizontal character metrics, vertical character metrics, character pixel density, italic angle, serif type, or character bounding box.

13. The computer-implemented method of claim 10 , further comprising training the machine learning model as a convolutional neural network having custom twistor convolutional layers substantially providing textual rotational invariance.

14. The computer-implemented method of claim 10 , wherein the training comprises using a training set comprising a plurality of partially-labeled rendered text images and a plurality of synthetic rendered text images.

15. The computer-implemented method of claim 10 , further comprising:

performing unsupervised pre-training on unlabeled rendered text images;

priming the machine learning model using results of the pre-training; and

training the primed machine learning model.

16. The computer-implemented method of claim 10 , further comprising:

using the inferred values for the font properties to identify a different font family that is visually similar to the font family of the rendered text.

17. A computer-implemented method for inference of font properties based on rendered text, the computer-implemented method comprising:

obtaining a rendered text image of text in a document;

obtaining a machine learning model trained to infer values for a plurality of font properties based on rendered text images; and

using the machine learning model to infer values for font properties of a font family of the rendered text;

using the machine learning model to infer values for font properties of font families of a plurality of additional rendered text images; and

using the inferred values for the font properties of the font family of the rendered text image, and of the inferred values of the font properties of the font families of the plurality of additional rendered text images, to generate a new font family.

18. The computer-implemented method of claim 17 , further comprising obtaining the rendered text image from a web browser textual rendering of text on a web site.

19. The computer-implemented method of claim 17 , wherein the font properties for which values are inferred comprise one or more of: horizontal character metrics, vertical character metrics, character pixel density, italic angle, serif type, or character bounding box.

20. The computer-implemented method of claim 17 , further comprising training the machine learning model as a convolutional neural network having custom twistor convolutional layers substantially providing textual rotational invariance.

21. The computer-implemented method of claim 17 , wherein the training comprises using a training set comprising a plurality of partially-labeled rendered text images and a plurality of synthetic rendered text images.

22. The computer-implemented method of claim 17 , further comprising:

performing unsupervised pre-training on unlabeled rendered text images;

priming the machine learning model using results of the pre-training; and

training the primed machine learning model.

23. The computer-implemented method of claim 17 , further comprising:

using the inferred values for the font properties to identify a different font family that is visually similar to the font family of the rendered text.

Assignments (3)
CHANGE OF NAME Recorded Dec 18, 2024
From: SALESFORCE.COM, INC.
To: SALESFORCE, INC.
Reel/Frame 069717/0480 →
CORRECTIVE ASSIGNMENT TO CORRECT THE 7TH ASSIGNOR'S NAME PREVIOUSLY RECORDED AT REEL: 052692 FRAME: 0688. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT . Recorded Jan 13, 2021
From: LUNDIN, JESSICA; SCHOPPE, OWEN WINNE; ROSS, ALAN MARTIN; LONSDORF, BRIAN J.; WOODWARD, DAVID JAMES; ROHDE, SÖNKE; SOLLAMI, MICHAEL REYNOLDS; RAMAIAH, CHETAN
To: SALESFORCE.COM, INC.
Reel/Frame 054981/0012 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 18, 2020
From: LUNDIN, JESSICA; SCHOPPE, OWEN WINNE; ROSS, ALAN MARTIN; LONSDORF, BRIAN J.; WOODWARD, DAVID JAMES; ROHDE, SONKE; SOLLAMI, MICHAEL; RAMAIAH, CHETAN
To: SALESFORCE.COM, INC.
Reel/Frame 052692/0688 →
Continuity (1)
Related Publication 20210334666A1 · Oct 28, 2021