Documentation Portal      

What are you looking for?

Inspecting Pads Using Regions

See also: Arbitrarily Shaped ROI (ERegion) / code snippets: ERegion

The code of this application and the images used are available in the Demo Applications subfolder in your Open eVision installation folder.

Application objective

This application demonstrates how to use regions to inspect the pads on the underside of a non-aligned electronic chip package.

To run this program, you need the EasyObject2 and EasyGauge licenses.

Processing

To do this, we will use EasyGauge to detect the position of the package, then perform an EasyObject segmentation on the detected position:

1. Use ERectangleGauge from the EasyGauge library to detect the package and its position.

2. Use the ERectangleRegion::ERectangleRegion(ERectangle&) constructor with the ERectangle returned by ERectangleGauge to create an ERegion.

3. Use the EImageEncoder::Encode(EImage&, ERegion&, ECodedImage&) method from the EasyObject2 library to perform the blob detection within the region.

4. Filter the blobs using EObjectSelection.
5. Perform any required measurement and check.

Which API shall we display?

© 2019 EURESYS s.a.  -  About Documentation  -  Open Source Licenses  -  Open eVision 2.10.0.1121