Bottle cap optical inspection

There are five types of bottle cap defects

  • Dirty Surface
  • Abnormal  Plastic String
  • Plastic Overflow
  • Abnormal Word Position
  • Four Points Plastic Overflow

Create Shape Model, Golden Image, and Mask Image

Optical inspection process flow

Create Shape Model

Save Golden Images

Save Mask Image

Dirty Surface

Compare the new image with the golden image.

Abnormal  Plastic String

Compare the new image with the golden image.

Plastic Overflow

The red region in the last image is plastic.

Abnormal Word Position

The red rectangle is the location of the word, it should be in the correct position.

Four Points Plastic Overflow

Use mask images to analyze four mask areas to detect whether plastic overflows