IP Library › Granted Patent US 11,157,770
Granted Patent B2
US 11,157,770 · App. 16/792,606 · Granted Oct 26, 2021

Automatic line erase tool and method

Inventor: Cheng Ning Jong (North Chili, NY)
G06K9/6256G06K9/00463G06T11/001G06T11/60G06T2210/12
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,157,770
App. No.
16/792,606
Granted
Oct 26, 2021
Kind
B2
Abstract

A method for removing extraneous information from a drawing of a device having one or more parts, the extraneous information including a lead line and a part number, the method including detecting a starting point of a lead line with respect to a bounding box of the part number and determining a general direction of the starting point with respect to the bounding box, wherein the starting point is set as a current point; performing linear regression analysis of dark pixels in an area covered by a mask centrally located at the current point to yield a linear regression line slope; determining a next point based on the slope and the general direction; and updating the current point with the next point and repeating the performing and determining steps until the lead line ends; and removing the lead line based on a path traced by the starting and current points.

Claims (20)

1. A method for removing extraneous information from a drawing of a device having at least one or more parts, the extraneous information comprising a lead line and a part number, said method comprising:

(a) detecting a starting point of the lead line with respect to a bounding box of the part number and determining a general direction of said starting point with respect to said bounding box, wherein upon detection, said starting point is set as a current point;

(b) performing linear regression analysis of dark pixels in an area covered by a mask centrally located at said current point to yield a slope of a linear regression line of dark pixels in said mask;

(c) determining a next point based on said slope and said general direction;

(d) updating said current point with said next point and repeating steps (b)-(c) until said current point is already said next point; and

(e) removing the lead line based on a path traced by said starting point and current points.

2. The method of claim 1 , wherein the location of said bounding box is obtained by processing the drawing for at least one part number of the drawing and the position of said at least one part number to yield the part number.

3. The method of claim 1 , wherein said removing step comprises turning the color of the lead line to white.

4. The method of claim 1 , further comprising removing the contents of said bounding box of the part number.

5. The method of claim 4 , wherein said second removing step comprises turning the color of the contents of said bounding box of the part number to white.

6. A non-transitory computer readable medium storing a program causing a computer to execute a method for removing extraneous information from a drawing of a device having at least one or more parts, the extraneous information comprising a lead line and a part number, said method comprising:

(a) detecting a starting point of the lead line with respect to a bounding box of the part number and determining a general direction of said starting point with respect to said bounding box, wherein upon detection, said starting point is set as a current point;

(b) performing linear regression analysis of dark pixels in an area covered by a mask centrally located at said current point to yield a slope of a linear regression line of dark pixels in said mask;

(c) determining a next point based on said slope and said general direction;

(d) updating said current point with said next point and repeating steps (b)-(c) until said current point is already said next point; and

(e) removing the lead line based on a path traced by said starting point and current points.

7. The non-transitory computer readable medium of claim 6 , wherein the location of said bounding box is obtained by processing the drawing for at least one part number of the drawing and the position of said at least one part number to yield the part number.

8. The non-transitory computer readable medium of claim 6 , wherein said removing step comprises turning the color of the lead line to white.

9. The non-transitory computer readable medium of claim 6 , further comprising removing the contents of said bounding box of the part number.

10. The non-transitory computer readable medium of claim 9 , wherein said second removing step comprises turning the color of the contents of said bounding box of the part number to white.

Continuity (2)
Provisional Application 62807900 · Feb 20, 2019
Related Publication 20200265266A1 · Aug 20, 2020