Alan’s Status Report for 11/21

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.

Alan’s Status Report for 11/14

Accomplished

This week I prepared the treadmill workflow for the interim demo and compared our measured results so far against the design report’s targets.

  • Interim demo: Our demo is organized around the treadmill workflow. I prepared it and presented its results, and it passed our demo checks and is ready to show live. The demo view puts the frame each model analyzed beside the user and staff dashboard views, so viewers can see why each state was shown.
  • Treadmill performance: I made camera alignment cheaper (1000 instead of 3000 ORB features) and limited the visibility check to the belt regions. The 95th percentile check time on the Jetson dropped from 444 ms to 160 ms with identical voted states.
  • Live integration: With one worker per workflow (one shared worker could not keep up on the Jetson), we recorded a 5.5 minute live treadmill + rack session in the gym and ran a separate live treadmill check on a portable treadmill.
  • Wireless cameras: We ordered the three wireless cameras that will cover the distance between stations, and are waiting for delivery.

Verification of the treadmill subsystem

The design report proposes these treadmill targets: at least 92% vacancy precision, an occupancy change shown on the tablet within 5 s (3 s to confirm, 2 s to deliver), at least 90% definite shown states (coverage), and a p95 check time within 500 ms so one camera can be checked twice per second.

Measured so far (Jetson Orin Nano)

MetricTargetMeasuredSource
Check time p95≤ 500 ms160 ms (was 444 ms)Labeled clips
Vacancy precision≥ 92%310/315 = 98.4%Labeled clips
Definite shown states≥ 90%416/444 = 93.7%Labeled clips
Event to confirmation≤ 3 s1.0 to 3.53 sLabeled clips
Checks on timeall636/637 and 130/130Live sessions
Peak RAM< 6 GB3.6 GBLive treadmill + rack
  • Precision: All five wrong AVAILABLE states fell inside labeled step-on/step-off windows, with no steady-state errors, missed changes or false flips.
  • Delay: The one 3.53 s transition is over the 3 s confirmation budget, so the 5 s total only holds if delivery to the tablet stays under about 1.5 s. In the live session, IN USE appeared 0.9 s after the first occupied check and AVAILABLE 2.5 s after the first free check, which matches the voting rules. Because the physical step was not timed independently, these are system-side delays, not the full event-to-display delay.
  • Blocked views: In the live runs, covering the lens and standing in front of the camera both switched the display to UNKNOWN instead of a stale AVAILABLE. Passers and someone standing beside a belt did not cause false states.
  • Limits: The labeled clips were also used during development, and the live sessions were with teammates, so none of these are independent accuracy tests yet.

Tests planned

  • Step-to-display delay: I’ll film the treadmill and tablet together with a visible timecode over at least 10 step-ons and 10 step-offs. Each delay is split into confirmation and delivery, and every change must reach the tablet within 5 s.
  • Vacancy precision acceptance: As part of the team’s scripted live scenarios, I’ll score 60 decisions (30 free, 30 occupied) on new recordings with frozen settings. A teammate who didn’t build the workflow will label them without seeing predictions.
  • 30 minute live run: At my apartment gym, I’ll log checks on time, skipped checks and UNKNOWN time per treadmill to compute coverage on live input. This is the first live run longer than a few minutes.
  • Camera unplug: I haven’t tested unplugging yet. I’ll unplug the camera for 10 s and confirm the tablet shows UNKNOWN about 5 s after the last frame and recovers on reconnect, then repeat this on the wireless cameras at the intended locations.

Analysis: Each planned test produces the same metric as the table above, so new results compare directly with the targets. The new recordings show whether 98.4% precision and 93.7% coverage hold outside our development clips, and the filmed delays show whether delivery fits in the time left after confirmation. If a target is missed, the per-check records show which stage ran over, and any recording used for tuning gets replaced for acceptance.

Schedule status

I’m on schedule: the treadmill pipeline, live integration and demo are done, and verification has started. The main risk is that we haven’t requested UC gym recording access yet, which our test protocol needs. Until then, the apartment gym is our live test site.

Deliverables for next week

  • Request UC gym recording access.
  • Complete the 30 minute live run and compute per-treadmill coverage.
  • Measure full step-to-display delay on the Jetson-to-tablet path.
  • Run the camera unplug test.
  • Show per-treadmill availability in the dashboard’s user view.
  • Set up the wireless cameras once they arrive.

Alan’s Status Report for 11/7

Accomplished

This week I profiled the treadmill workflow on the Jetson and worked on getting the three workflows to run together.

  • Performance: I reduced the cost of camera alignment and limited the visibility check to the belt area. The 95th percentile check time on the slower clip dropped from 444 to 160 ms, and vacancy precision stayed at 98.4% on our labeled clips.
  • Combined run: I ran all three workflows together for 15 minutes on recorded inputs and added a worker per workflow to the camera runtime. I also helped test treadmill and rack together on live cameras.
  • Demo: I organized the live testing and filming, added a view that shows the analyzed frames beside the dashboards, and edited the finished demo video.

Schedule status

The combined validation is on schedule and the video is complete. I’ll check the walking pad setup for the in-person demo.

Deliverables for next week

  • Order the three wireless cameras.
  • Measure the delay from stepping on or off to the dashboard update during longer live tests.
  • Check how the display responds to blocked views and camera interruptions.

Alan’s Status Report for 10/31

Accomplished
This week I moved the treadmill workflow from recorded footage to a live camera feed on the Jetson. The board now processes incoming camera frames and updates treadmill states while the camera is running.
– Live input: I used recorded-video runs first to check the deployment, then switched to the camera. This let me examine capture and processing together, including whether the workflow keeps up with incoming frames.
– Performance: I began profiling memory usage, per-check processing time, and throughput. I also looked at the parts of the update delay separately. Capture, sampling, inference, and voting all contribute, so timing the pose model alone would not tell us how quickly a live change is detected.
– Difficult views: I continued checking cases where someone is partly hidden by the console or standing beside the belt. These cases also matter when evaluating lower resolution or frame skipping. I have not adopted either as the final configuration because we still need to compare their accuracy and delay.
Schedule status
Live treadmill inference is now running on the Jetson. The remaining integration work is getting those live states onto the tablet and checking performance while the rack and bench workflows run on the same board.
Next week I’ll prioritize the combined run and measure the time from a live step-on or step-off event to the corresponding tablet update. That will give us a measurement of the complete path before the interim demo.
Deliverables for next week
– Run all three live workflows together on the Jetson with Harry and Jerry.
– Measure step-on and step-off delay through the tablet display.
– Compare processing time and observation freshness when running alone and under combined load.
– Check blocked views and camera interruptions.
– Evaluate lower-resolution or frame-skipping changes against the current configuration.

Alan’s Status Report for 10/24

Accomplished

I started this week by going through the design report feedback that applies to the treadmill workflow. I made the treadmill behavior more specific: when a reading counts as unknown, what starts and stops the unattended timer, and how we separate measured laptop results from planned Jetson behavior. Some feedback asked for clearer justification of using a pose model instead of simpler image methods. To answer it, I wrote up the comparison I ran before the report and explained how the delay in the pose model’s updates affects how fresh the treadmill status is.

I also began moving the treadmill workflow onto the Jetson Orin Nano. I set up the environment and dependencies for the pose model and started running it on recorded treadmill footage. The aim is to confirm that the board gives the same results as the laptop before testing with a live camera. Alongside this, I looked at ways to reduce the update delay, including skipping frames and lowering the input resolution, so we have options ready if the treadmill check turns out too slow on the Jetson.

I also worked with Jerry on hard treadmill views, such as a person partly blocked by the console or standing next to the treadmill instead of on it. In those cases the workflow should return an unknown reading rather than a confident wrong answer.

Schedule status

Setting up the Jetson is progress on the hardware work we planned for the week of October 19. However, I have not finished running the treadmill workflow on the board, and live-camera testing and integration are still behind our earlier schedule. I also have no performance measurements on the Jetson yet.

To catch up, next week I will first get the treadmill workflow running on recorded footage on the Jetson and measure it, then move to a live camera. Harry and Jerry are doing the same for their workflows, so all three of us will have individual baselines before we run everything together.

Deliverables for next week

  • Run the treadmill workflow on the Jetson with recorded footage and confirm it matches the laptop results.
  • Measure memory usage, per-check latency, and throughput, and check whether the update delay still meets our freshness target.
  • Run the treadmill workflow with a live camera feed on the Jetson.
  • Keep testing difficult treadmill views and confirm that unclear cases return unknown.
  • Work with Harry and Jerry to run all three workflows together on one Jetson and measure their combined performance.

Alan’s Status Report for 10/10

Accomplishments this week

Most of my time this week went into the design report. Feedback asked us to justify our design choices with real comparisons, so I ran a few quick experiments on my laptop using our existing treadmill clips. No training was involved.

– Image subtraction vs. our pose model: Feedback asked whether simple image subtraction could replace deep learning, so I tested several classical methods on our two treadmill clips. The best one compared each frame with a photo of the empty belt and got 87.8% of checks right. However, it made 14 errors on settled states and flagged 11 of 20 people walking past as using a treadmill. The pose model got 98.6% right with zero errors, because it checks whether someone’s feet are actually on the belt instead of reacting to any change in the image.
– Delay: Our worst case of 3.5 s of delay breaks down into about 1 s where even the label was ambiguous (mid-step), 0.5 s of model lag, and 2 s of voting. Measured from when a person could actually tell, every change showed up within 2.5 s, well under our 5 s target.
– Voting rules and model size: Other voting windows made no fewer errors and only added delay, so we’re keeping 3 of 4 checks for “in use” and 5 of 6 for “available”. The larger YOLO11s-pose model gave the same results at about twice the CPU time, so we’re sticking with YOLO11n-pose.
– Test planning: I worked out how many trials we need to back up our accuracy targets: at least 36 error-free trials to support 92%. This set the size of our test plan.

Classical image-subtraction methods vs. the pose model on our treadmill clips. The pose model (star) gets every check right; the classical methods trade missed people for false alarms.

I also double-checked our treadmill labels against the video.

Schedule status

The treadmill software is still ahead of schedule as a laptop prototype. However, since the design report took priority, I didn’t get to last week’s hardware tasks: the Jetson board check, the live camera-to-tablet test, recording new clips, and the recording permission. These are now my main risk. Our schedule has the first Jetson tests in the week of October 19, after fall break, so I’ll start with the board check since everything else depends on it.

Deliverables for next week

– Run the treadmill board check on the Jetson by October 21 (timing, memory, temperature), and compare it with my laptop results.
– Try a TensorRT export of the pose model, and keep it only if its results match.
– Run a live test from the C922 camera to the tablet, timing how long each change takes to appear.
– Submit the UC gym recording permission request, and confirm our backup gym.
– Record more treadmill clips with teammates, saving some for final testing only.

Alan Wang’s Status Report for 9/26

Accomplishments this week
This week, I prepared the design-review presentation and its supporting material. The package includes ten slides, architecture diagrams, design alternatives, a testing plan, a schedule, speaker notes, and scripts for generating the figures and slides. I also documented our decisions, preliminary evidence, and remaining questions so that this work can support the design report.
I included preliminary experiments investigating the vision approach. The detector check confirms that YOLO11n recognizes people and some common belongings, but its pretrained classes do not include weight plates. On generated gym stand-in images, some plates were assigned an unrelated class. This means the bench check needs its own validation and potentially training; a confident detection does not establish that the object is a weight plate.

Schedule status and corrective actions
The design-presentation work is in place, while camera-placement validation and real-footage testing remain open dependencies. These tasks need attention so that the design report can include evidence from representative scenes rather than only preliminary examples and simulations.
I will resolve the recording location and permission status with the team. If gym access is unavailable, we will use an appropriately authorized controlled setup with consenting participants. I will also help revise the presentation so that estimates, simulations, and measured results are clearly distinguished.

Deliverables for next week
•    Finalize the vision-related claims and figures for the design presentation due September 27.
•    Prepare a scene checklist covering occupied and empty treadmills, belongings left at a rack, an empty bar, plates on a bar, and plates correctly stored nearby.
•    Collect an initial approved set of staged examples and document the camera angle and lighting. If approval remains pending, finish the test protocol without recording unapproved gym footage.
•    Compare simple image processing with a detector-based approach and document failure cases.
•    Determine what additional labeled plate data is necessary before beginning a larger training effort.

Alan’s Status Report 9/19

Accomplished

This week I looked at how much of our detection we get for free from a pretrained model. I went through the classes it covers and wrote a short script to run it over gym images and count what it finds. People, backpacks, handbags, and bottles are all classes it already knows, which covers most of what gets left at a rack. Weight plates are not, and neither are towels, so the bench check will need training on our own labeled images rather than working out of the box. That is what we expected, but it is good to have it confirmed early. I also started looking into whether any public datasets include gym plates so we do not have to label everything from scratch.
I started on camera placement as well. The main issue is that people and equipment block the view, so I have been working through mounting height and angle for each check and what each camera has to be able to see. The bench camera is the tricky one, since it needs both the bar and the plate storage area in frame so we can tell plates that were put away from plates left on the bar.

Progress

Mostly on schedule. The detector work is done and the plate result was not a surprise, since time to collect and label images is already in our schedule. The camera placement plan is started but not finished, and I will finish it Sunday.

Deliverables

Finish the camera placement plan and take photos of the candidate positions. Record a first round of footage, at the gym if permission comes through and at a mock setup otherwise, and start labeling plate images. Help with the design presentation slides.