Ir para a Avaliação PREreview
AI-Supported Review

Avalilação PREreview de Real-Time Obstacle Detection and Distance Estimation on Smartphones for Visually Impaired and Distracted Pedestrians

Publicado
DOI
10.5281/zenodo.24482137
Licença
CC0 1.0

## Summary

This paper presents a Kotlin Android application that runs a YOLOv8 detector retrained for 18 urban obstacle classes, optimized with pruning, dynamic-range INT8 quantization, and early-exit branches, deployed through NNAPI on a Samsung Galaxy M32. The reported headline results are an average inference latency reduction from about 3.2 s (off-the-shelf YOLOv8n) to 0.39–0.48 s, with the recommended configuration (INT8 quantization with early exit) running at 0.42–0.48 s at a recall of 0.81. The application adds distance estimation, either through ARCore or through a monocular focal-length method using assumed canonical object heights, and delivers Text-to-Speech guidance and vibration alerts. The evaluation consists of an offline accuracy benchmark (1,152 test images, 1,728 instances, drawn from a merge of 26 Roboflow Universe datasets) and on-device timing; no user study is reported.

## Strengths

- The ablation is unusually complete: all twelve combinations of the three optimizations are measured for both accuracy (Table II) and latency (Table III) on the same test set, which makes the trade-offs inspectable rather than asserted.

- The paper is honest where it would have been easy not to be. It states plainly that pruning collapses recall to 0.562 and concludes that pruning "is not suitable for this application" — the authors argue against one of their own headline optimizations, on safety grounds. Section I also decomposes the speedup candidly: retraining accounts for 3.2 s → 0.99 s, quantization for the next step, pruning for the last.

- The deployment target is realistic: a single mid-range phone camera, no LiDAR or depth hardware, and multimodal feedback (speech for visually impaired users, vibration for distracted pedestrians) matched to two distinct user groups.

- The 26 source datasets are individually cited with links (refs [35–60]), so the ingredients of the merged dataset are at least identifiable, even though the merged product is not released (see Major concern 4).

## Major concerns

1. The latency claim — the paper's title claim — is measured on a narrower quantity, against a weaker baseline, and with hardware acceleration asserted rather than demonstrated. Three separable problems compound here. (a) What is timed is per-image model inference only (§IV-B). No end-to-end figure exists anywhere: frame acquisition, distance estimation, and Text-to-Speech alert delivery are never timed, so the latency a walking user actually experiences between an obstacle appearing and an alert being heard is unknown; the "real-time" framing rests on a self-defined budget of 0.5 s per frame (2.1–2.4 frames per second). (b) The 3.2 s baseline is the untrained, off-the-shelf model run without NNAPI; the same model runs at ~1.08 s with NNAPI enabled (Table III, Row 1), and per §I's own decomposition the largest single reduction (3.2 s → 0.99 s) comes from retraining to 18 classes, not from the three optimizations the abstract credits with the full reduction. The abstract's 0.39 s lower bound, meanwhile, is reached only by the pruned configurations whose recall (0.534–0.562) the paper itself judges unsuitable for this safety-critical use; the recommended configuration's floor is 0.42 s. Only averages are reported — no run counts, no variance, no warm-up or thermal discussion — over roughly 33% of the test set. (c) I could find no substantive evidence that hardware acceleration actually took effect on the test device, or that inference did not silently fall back to the CPU. NNAPI is a dispatch layer, and silent CPU fallback is a documented behaviour when a device's drivers cannot execute a model; the paper never identifies which accelerator, if any, executed the model on the Galaxy M32, and never verifies execution placement. The results contain an unexplained pattern consistent with fallback: the FP16 configurations are in several settings slower than FP32 under NNAPI (Table III), which is not what one expects from genuine GPU execution. Please report the NNAPI device actually selected (or an equivalent execution verification), explain the FP16 anomaly, and either measure end-to-end camera-to-alert latency or scope the "real-time" claim to inference only.

2. Accuracy and latency are measured on two different execution stacks, so the deployed system's accuracy is never measured. All accuracy figures come from the Ultralytics validation engine running on a Tesla T4 GPU (§IV-A); all latency figures come from the exported models running on the phone through TFLite/NNAPI. The paper does not state whether the INT8 rows of Table II were produced by the actual exported TFLite artifacts or simulated within the framework pipeline, and the accuracy of the model file that actually ships in the application — after export, dynamic-range quantization, and NNAPI dispatch on a MediaTek device — is never evaluated on any test set. For a safety-relevant aid, the number that matters is the recall of the artifact on the device; at present the recall of 0.81 and the latency of 0.42–0.48 s describe two different systems that happen to share weights. Please evaluate the exported on-device model on the test set, or state explicitly how the framework-side INT8 numbers were obtained and why they transfer.

3. Distance estimation — half of the title — receives no quantitative evaluation at all. Neither the ARCore path nor the monocular focal-length path is ever compared against measured distances; no error figure appears anywhere in §IV. This matters more than usual because the monocular method rests on assumed canonical heights (e.g. person ≈ 1.6 m, car ≈ 1.8 m), and its error scales directly with the deviation of the real object from the assumed height: a child, a seated wheelchair user, or a tall SUV will be placed at a systematically wrong distance, in a system whose spoken output is a distance ("two metres ahead"). A method this sensitive to its assumptions cannot be carried by a formula alone. Please report distance error against ground truth over a range of distances and object classes for at least the monocular path, and state the conditions under which the ARCore path is available on the target device class.

4. No visually impaired user has used the system, and the dataset's provenance, licensing, and split hygiene are undocumented. On evaluation: the paper's own related-work section criticizes a prior system for lacking real-world usability studies [9], yet this system is likewise evaluated only on offline images; the authors acknowledge a user study as future work (§V), but the abstract and conclusion's framing ("delivers high-accuracy obstacle awareness") does not carry that qualification, and "high-accuracy" sits oddly next to a recommended-configuration recall of 0.81 — roughly one in five annotated obstacles missed, down from 0.855 for the unoptimized model. On data: the training set merges 26 independently published Roboflow Universe projects. The word "license" appears nowhere in the paper; no per-source license or merged-dataset license is stated. The split procedure is never described and no deduplication or overlap check is mentioned; because Roboflow projects frequently repackage overlapping image pools, near-duplicate images shared between the training and test splits cannot be excluded from the text, which leaves the headline metrics with an unquantified inflation risk. Class imbalance is severe (Person 8,962 instances vs. Bike 192, a factor of ~47) and no per-class metrics are reported, so recall on the rare classes — the ones a user is least able to compensate for — is invisible. Please document the split and deduplication procedure, state the licensing basis for the merged dataset, and report per-class precision and recall.

## Minor points

1. No confidence threshold is reported for the precision/recall figures in Table II (the only threshold mentioned is a user-configurable app setting in §III-C1), and only mAP50:95 is given, with no mAP50 column and no per-class breakdown.

2. The early-exit architecture adds 2.02M parameters (+67.0%, from 3,014,358 to 5,033,374, Table IV) — it reduces per-frame compute, not model size, which is worth stating plainly. The exit criterion is described only qualitatively; no exit confidence threshold value and no per-exit usage statistics are reported, and early exit alone did not improve latency over the customized FP32 model under NNAPI (§IV-B).

3. The quantization is dynamic-range quantization (weights in INT8, activations in FP32, weights dequantized on the fly, §III-B3), not full-integer quantization. Readers will generally read "INT8 quantization" as the latter; the distinction should be made wherever the headline claims appear, since it bears directly on which hardware can accelerate the model (see Major concern 1).

4. Core training details are absent: no epochs, no input image size, no augmentation description (the word "epochs" does not appear in the paper). There is no code or data availability statement; the merged dataset, class-index mapping, split, and the "custom evaluation notebook" of §IV-A are not released, so the training run is not reproducible from the paper.

5. Reference [46], a pothole-detection dataset, is listed among the integrated sources, but no pothole class appears in the final 18 classes (Table I), and the mapping from cited sources to final classes is not documented. Potholes are also a conspicuous omission from an obstacle taxonomy aimed at pedestrians.

6. Two of the 18 classes, Road and Building, are not obstacles in any ordinary sense; including them under an "obstacle detection" framing deserves a sentence of justification, since they also absorb model capacity and test-set instances.

## Overall assessment

This is a competently engineered application with an unusually transparent ablation study and a commendable willingness to report where its own optimizations fail. Its problems are concentrated in the distance between what was measured and what is claimed: a title that promises real-time performance and distance estimation, supported by inference-only timing against a best-case baseline, acceleration that is enabled but never verified, accuracy measured on a different stack from the one that ships, and a distance module with no error measurement at all. None of these require new research to fix — they require measuring the remaining quantities, documenting the data pipeline, and letting the claims shrink to the size of the evidence. I would encourage the authors to do exactly that, because the underlying system, honestly specified, is still a useful contribution.

Competing interests

The author declares that they have no competing interests.

Use of Artificial Intelligence (AI)

The author declares that they used generative AI to come up with new ideas for their review.