Accomplished
This week our wireless cameras arrived, and I set one up for the treadmill workflow.
- Wireless camera setup: I connected the camera to the Jetson, recalibrated the camera alignment and belt regions for its view, and ran the treadmill workflow on the live stream. The new view needed a fresh alignment reference, and I adjusted the belt regions so they still cover each belt fully. In a short initial run, the workflow kept up with the stream and the displayed states matched what was happening on the treadmill. I haven’t measured check time or delay on the wireless path yet, so those will come with the longer runs.
- Stream interruption: I did a first check of what the display shows when the wireless stream drops or the lens is blocked. Blocking the lens still switched the display to UNKNOWN as it did with the wired camera. I still need to time how long the display takes to switch after the last frame and confirm that it recovers cleanly when the stream reconnects.
- Dashboard and testing prep: I continued working on per-treadmill availability in the dashboard’s user view and started planning the 30 minute live run and the filmed step-to-display delay test so they can run on the wireless setup instead of the wired one.
What I learned and how I learned it
Building the treadmill workflow meant learning several things I hadn’t used before: running and profiling vision models on the Jetson Orin Nano, aligning a camera view with OpenCV feature matching (ORB features and a RANSAC homography), and turning noisy per-frame results into a stable displayed state through voting. I also had to learn how to verify a system like this properly, including precision, coverage, percentile timing, and why a test set has to be separate from the clips used for tuning.
The most useful lesson came from the Jetson performance work. At first I assumed the model was the bottleneck. When I timed each stage separately, I found that camera alignment took a large share of each check. Cutting the ORB features from 3000 to 1000 and limiting the visibility check to the belt regions brought the p95 check time from 444 ms to 160 ms. Because I replayed the same labeled clips and compared the voted states, I could confirm that the speedup didn’t change any output. A similar lesson came from integration: one shared worker couldn’t keep up on the Jetson, which taught me to measure each workflow’s load before deciding how to split the processes.
My main learning strategies were:
- Documentation and tutorials: the OpenCV feature matching and homography tutorials, and NVIDIA’s Jetson documentation for power modes and memory limits.
- Forum posts: NVIDIA developer forum and Stack Overflow threads when Jetson-specific problems came up that the documentation didn’t cover.
- Short videos: to understand the ideas behind homographies and RANSAC before tuning parameters.
- Controlled experiments: changing one parameter at a time, rerunning the same labeled clips, and checking per-check logs to see which stage changed.
- Course material and teammates: the verification lectures and design review feedback helped me structure the acceptance tests, and comparing notes with Jerry and Harry on their replay and TensorRT work saved me from repeating some dead ends.
Schedule status
I’m on schedule. The treadmill workflow runs on its wireless camera, so the next step is combined operation with the other two workflows. We’re still working on UC gym recording access, so the apartment gym remains our live test site for now.
Deliverables for next week
- Run all three wireless feeds together on the Jetson and log skipped checks, interruptions, and delay for the treadmill.
- Measure the full step-to-display delay on the wireless path by filming the treadmill and tablet together, and check it against the 5 s target.
- Complete the 30 minute live run and compute per-treadmill coverage.
- Score the vacancy precision acceptance set (30 free, 30 occupied) on new recordings labeled by a teammate.
- Finish per-treadmill availability in the dashboard’s user view.
