IP Library Granted Patent US 10,657,421
Granted Patent B2
US 10,657,421 · App. 16/220,135 · Granted May 19, 2020

Shape detection

Inventor: Brian K. Martin (McMurray, PA)
Assignee: Morpho Trust USA, LLC
G06K9/6267G06K9/00463G06K9/4604G06K2009/363
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 10,657,421
App. No.
16/220,135
Granted
May 19, 2020
Kind
B2
Abstract

Methods, systems, and apparatus, including computer programs encoded on a computer storage medium, for shape detection are disclosed. In one aspect, a method includes the actions of generating a shape model that includes a predetermined shape with a predetermined scale and predetermined orientation. The actions further include receiving an image. The actions further include identifying edges that are parallel to the side of the shape model and that are a predetermined distance from the side of the shape model. The actions further include selecting a plurality of edges that likely correspond to edges of a shape that is similar to the shape model. The actions further include determining a fit score between the plurality of edges and each shape of a plurality of shapes that are similar to the shape model. The actions further include identifying a particular shape in the image that most closely fits the shape model.

Claims (47)

1. A computer-implemented method comprising:

receiving, by a computing device, an image;

generating, by the computing device, a shape of an object to detect in the image;

identifying, by the computing device and in the image, edges that are parallel to a side of the shape and that are within a threshold distance of the side of the shape;

determining, by the computing device, a contrast of each edge;

based on the contrast of each edge, selecting, by the computing device and from among the edges, a plurality of edges;

determining, by the computing device, a plurality of candidate objects that are defined by the plurality of edges;

comparing, by the computing device, each candidate object of the plurality of objects to the shape of the object to detect in the image; and

based on comparing each candidate object of the plurality of objects to the shape of the object to detect in the image, selecting, by the computing device, a candidate object as the object to detect in the image.

2. The method of claim 1 , wherein the object and the selected object have a same number of sides.

3. The method of claim 1 , wherein the threshold distance from the side of the shape is a predetermined number of pixels.

4. The method of claim 1 , wherein selecting the candidate object as the object to detect in the image comprises determining that the candidate object most closely fits the shape of the object.

5. The method of claim 1 , wherein identifying edges that are parallel to a side of the shape and that are within a threshold distance of the side of the shape comprises identifying the edges at predetermined pixel intervals.

6. The method of claim 1 , wherein the shape of the object to detect in the image has straight edges.

7. The method of claim 1 , wherein selecting the plurality of edges comprises selecting the plurality of edges that have a largest gradient among the edges.

8. A system comprising:

one or more computers; and

one or more storage devices storing instructions that are operable, when executed by the one or more computers, to cause the one or more computers to perform operations comprising:

receiving, by a computing device, an image;

generating, by the computing device, a shape of an object to detect in the image;

identifying, by the computing device and in the image, edges that are parallel to a side of the shape and that are within a threshold distance of the side of the shape;

determining, by the computing device, a contrast of each edge;

based on the contrast of each edge, selecting, by the computing device and from among the edges, a plurality of edges;

determining, by the computing device, a plurality of candidate objects that are defined by the plurality of edges;

comparing, by the computing device, each candidate object of the plurality of objects to the shape of the object to detect in the image; and

based on comparing each candidate object of the plurality of objects to the shape of the object to detect in the image, selecting, by the computing device, a candidate object as the object to detect in the image.

9. The system of claim 8 , wherein the object and the selected object have a same number of sides.

10. The system of claim 8 , wherein the threshold distance from the side of the shape is a predetermined number of pixels.

11. The system of claim 8 , wherein selecting the candidate object as the object to detect in the image comprises determining that the candidate object most closely fits the shape of the object.

12. The system of claim 8 , wherein identifying edges that are parallel to a side of the shape and that are within a threshold distance of the side of the shape comprises identifying the edges at predetermined pixel intervals.

13. The system of claim 8 , wherein the shape of the object to detect in the image has straight edges.

14. The system of claim 8 , wherein selecting the plurality of edges comprises selecting the plurality of edges that have a largest gradient among the edges.

15. A non-transitory computer-readable medium storing software comprising instructions executable by one or more computers which, upon such execution, cause the one or more computers to perform operations comprising:

receiving, by a computing device, an image;

generating, by the computing device, a shape of an object to detect in the image;

identifying, by the computing device and in the image, edges that are parallel to a side of the shape and that are within a threshold distance of the side of the shape;

determining, by the computing device, a contrast of each edge;

based on the contrast of each edge, selecting, by the computing device and from among the edges, a plurality of edges;

determining, by the computing device, a plurality of candidate objects that are defined by the plurality of edges;

comparing, by the computing device, each candidate object of the plurality of objects to the shape of the object to detect in the image; and

based on comparing each candidate object of the plurality of objects to the shape of the object to detect in the image, selecting, by the computing device, a candidate object as the object to detect in the image.

16. The medium of claim 15 , wherein the object and the selected object have a same number of sides.

17. The medium of claim 15 , wherein the threshold distance from the side of the shape is a predetermined number of pixels.

18. The medium of claim 15 , wherein selecting the candidate object as the object to detect in the image comprises determining that the candidate object most closely fits the shape of the object.

19. The medium of claim 15 , wherein identifying edges that are parallel to a side of the shape and that are within a threshold distance of the side of the shape comprises identifying the edges at predetermined pixel intervals.

20. The medium of claim 15 , wherein the shape of the object to detect in the image has straight edges.

21. The system of claim 15 , wherein selecting the plurality of edges comprises selecting the plurality of edges that have a largest gradient among the edges.

Assignments (1)
CHANGE OF NAME Recorded Dec 23, 2022
From: MORPHOTRUST USA, LLC
To: IDEMIA IDENTITY & SECURITY USA LLC
Reel/Frame 062218/0605 →
Continuity (3)
Continuation 15604424 · May 24, 2017
Provisional Application 62340915 · May 24, 2016
Related Publication 20190220706A1 · Jul 18, 2019