Welcome to the Gwel Wiki!
The gwel Python module provides a framework for handling large image datasets and using neural networks for computer vision tasks for scientific research. The module supports object instance detection and semantic segmentation. The flowchart below outlines the workflows that can be achieved using this module.
This wiki compiles a series of tutorials designed to guide you through the features and functionality of the module. For the best learning experience, start with the first tutorial and proceed sequentially.
The name Gwel is derived from Gweles (Cornish: to see).
Maintained and created by Jack Rich ([email protected]), Department of Crop Science, School of Agriculture, Policy, and Development; University of Reading as part of my PhD research.
This tutorial provides a brief introduction to the package and includes the installation guide found in the project’s
README.md
.
Learn to handle collections of images with the
ImageDataset
class. Key operations include resizing images, taking samples, orienting, verifying integrity, and viewing images.
Add factors (additional variables associated with images, e.g., time or treatment) to the
ImageDataset
class. Efficiently manage multiple factors in large image collections.
Introduces the
Detector
class to run pre-trained object detection models and store results in anImageDataset
. Covers visualization, exporting results in COCO JSON format, and cropping images to create individual object datasets.
Introduces the
Segmenter
class to run pre-trained image segmentation models. Covers visualization and exporting segmentation results in COCO JSON format.
Learn to annotate images using CVAT, then train object detection or segmentation models. Includes tips for leveraging GPU clusters for faster training.
This research is funded by the Biotechnology and Biological Sciences Research Council (BBSRC), part of UK Research and Innovation (UKRI), through the FoodBioSystems Doctoral Training Partnership (DTP) as part of my PhD project at the University of Reading.