computer vision application in …sstdpa/ssiuisibc/isi ppt v2.pdfwhich makes profile inspection,...

99
COMPUTER VISION APPLICATION IN INDUSTRIES Wg Cdr N. Radhakrishnan TIFAC CORE IN MACHINE VISION 12/14/2012 1

Upload: dinhtu

Post on 29-Mar-2019

213 views

Category:

Documents


0 download

TRANSCRIPT

COMPUTER VISION APPLICATION IN

INDUSTRIES

Wg Cdr N. Radhakrishnan

TIFAC CORE IN

MACHINE VISION

12/14/2012 1

Topics for Discussion

About TIFAC-CORE in Machine Vision

Computer Vision

Fundamental Issues

Industry Applications – Automotive, Pharma, Electronic Industries

12/14/2012

2

About TIFAC CORE

DST Sponsored Programme

Objectives:

To set up State of the art laboratory in the area of MV and to undertake research activities.

To introduce the MV technology to the industries. Provide consultancy services, develop solutions, Train industry personnel.

To train the faculty members and students .

Director: Wg Cdr N. Radhakrishnan

Professor

Rajalakshmi Engineering College

[email protected]

12/14/2012

3

Machine Vision

Machine Vision: Making useful decisions about real physical objects and

scenes based on sensed images

Challenges: Understanding the Customers Requirement

Parameters to be inspected and its tolerance, Location of the System installation Light, heat, dust and other environemtnal condition Number of components to be inspected per sececond / minute or per

shift Automation requirements

Selection of Camera, Lens, Lighting System Find the field of view, estimate camera resolution requirement Select lens Select suitable light

Developing automation solution

12/14/2012

4

Cameras

Types of Camera

Area Scan vs Line Scan / Board Level Camera

CCD vs CMOS, Grey / Colour

Interface

Resolution

Global Shutter Vs Rolling Shutter

Sensor Format

12/14/2012

5

Camera Types

12/14/2012

6

Interfaces

Firewire : 400 Mbps

USB 2.0 / 3.0 : 480 Mbps / 5 Gbps

Gig E : 1 Gbps

Camera Link : 5.3Gbps

CoXpress : 6.2 Gbps

12/14/2012

7

Camera and Lens

12/14/2012

8

Fundamental Issues

Perspective:

Perspective errors

12/14/2012

9

Fundamental Issues (cont.)

Perspective and Distortion (Pin Cushion and barrel) Errors occur due to camera location problems.

Can be with spatial calibration techniques.

12/14/2012

10

Normal lens vs Telecentric Lens

Angle of view / Focal Length

Magnification / Depth of Field

F Stop

Lens Mount

LENS

12/14/2012

11

Lens Types

12/14/2012

12

Field of View, Focal Length and Standoff

Distance

12/14/2012

13

Lens and Aperture

12/14/2012

14

Lens Depth of Field

12/14/2012

15

Lens Selection

What to do if you need to change the image size?

To increase magnification (Smaller FOV)

Use a lens with longer focal length

Move the camera closer to the part

To decrease magnification (Larger FOV)

Use shorter focal length

Move the camera further from part

12/14/2012

16

LIGHTING

Bright Field Illumination

Dark Field Illumination

Back Light

Diffused Light

Oblique Lighting

Axial Lighting

Structured Lighting

Collimated Lighting

Doom Lighting

12/14/2012

17

Different types of Lighting

Description Images

LED Diffuse Line Light

660nm, Bright Field / Dark Field Ring Light

5.00 Inch, White, LED Darkfield Illuminator with

mounting bracket

660nm, LED Broad Area Linear Array

12/14/2012 18

Description Images

660nm, 100mm X 200mm, LED Backlight

660nm, 4" LED Apposelite with mounting bracket

50mm, White, Flat Dome Illuminator with power

supply

660nm, 2", LED Diffuse Axial Illuminator w/power

supply

12/14/2012 19

Description Images

670nm Micro-Focus Laser Line Diode, 10°,

13μm Line, Modulated with power supply

6" Hemilite Fluorescent Illuminator with power

supply

12/14/2012 20

Fundamental Issues

Lighting issues

Ambient Light, Sunlight Changes, Seasonal Changes should not compromise image analysis and processing.

Proper illumination leads to Faster processing time.

12/14/2012

21

Fundamental Issues (cont.)

Backlighting creates sharp contrasts which makes profile inspection, finding edges and measuring distances fast and easy.

12/14/2012

22

Normal Light vs Dome Light

12/14/2012

23

Axial Light vs Normal Light

12/14/2012

24

Dark Field Light vs Normal

Light

12/14/2012

25

Dark Field Light

12/14/2012

26

Application Software

Matlab

C ++

Open CV

Lab View

Halcon

Matrox Imaging Library

Mv Impact

12/14/2012

27

PROJECTS

AUTOMOTIVE INDUSTRIES

12/14/2012

29

Brake Piston Cylinder

Inspection Requirements:

Hole Burr

Hole Position

Hole Missing

Double Punch

Video

12/14/2012

30

Ok Burr

Algorithm: Canny edge detector Image processing steps 1. Colour to Gray level 2. Canny edge detector 3. Circle fit 4. Euclidean distance

Brake Piston Cylinder

12/14/2012

31

a. Captured Image

Brake Piston Cylinder

b. Output of edge detector c. Circle Fit d. Red pixel shows the detection of burr

12/14/2012

32

Brake Piston Cylinder

12/14/2012

33

Spline Gear

Inspection Requirements:

Double Broach Groove Miss Model Mix-up Chamfer Presence

Algorithm : Canny edge detector Image processing steps 1. Colour to Gray level 2. Canny edge detector 3. Euclidean distance

12/14/2012

34

Ok Double Broach

Spline Gear

•The number of red pixels give the width of tooth •For Ok sample the count will be more than double broached component

12/14/2012

35

Spline Gear

12/14/2012

36

Flywheel

Inspection Requirements:

Checking right direction of Ring before it is pressed on to Flywheel

Video

12/14/2012

37

With Chamfer Without Chamfer

Image processing steps 1. Colour to Gray level 2. Gray level to binary 3. Morphology operation (dilation) 4. Blob analysis

Flywheel

Algorithm 1. Morphology operation (dilation) 2. Blob analysis

12/14/2012

38

Flywheel

a. Output of Thresholding b. Closing c. Dilation d. Output of area filter

12/14/2012

39

Flywheel

a. Output of Thresholding b. Closing c. Dilation d. Output of area filter

12/14/2012

40

Flywheel

12/14/2012

41

Cage Sleeve

Inspection requirements:

Side View

Window Width

Stagger Height

Total Length

Pillar Width

Top View

Inner Diameter

Outer Diameter

12/14/2012

42

Side View

Top View

Cage Sleeve

12/14/2012

43

12/14/2012

44

Forged Brake System

Component

Inspection requirements

Inward Bend

Outward Bend

12/14/2012

45

Forged Brake System

Component

12/14/2012

46

Oil Seal Inspection

Dimensional Accuracies of Inner / Outer Dameter

Presence / Absence of Spring

Surface Defects on all sides: Top, Bottom and on the periphery.

Tear Damage on the Outer Surface

12/14/2012

47

12/14/2012

48

12/14/2012

49

Two Wheeler Fuel Cock

Assembly

Presence of through holes

Presence of burr inside the holes.

12/14/2012

50

Two Wheeler Fuel Cock

Assembly

12/14/2012

51

Two Wheeler Fuel Cock

Assembly

12/14/2012

52

Metal Inserts Inspection

Missing chamfer, Height variation, Cut, Dent, Burr

12/14/2012

53

Automation Set Up

12/14/2012

54

Height Inspection

12/14/2012

55

Height Not OK

12/14/2012

56

Spring Quality Inspection

Loose Coil

Over Coil

Waviness

Damage

12/14/2012

57

Spring Quality Inspection

12/14/2012

58

Spring Quality Inspection

12/14/2012

59

Spring Quality Inspection

12/14/2012

60

Bar Code and Embossed OCR

Comparison

12/14/2012

61

Bar Code and Embossed OCR

Comparison

12/14/2012

62

Texture Analysis

a. Good textured surface b. Surface with crack

c. Surface with blow holes d. Surface with blemishes

12/14/2012

63

Image Processing steps •Preprocessing

It involved removal of dust particles based on surrounding pixels rather than using median filter.

•Texture analysis based on GLCM

a. Input image

b. Output of median filter c. Output of preprocessing based on the surrounding pixels

Texture Analysis

12/14/2012

64

Output of Texture Analysis

Texture Analysis

12/14/2012

65

Scratch detection

Inspection Requirements: To detect scratches on metal surface

12/14/2012

66

Scratch detection

Image processing steps •Detection of band of intensity levels in iteration. •Hausdorff dilation distance between the pixels between consecutive iterations.

Algorithm Hausdorff dilation distance.

12/14/2012

67

(a) Gray level image (b) Binary image at first

iteration

(c) Binary image at

second iteration

(d) Image obtained

after computing Hausdorff

distance between (b) and

(c)

(e) Binary image at

third iteration

(f) final image (Image obtained

after computing Hausdorff

distance between (d) and (e))

12/14/2012 68

Scratch detection

Input Image Triangle method (Histogram)

Global thresholding Based on hausdorff dilation distance

12/14/2012

69

Scratch detection

12/14/2012

70

Scratch detection

12/14/2012

71

Reed Valves

12/14/2012

72

Reed Valves

12/14/2012

73

Reed Valves

12/14/2012

74

Reed Valves

12/14/2012

75

Fruit Sorting Machine

12/14/2012

76

Fruit Sorting Machine

12/14/2012

77

Fruit Sorting Machine

12/14/2012

78

ELECTRONICS INDUSTRIES

12/14/2012

79

3G Equipment

Inspection requirements: Cap Presence Label Presence, Position, Orientation Fan Presence Video

12/14/2012

80

12/14/2012

81

12/14/2012

82

Mobile Panel

Inspection requirements:

Checking for Part Presence

Dimensional Verification

12/14/2012

83

Not OK

OK

12/14/2012

84

PHARMA INDUSTRIES

12/14/2012

86

Cataract Lens

Inspection Requirements: To measure the radius of curvature of fixation members Image Processing steps •Median filter •Gray level to binary •Dilation •Fill holes •Erosion •Image subtraction •Contour detection •Circle fit

12/14/2012

87

Cataract Lens

a. Median filter b. Thresholding

c. Dilation d. Fill holes

12/14/2012

88

e. Erosion f. Image subtraction

g. Erosion

Cataract Lens

12/14/2012

89

Cataract Lens

h. Final output

12/14/2012

90

Blister Pack

Inspection requirements: Missing Tablets

Broken Tablets

Color Sequence Verification

Label Reading

12/14/2012

91

Missing Tablet Inspection

12/14/2012

92

Color Sequence Identification

12/14/2012

93

Label Reading

12/14/2012

94

Needle

Inspection requirements: Tip Damage

Orientation

Glue Inspection

Video

12/14/2012

95

Ok Tip Damage

Needle

Image processing steps 1. Colour to Gray level 2. Canny edge detector 3. Euclidean distance 4. Morphology operations (Dilation and Hole Fill) for orientation

12/14/2012

96

Inspection Panel

12/14/2012

97

Barcode Reading

Reads the Barcode and print the label

12/14/2012

98

ANY QUESTIONS