Based on the bachelor-thesis "Microstructure analysis of materials with the assistance of artificial technology" by Kerim Yalcin from Feb 2024.
Features:
- read and save image files
- use filters to change brightness and gaussian-blur amount of loaded images
- apply binarization and tresholding
- trace boundaries using resizable brush tool in black or white
- create image labels for a Resnet34 model (max. 2 classifications)
- create and train a ResNet34 model with created labels
- predict images using a trained ResNet34 model
Use this script for manual label creation.
Use this script for creating and training a ResNet34 model. Predict images using the trained model.
The application can either be started by using the executable or directly by running the scripts after installing Python and the required packages.
- Reading and saving image file names are not supported in Unicode due to OpenCV
imread
andimwrite
function - Cancelling the file dialog without selecting a path can lead to termination of the app
- an internet connection is required to create the ResNet32 model