U See — Portfolio Project by Muhammad Daffa Ashdaqfillah

A macOS prototype that turns footage from multiple cameras into shared floor-plan trajectories, with cross-camera person tracking and optional privacy rendering.

U See — Portfolio Project by Muhammad Daffa Ashdaqfillah

Published on November 29, 2026

Project Details

U See project one-pager
U See project one-pager
Multicamera detection and floor projection
Multicamera detection and floor projection
Movement paths and crowd heatmap
Movement paths and crowd heatmap
Pedestrian and station use cases
Pedestrian and station use cases
Related work and model choices
Related work and model choices
Detection datasets
Detection datasets
Tracking datasets and field footage
Tracking datasets and field footage
Detection evaluation
Detection evaluation
Tracking evaluation
Tracking evaluation
Qwen3 8B analysis evaluation
Qwen3 8B analysis evaluation

U See turns recordings from several fixed cameras into movement paths on a shared floor plan. I worked on the computer vision backend, from person detection and appearance embeddings to cross-camera association and pipeline profiling. The macOS client handles clip selection, time alignment, and calibration, then passes the analysis job to a local Python service.

Demo

Watch on YouTube
The macOS activity view shows where projected observations accumulated on the shared floor plan.
The macOS activity view shows where projected observations accumulated on the shared floor plan.

Choosing what runs per camera

I worked with a tracking-by-detection pipeline. A YOLO model detects people, BoT-SORT links detections within each view, and OSNet supplies a compact appearance vector from each sampled person crop. Each camera's tracker has its own ID namespace.

We compared YOLO11s with YOLO26s on the same CAVIAR test split. YOLO11s reached 0.915 AP50 at 6.16 ms/image, compared with 0.894 AP50 at 9.28 ms/image for YOLO26s. We then checked whether adapting YOLO11s to indoor camera datasets improved transfer to WiseNET. All three detector variants saw the same 9,213 sampled images and 6,769 annotated person boxes. Empty annotated frames were included.

WiseNET detectorAP50F1 at 0.25 confidenceFalse positivesMean inference time
YOLO11s base0.8140.7971,26923.28 ms
YOLO11s fine-tuned on CAVIAR0.2060.14614,61915.16 ms
YOLO11s fine-tuned on CrowdHuman + WiderPerson0.5530.5013,70018.69 ms

The base detector stayed the default. The fixed-detector tracker comparison held the input detections constant. BoT-SORT gave up a little tracking accuracy to StrongSORT while processing more than twice as many frames per second.

Local trackerHOTAFPS
StrongSORT0.3253.36
BoT-SORT0.3148.47
BoT-SORT + ReID0.3038.36
ByteTrack0.3019.46
DeepOCSORT0.2802.67
OC-SORT0.2667.61

The separate WILDTRACK appearance-model experiment informed the choice of OSNet X0.25 for the runtime. OSNet AIN X1.0 with MSMT17 weights scored 47.37 IDF1 at 7.60 FPS. The smaller model scored 44.55 IDF1 at 11.72 FPS in that test. Those numbers describe the appearance-model experiment on a separate fixture.

From two camera views to one trajectory

Calibration matches image points to known locations on the floor plan. A homography maps the bottom center of a tracked box into floor coordinates, treating that point as the person's contact with the ground. Reprojection errors and coverage help flag weak calibrations. The model assumes the observations lie on the same plane, so an inaccurate calibration can displace a whole path.

Each tracklet keeps up to 12 L2-normalized OSNet X0.25 descriptors. Sampling keeps the highest-confidence crop in each one-second bin. When both tracks have at least three descriptors, matching takes the median of the three highest pairwise cosine similarities, so a single unusually similar crop cannot decide the appearance score.

We first stitch plausible fragments from the same camera using time gap, distance, speed, and appearance. For simultaneous tracks across cameras, the backend interpolates floor positions at shared timestamps and checks both median and 95th-percentile separation. Candidate pairs must pass spatial gates informed by calibration uncertainty as well as an appearance gate. The overlap score weights appearance at 65% and spatial consistency at 35%. Hungarian assignment selects one-to-one overlap matches. For a handoff between non-overlapping views, the matcher uses time gap, travel speed, and appearance agreement between track endpoints.

Union-Find groups the accepted links. Before merging groups, the code rejects combinations that would give one track incompatible simultaneous observations, including two simultaneous tracks from the same camera. The resulting trajectory weights observations by tracking confidence and calibration uncertainty. Each ID describes an association within the analysis job.

Tracklets from two calibrated cameras enter the matcher and become paths in shared floor coordinates.
Tracklets from two calibrated cameras enter the matcher and become paths in shared floor coordinates.

Reducing wait time without changing the output

I removed a redundant frame decode between detection and tracking, changed the trajectory renderer to add only new path segments, and streamed frames directly to H.264. Privacy segmentation processes small batches and produces a mask for each frame. The camera cache stores boxes, timing, track data, and appearance vectors. A recalibration can reuse detection and tracking, with projection, association, and rendering recomputed for the new job.

The runtime check used two four-second clips, 1,920-pixel detector input, 5 FPS processing, and CPU ReID. All runs in this table completed video rendering.

End-to-end runWall-clock timeCamera cache hits
Previous implementation15.19 s0
Optimized comparison11.99 s0
Repeat using the camera cache4.72 s2
Final uncached verification11.75 s0

The optimized and cached comparisons preserved the same paths and summary of 10 tracks and 198 observations. A separate reduced-resolution and reduced-frame-rate trial changed the output to 11 tracks and 128 observations, so the default stayed at the original settings. The short runs check runtime and output consistency on that fixture. Tracking accuracy through long occlusions and handoffs was outside their scope.