deep learning image analysis in factory automation · ocr-a on soft, semi-transparent plastic...

33
Deep Learning Image Analysis in Factory Automation Real-World Applications in Production Olivier Despont Cognex Corporation

Upload: others

Post on 11-Jun-2020

9 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Deep Learning ImageAnalysis in Factory Automation

Real-World Applicationsin Production

Olivier DespontCognex Corporation

Page 2: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode
Page 3: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode
Page 4: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode
Page 5: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode
Page 6: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode
Page 7: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Example-Based Approach

Page 8: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Adding value –

Best applications for Deep Learning in Machine Vision

Page 9: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

When Applying Deep Learning in Machine Vision ?

Self-LearningExample-based training Human-like decisions

Watch dials inspection Cement spots inspection

Page 10: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

When Applying Deep Learning in Machine Vision ?

Finds distorted orinconsistent parts

Finds surface defects

Automated bone cutting Rail inspection

Page 11: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Precision Alignment Gauging

Plastic part location Gap check

When Deep Learning is Not Suitable?

Page 12: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

What To Look For in a Production Deep Learning System?

Page 13: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Works on commercial PCs

Handles camera mounting effects

Works with limited data sets

Works with high res, color, thermal and 3D images

Image

Informatio

n

Confusio

n Matri

x

Score

Plots

Doesn’t require Ph.D. to configure

∆ η η∑ target - output )( )

What To Look For in a Production Deep Learning System?

Page 14: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode
Page 15: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Cosmetic InspectionSurface Inspection- Cogwheel Automotive

Page 16: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Cosmetic InspectionSurface Inspection- Cylindrical Motor Mechanism

Rust Spot (OK)

No anomalies (OK) White Area (OK)

Broken (OK)

Defects

Page 17: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Cosmetic InspectionSurface Inspection- Cylindrical Motor Mechanism

Page 18: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

and you can also apply this technology

Page 19: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Part LocationDeformable part location and counting

Medical vials counting on a tray

2 images to teach30 min to built the application (incl. training)

Works despite translucent and touching glass vials on shiny metal conveyor with circular background.

Also handles perspective variation due to wide angle lens

Processing time with a GTX 1080 : 80ms/imageImage size : 1800x1450Identification rate : 98%

Page 20: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Bone removal

Part LocationPath following for robot

Page 21: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Pre-insertion screw & debris check

Pre-Assembly VerificationPre-Assembly Obstruction Check

Page 22: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

IV bag orientation

Pre-Assembly VerificationPart Correctness and Orientation

Page 23: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Pre-Assembly VerificationKitting & Palletization

Automotive door handles

Page 24: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

ClassificationBulk & Batch Product Identification

=

=

Appearance-based diary product identification for logistic application

Image classification with many classesAnd large within class variation

Page 25: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Welding seams overlap (OK)

Correct Welding Seams (OK) Welding seams overlap (OK) Defective Welding Seams (NOK)

Welding seams defect (NOK)

Images courtesy byLEONI Engineering Products & Services, Inc., Lake Orion, MI - USA

ClassificationDefect Classification

Page 26: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

ClassificationDefect Classification on Welding Seams

Classify Anomalies based on the results of a region extractor

Images courtesy byLEONI Engineering Products & Services, Inc., Lake Orion, MI - USA

Page 27: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Stamped characters on metal ingotsOCR-A on soft, semi-transparent plastic pouches

Inkjet printed text on bottom of aluminum cans

Characters placed closely to barcode

Molded characters in plastic parts

OCR on non-flat surface with varying light conditions

Pad-printed characters on gas tanksDeformed OCR

Hard-to-Read CharacterDifferent OCR Applications

Page 28: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Post-Placement Packaging Check

Surgical Kit completeness

Page 29: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Post-Placement Packaging Check

Swiss chocolates

Page 30: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

What Kind of Applications in Machine Vision Can Deep Learning Solve?

Cosmetic Inspection• Surface Inspection• Functional defect detection

Part Location• Deformable part location and

counting• Path following for robot

Pre-Assembly Verification• Pre-assembly clearance check• Part Correctness and Orientation• Kitting & Palletizing

Classification• Bulk/batch identification• Defect classification

Hard-to-Solve OCR• Distorted character

detection

Post Assembly• Placement check• Final assembly &

packaging verification

Page 31: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

human performanc

e and flexibility

Reliabiltyand

consistency

Page 32: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Towards a truly “Smart” Camera …?

What could be the future?

Page 33: Deep Learning Image Analysis in Factory Automation · OCR-A on soft, semi-transparent plastic pouches Inkjet printed text on bottom of aluminum cans Characters placed closely to barcode

Olivier Despont Product Marketing SpecialistCognex Corp – Switzerland

[email protected]

Office +41 26 653 72 78

Contact Information