Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time

Surface Inspection Integration

This software package acts as a client to an industrial robot controller, integrating a GigE camera and machine learning algorithm for automatic defect detection and reporting.

The software architecture is in its current form in this version of the code, but will still require testing and (likely) bugfixes.

Quickstart

  1. Clone this repository to your machine
  2. Download the trained network from the following link: https://filelocker.uconn.edu/public_download?shareId=0d857639f812a7baf4d3838015a8f4fa . When prompted for a password, enter resnet
  3. Copy RES101TrainedNET.mat into the Data folder
  4. Open MATLAB to the directory you cloned this repository to
  5. Configure connections to the IRC and Camera, as described below.
  6. Clear your MATLAB workspace: clear all;
  7. Start the inspection by instantiating the AutoOpticalInspection class:
aoi = AutoOpticalInspection();

The IRC will be automatically connected to, and the system will respond to packets from the IRC. 8. Important: After testing, run aoi.dispose(); to close the TCP connection to the IRC, the connection to the camera, and shut down the state machine. If this is not done, connections may persist in the background and cause errors when trying to restart the inspection.

Configuring IRC Connection

At the top of the /Modules/Mod_ProcessControl.m file, adjust the IRC IP address and Port number to match the actual IRC.

Configuring the Camera Connection

In /Modules/Mod_ImageAcquisition.m modify the IP address for the camera. The default exposure (shutter speed) can be adjusted here as well.