Bangladesh Waste Instance Segmentation Dataset (BWISD)
Description
The Bangladesh Waste Instance Segmentation Dataset (BWISD) is a custom dataset comprising 5,858 real-world waste images collected from diverse indoor and outdoor environments in Bangladesh. The dataset was developed to support research on automated waste localization, instance segmentation, and classification using deep learning and computer vision techniques. The dataset covers six municipal solid waste categories: Glass, Metal, Non-Woven Shopping Bag, Paper, Paperboard, and Plastic. The images capture variations in lighting conditions, background complexity, object scale, and orientation to represent diverse real-world waste scenarios. Data Collection and Annotation The images were manually collected and annotated using Roboflow. Individual waste objects were annotated with polygon-based instance segmentation masks and assigned to their corresponding categories. Following initial image collection and annotation, class-wise instance counts were examined to address class imbalance. Additional images were collected for underrepresented categories, while selected images containing excess instances from overrepresented categories were excluded. This process resulted in 1,105 annotated instances per category, with a total of 6,630 annotated instances across 5,858 images. Dataset Organization and Preprocessing The original dataset was divided into training, validation, and test subsets using a 70:20:10 ratio, consisting of 4,102, 1,171, and 585 images, respectively. Images were auto-oriented and resized to 640 × 640 pixels using reflect-edge padding to preserve their aspect ratios. Data augmentation was applied exclusively to the training subset to increase visual diversity. The augmentation operations included horizontal flipping, rotation (±15°), hue adjustment (±15°), saturation adjustment (±25%), brightness adjustment (±15%), exposure adjustment (±10%), and pixel noise injection (up to 0.1%). These operations expanded the training subset to 14,062 images. The validation and test subsets remained unaugmented. Annotation Format The dataset uses the COCO (Common Objects in Context) instance segmentation format, including image metadata, category labels, and polygon-based segmentation annotations. It is suitable for developing and evaluating deep learning models for waste object localization, instance segmentation, and classification. Intended Use This dataset is intended for academic and research purposes, including model training, performance evaluation, comparative studies of instance segmentation methods, and further research into automated waste analysis and management. Researchers can use it to investigate computer vision approaches for recognizing and segmenting waste materials in real-world environments.
Files
Steps to reproduce
1. Download and extract the dataset files. 2. Inspect the images and polygon-based instance segmentation annotations provided in COCO format. 3. For training YOLO-based instance segmentation models, convert the COCO annotations into YOLO segmentation format using a compatible conversion script or tool. Ensure that category IDs are mapped correctly and polygon coordinates are normalized as required by the YOLO format. 4. Organize the converted dataset into training, validation, and test subsets and configure the dataset YAML file with the image paths and class names. 5. Train and evaluate a compatible YOLO segmentation model using the converted annotations. 6. Alternatively, use the original COCO annotations with compatible frameworks, such as Mask R-CNN, for instance segmentation experiments. The dataset supports research on waste object localization, instance segmentation, and classification using deep learning and computer vision techniques.
Institutions
- University of Science and Technology ChittagongChittagong, Chittagong