Shape detection
First Claim
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.
1 Assignment
0 Petitions
Accused Products
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.
16 Citations
21 Claims
-
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. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
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. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
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. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification