A manageable first iteration
I developed on an Apple M2 Mac with 8 GB of unified memory. Earlier attempts involved crashes and long processing times, so I chose a manageable dataset and bounded the training run.
A project close to my heart: developing an indoor assistance prototype that combines object detection with spoken feedback for people with visual impairments.
We built a working version in college. I chose to return to the idea independently, in my personal time, and rebuild its detection foundation with YOLOv8. My custom model is trained; live-camera and audio integration are next.
PythonYOLOv8Dataset preparationModel evaluationI selected an indoor dataset, prepared the annotations for object detection, consolidated the source categories into twelve classes, and fine-tuned a pretrained YOLOv8s model. I reviewed the training curves and class-level results to identify where the detector needs improvement.
The original dataset uses twenty classes and includes polygon annotations. My preparation script converts polygons into bounding boxes, merges open and closed doors into a single door category, and combines stair and steps labels. It preserves the training, validation, and test split structure.
Classes: bed, cabinet, chair, door, refrigerator, sofa, table, TV, window, wall, walkway, and stairs.
Dataset: Roboflow indoor, version 2, zxcs-workspace. The supplied export states CC BY 4.0. Original images and annotations belong to the dataset contributors; my work is the preparation and model adaptation. Dataset source ↗
I developed on an Apple M2 Mac with 8 GB of unified memory. Earlier attempts involved crashes and long processing times, so I chose a manageable dataset and bounded the training run.
Training used MPS acceleration, 640-pixel images, batch size 6, AdamW, and a planned 80 epochs. The supplied log covers epochs 4–79; the strongest recorded checkpoint was epoch 54.
The goal of this iteration was a detector I could integrate and test locally. Hardware constraints shaped the approach; the results still need improvement before the assistant can provide dependable feedback.
Ambitious project. Eight gigabytes. Ongoing negotiations.
The best checkpoint's stored metrics match epoch 54 in the training log. These are validation results from the training run, not an independent test or a navigation success rate.
| Metric | Best recorded checkpoint |
|---|---|
| Precision | 32.4% |
| Recall | 39.6% |
| mAP50 | 29.0% |
| mAP50–95 | 19.2% |
The detector's current performance is uneven. Missed objects and weak table detection are important targets for improvement. Longer training alone is unlikely to resolve those issues.
mAP measures detection performance across classes and matching thresholds; it is not a simple percentage of images classified correctly.
The F1 curve peaks near confidence 0.167. I would treat this as an experimental starting point, then assess false announcements and missed detections on representative camera footage. A suitable speech threshold must be tested in context.
The training label plot shows uneven class counts. Some counts differ slightly from the supplied source archive, so exact processed dataset totals need reconciliation before a reproducible rerun.
Left/centre/right describes image position. Distance estimation, route planning, and reliable navigation remain future work. The current model is a development prototype.
The model has met the furniture. Introductions are going better with some pieces than others.
I returned to this idea because I care about what it could become. This iteration gives me a trained model, documented results, and specific improvements to pursue as I connect the pieces.
View the project repository ↗← Back to projects