Skip to content
No description, website, or topics provided.
MATLAB
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Calibration
Data
Logs
Modules
Training
.gitignore
AutoOpticalInspection.m
Dependency_Analysis.m
README.md
StateFlowChart.sfx
devlog.txt
main.m

README.md

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.

You can’t perform that action at this time.