IP Library › Granted Patent US 10,379,528
Granted Patent B2
US 10,379,528 · App. 15/527,048 · Granted Aug 13, 2019

Method and apparatus for generating machining codes of workpieces from a paper engineering drawing

Inventors: Shun Jie Fan (Beijing, CN); Ming Jie (Beijing, CN); Qian Wang (Beijing, CN)
Assignee: Siemens Aktiengesellschaft
G05B19/4202G05B19/4093G05B19/4097G06F17/50G05B2219/30G05B2219/35216G05B2219/37572Y02P90/265
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,379,528
App. No.
15/527,048
Granted
Aug 13, 2019
Kind
B2
Abstract

A method and apparatus for generating machining code of workpieces from a paper engineering drawing are provided. The method includes processing the paper engineering drawing to be a binary image; extracting dimension features and shape features of the workpieces from the binary image; and generating the machining codes of the workpieces based on the extracted dimension features and shape features of the workpieces. The machining codes indicate the dimension and shape of the workpieces. Machining codes of workpieces are generated from a paper engineering drawing directly without manual involvement.

Claims (56)

1. A method for generating machining codes of workpieces from a paper engineering drawing, the machining codes indicating dimension and shape of the workpieces, the method comprising:

processing a photo of the paper engineering drawing captured by at least one imaging device to create a binary image;

extracting dimension features and shape features of the workpieces from the binary image; and

generating the machining codes of the workpieces based on the extracted dimension features and shape features of the workpieces,

wherein the processing the photo of the paper engineering drawing comprises:

obtaining a red, green, blue (RGB) image of the paper engineering drawing;

converting the RGB image to a gray level image;

converting the gray level image to the binary image by comparing gray levels of pixels in the gray level image with a gray level threshold, and converting pixels with gray levels above the gray level threshold to pure black pixels and converting pixels with gray levels below the gray level threshold to pure white pixels,

wherein the extracting of the dimension features and shape features comprises:

identifying dimension features of the workpieces from the binary image;

removing the recognized dimension features from the binary image; and

identifying shape features of the workpieces from a remaining portion of the binary image after the recognized dimension features are removed,

wherein the shape features of the workpieces include line functions and endpoints of segments, wherein an outline of a workpiece is divided into segments, and a line function of a segment is different from a line function of a neighboring segment.

2. The method of claim 1 , wherein the extracting of the dimension features and shape features further comprises:

shrinking widths of lines in the remaining portion of the binary image with the recognized dimension features removed to a pixel width.

3. The method of claim 1 , wherein the generating of the machining codes of the workpieces comprises:

interpreting the extracted dimension features and shape features of the workpieces; and

generating the machining codes of the workpieces based on the interpreting of the extracted dimension feature and shape features of the workpieces.

4. An apparatus for generating machining codes of workpieces from a paper engineering drawing, the machining codes indicating a dimension and shape of the workpieces, the apparatus comprising:

a processor configured to execute computer-readable instructions such that, when executed by the computer, cause the computer to,

process a photo of the paper engineering drawing captured by at least one imaging device to create a binary image,

extract dimension features and shape features of the workpieces from the binary image, and

generate the machining codes of the workpieces based on the extracted dimension features and shape features of the workpieces,

wherein the processor is configured to execute computer-readable instructions to

obtain a red, green, blue (RGB) image of the paper engineering drawing,

convert the RGB image to a gray level image, and

convert the gray level image to the binary image by comparing gray levels of pixels in the gray level image with a gray level threshold, configured to convert pixels with gray levels above the gray level threshold to pure black pixels and configured to convert pixels with gray levels below the gray level threshold to pure white pixels,

wherein the processor is configured to execute computer-readable instructions to,

identify dimension features of the workpieces from the binary image,

remove the recognized dimension features from the binary image, and

identify shape features of the workpieces from a remaining portion of the binary image after the recognized dimension features are removed,

wherein the shape features of the workpieces include line functions and endpoints of segments, wherein an outline of at least one of the workpieces is divided into segments, and a line function of a segment is different from a line function of a neighboring segment.

5. The apparatus of claim 4 , wherein the processor is configured to execute computer-readable instructions to,

shrink widths of lines in the remaining portion of the binary image with the recognized dimension features removed to a pixel width.

6. The apparatus of claim 4 , wherein the processor is configured to execute computer-readable instructions to

interpret the extracted dimension features and shape features of the workpieces, and

generate the machining codes of the workpieces based on the interpretation of the extracted dimension feature and shape features of the workpieces.

7. A device for generating machining codes of workpieces from a paper engineering drawing, comprising:

a storage to store executable instructions and

a processor configured to execute the executable instructions stored in the storage to

process a photo of the paper engineering drawing captured by at least one imaging device to create a binary image;

extract dimension features and shape features of the workpieces from the binary image; and

generate the machining codes of the workpieces based on the extracted dimension features and shape features of the workpieces,

wherein the processing the photo of the paper engineering drawing comprises:

obtaining a red, green, blue (RGB) image of the paper engineering drawing;

converting the RGB image to a gray level image;

converting the gray level image to the binary image by comparing gray levels of pixels in the gray level image with a gray level threshold, and converting pixels with gray levels above the gray level threshold to pure black pixels and converting pixels with gray levels below the gray level threshold to pure white pixels,

wherein the extracting of the dimension features and shape features comprises:

identifying dimension features of the workpieces from the binary image;

removing the recognized dimension features from the binary image; and

identifying shape features of the workpieces from a remaining portion of the binary image after the recognized dimension features are removed, and

wherein the shape features of the workpieces include line functions and endpoints of segments, wherein an outline of a workpiece is divided into segments, and a line function of a segment is different from a line function of a neighboring segment.

8. A non-transitory machine readable medium with executable instructions stored thereon which, when executed, enable a machine to perform the method of claim 1 .

9. A non-transitory machine readable medium with executable instructions stored thereon which, when executed, enable a machine to perform the method of claim 1 .

10. The method of claim 1 , further comprising:

machining a workpiece based on the generated machining codes.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 25, 2017
From: SIEMENS LTD., CHINA
To: SIEMENS AKTIENGESELLSCHAFT
Reel/Frame 042508/0848 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 19, 2017
From: FAN, SHUN JIE; JIE, MING; WANG, QIAN
To: SIEMENS LTD., CHINA
Reel/Frame 042433/0253 →
Continuity (1)
Related Publication 20170343997A1 · Nov 30, 2017