Harry’s Status Report For 11/21

Accomplished

This week the wireless cameras arrived, and I set one up for the squat rack workflow. I ran the workflow on the live stream and started adjusting the exclusion zones for the new camera angle. I focused on keeping nearby equipment outside the detection area while making sure a real bag near the boundary would still be detected. The initial runs looked consistent with the wired setup. I’m also checking whether the wireless image quality affects the false bottle detections we saw during the interim demo.

Working on the rack workflow taught me how to profile and optimize a vision pipeline on the Jetson. Timing each stage showed that Grounding DINO dominated inference time. I tested a fine-tuned YOLO detector and a hybrid that periodically verified YOLO detections with DINO, then learned to export DINO to ONNX and build a TensorRT FP16 engine. I compared outputs on identical frames to check whether changes in precision and preprocessing affected the final rack states.

My main learning strategy was to isolate one change and measure its effect. I used per-stage timing logs to locate bottlenecks and read NVIDIA’s documentation to understand TensorRT’s kernel selection and operation fusion. Live testing also helped me understand how camera alignment and region geometry affect detection. When refining exclusion zones, I check both false detections from nearby equipment and missed belongings near the boundaries.

Schedule status

The wireless rack workflow is running, and the exclusion zone fixes are still in progress. Next week I’ll test those changes more thoroughly and help run all three wireless feeds together on the Jetson. This follows our updated schedule for combined validation before the final demo.

Deliverables for next week

  • Refine the exclusion zones and test belongings near their boundaries. Check false bottle detections and whether passers or nearby equipment affect the rack state.
  • Run a real five-minute unattended rack test, including an early return and item removal. Have a teammate record the expected events before reviewing the dashboard, then compare alert precision and recall with the 90% targets.
  • Run all three wireless feeds together. Measure rack processing time and skipped checks, check fresh definite-state coverage against the 90% target, and verify that alerts reach the dashboard within 10 seconds after five minutes of confirmed absence. Also check that a stream interruption shows uncertainty and that updates resume after reconnection.

Harry’s Status Report For 11/14

Accomplished

This week I finished optimizing the squat rack workflow for the interim demo. I tried fine-tuning a smaller YOLO model to replace Grounding DINO, but it missed some belongings. I also tried a hybrid approach where YOLO checked for items DINO had already confirmed, and DINO ran again when an item was new or uncertain. For the demo, I kept Grounding DINO Tiny and ran it with TensorRT FP16. The median time for a full rack check on the Jetson went from 995 ms to 449 ms, and the final rack states matched on all 64 checks in the recorded comparison.

I helped set up and test the interim demo. During live testing, we saw a few false bottle detections. We also saw that a real bag could be ignored if it was placed inside an exclusion zone. I ordered the three wireless cameras for the combined live tests.

Schedule status

We completed the interim demo this week, and everything is going as planned overall. I’m a little behind on the squat rack fixes, but I expect the exclusion zone changes to be quick.

Deliverables for next week

  • Improve the squat rack exclusion zones and run more live tests to make the workflow more reliable. I’ll check false bottle detections, belongings near the edge of the rack area, and what happens when someone returns or removes an item. I’ll also test a full five-minute unattended event.
  • Help set up the wireless cameras when they arrive and run all three workflows together on the Jetson. During a longer run, I’ll check rack accuracy, how often checks are skipped, and how long it takes for an alert to reach the dashboard.

Harry’s Status Report For 11/7

Accomplished

This week I finished profiling the squat-rack workflow on the Jetson. The belongings detector was taking up most of the check, so I moved Grounding DINO Tiny to TensorRT FP16 and reduced the cost of camera alignment. On four recorded development clips, the median time for a full rack check went from 995 ms to 449 ms, and the 95th percentile went from 1,107 ms to 463 ms. Board RAM peaked at 3.67 GB in the optimized run.

I verified that the speedup preserved rack state accuracy on the same clips. I helped write the scheduler, integrate all three workflows on the Jetson, and test the setup in person. In the combined replay, every completed rack check finished within its one-second period, meeting the rack’s 1 Hz timing target for those checks.

I also helped prepare the interim demo slides.

Schedule status

The rack optimization and combined Jetson validation are on schedule for the interim demo. We finished the team demo video.

Deliverables for next week

  • Finish the interim demo slides.
  • Update the Gantt chart with our progress and remaining tasks.
  • Run longer, more thorough live tests with all three workflows on the Jetson. Measure rack accuracy and latency throughout the run and verify both against the design requirements.

Harry’s Status Report For 10/31

Accomplished

This week I filmed longer squat-rack videos and tested them offline on the Jetson before moving the workflow to a live camera feed. Our earlier clips were useful for checking individual states, but the longer recordings gave me more continuous activity to review and repeat while testing.

After the offline tests, I got the rack workflow running directly from the camera on the Jetson. It now captures and processes incoming frames rather than reading from a saved video. I focused on whether inference keeps up with the feed and whether the observations used to update the rack state are still current.

I also began profiling memory usage, per-check latency, and throughput during these runs. These measurements give us an individual baseline before we combine the rack workflow with the treadmill and bench checks. Live inference is now running, but the full camera-to-tablet path and five-minute unattended scenario still need testing.

Schedule status

The live camera feed completes the next deployment step after last week’s offline Jetson run. Profiling is underway, but we still have not completed a combined three-workflow test or connected the full live path to the tablet, so integration remains behind our earlier schedule.

Next week I will prioritize the shared Jetson run with Jerry and Alan. I will compare the rack’s individual measurements with its performance under the combined workload and help address any processing delays before the interim demo.

Deliverables for next week

  • Run the live rack workflow alongside the treadmill and bench workflows on one Jetson.
  • Compare individual and combined memory usage, latency, and throughput.
  • Connect live rack observations to the tablet display.
  • Test a full five-minute unattended scenario and a return before the timer expires.

Harry’s Status Report For 10/24

Accomplished

I started this week by reviewing the design report feedback and working on incorporating it into my squat-rack design. I also got the squat-rack setup and detection workflow working on the Jetson using offline video. This gives me a working starting point on our intended hardware. I was able to achieve the same model accuracy as the laptop deployment, which was expected, but it was a good sanity check.

The next step is to test the workflow with frames arriving continuously from a camera. I still need to establish whether live inference keeps up with our intended checking rate. I will also profile memory usage, latency, and throughput so we have actual measurements to use when planning the combined workload.

Schedule status

The offline Jetson run completes part of the hardware work planned in my last report. However, profiling remains unfinished, and live-camera testing and integration are still behind our earlier schedule. We have not yet run all three workflows together on one Jetson.

To catch up, I will prioritize the live rack test and individual performance measurements next week, then work with Jerry and Alan on a combined run. Measuring each workflow separately will give us a baseline for identifying any slowdown or memory pressure when they run together.

Deliverables for next week

  • Run the squat-rack workflow with a live camera feed on the Jetson.
  • Measure memory usage, per-check latency, and throughput, including whether live processing falls behind incoming frames.
  • Continue incorporating the design report feedback into the rack workflow and testing plan.
  • Work with Jerry and Alan to run all three workflows together on one Jetson and measure their combined performance.

Harry’s Status Report For 10/10

Accomplished

Most of my time this week went into the design report. I worked on the squat-rack sections, the design tradeoffs and helped formalize the use case / design requirements, as well as the testing and verification. I also helped make sure the design presentation feedback was fully incorporated into the report.

I also tested whether image subtraction could replace the belongings detector. On 29 scored observations, it got 25 right but made four false calls after someone collected their items. The person was still in the belongings area, and image subtraction detected that visual change without knowing it was a person rather than an item. The detector got 19 right, made no wrong calls, and reported ten as unknown. Image subtraction gave more definite answers, but these false calls mean I would not replace the detector based on this test. I added the results to the report. The subtraction threshold was chosen using the same clips, so it still needs testing on separate footage.

Progress

The rack workflow still runs on recorded video on my laptop. I did not run it on the Jetson or collect the longer rack scenarios this week because the report took priority. Those are the main gaps now. My planned first rack run on the Jetson is October 21.

Deliverables

  • Run the rack workflow on the Jetson and record check time, memory use, and failures.
  • Record longer rack cases with different belongings, passersby, and a full unattended period, once recording permission is settled.
  • Keep some footage separate from development and ask a teammate to review a sample of the labels.
  • Work with Jerry and Alan on the shared station output and the first combined test.

Harry’s Status Report For 10/3

Accomplished

Jerry and I filmed the videos for all three use cases together. We planned the recordings to cover the main states and as many edge cases as we could. Our four squat-rack clips show an empty rack, someone exercising with belongings nearby, someone leaving those belongings, and someone returning to collect them.

I built the squat-rack workflow in two phases. During setup, models find the rack and propose areas for exercise, nearby attendance, and belongings beside or in front of it. I built a region editor so a gym staff member setting things up for the first time can adjust those areas or exclude a neighboring machine.

During detection, the system checks video twice per second for people and belongings. It reports whether the rack is available, in use, waiting after someone leaves items, or unknown because the evidence is insufficient. The five-minute review rule is implemented, but our recordings are too short to demonstrate a real alert.

On the four development clips, 54 of 63 scored rack-state observations were correct and nine were unknown. Belongings presence was correct in 52 of 64 observations, with 12 unknown. I compared two belongings models on my laptop. The default took a median of 376 milliseconds per check. A faster alternative took 92 milliseconds but missed more items. I also separated the models needed only during setup from those needed on every detection check. This helps us plan what may run at the same time on the Jetson, although these are laptop measurements rather than Jetson results. The accuracy results come from one camera view and labels prepared during development.

Progress

The squat-rack workflow runs on my laptop, and the team now has separate laptop workflows for all three use cases. The Jetson baseline planned for the week of September 28 is behind schedule. I have not run my workflow on the board or tested three feeds together. We will first agree on a shared output format and measure each workflow on the Jetson, then try them together before deciding whether scheduling changes are needed.

Deliverables

  • Contribute the squat-rack implementation, results, and limitations to the October 9 design report.
  • Record longer rack scenarios with bags, headphones, passersby, people behind the rack, and a full unattended period. Keep some footage for a separate evaluation and have a teammate review a sample of the labels.
  • Work toward a three-feed Jetson test, measuring processing time and memory for each workflow before measuring them together.

Harry’s Status Report For 9/26

Accomplished

Most of my week went into working through the professor and TA feedback from our proposal presentation. To summarize, everyone agreed that the use case was valid, but questioned whether our implementation really fit it. A gym changes slowly, so we needed a better explanation of why we need models and a scheduler, how many cameras we actually need, and where our requirement numbers come from. These questions affect the cameras, parts, and software we would build, so I wanted to work through them before we went further with the design review.

I compared two proposed implementations: one where each camera covers a group of equipment, and another where we have one camera per machine. I estimated the UC gym to have around 10 treadmills, 6 squat racks, and 6 benches, and used that scale to compare setup, power, wiring, bandwidth, and processing needs. I calculated the dedicated-camera workload and put together a small script to see how sampling rate and processing time affect queue delays. These are estimates, and still need to be checked on the Jetson. I currently favor shared cameras covering small groups. A camera per machine would require 22 mounts, power connections, and feeds to maintain. Shared cameras reduce cost and wiring, but require confirming machine locations during setup. Camera count would depend on clear coverage, with separate machine groups to avoid cross-camera matching and double counting.

I also helped check the design presentation against the assignment guidance and worked on explaining the quantitative requirements. One thing the feedback pointed out was the difference between what the user needs and what each part of our system has to do to meet that need. For example, checking once per second and waiting for three consecutive observations takes up to three seconds after a change. Allowing another second for processing and updating the display gives a four-second budget within our proposed five-second target. That assumes the observations are fresh and correct, so it still needs testing. I also worked through what missing our accuracy targets would mean, like showing a treadmill as free when it is occupied or sending staff to check a station unnecessarily. We are still refining those justifications.

To get a better idea of whether shared-camera setup could work, I tried some models (Grounding DINO and SAM 2) on three treadmill photos. The straight-on photo gave five detections matching the five visible machines, including the one with a person on it. The diagonal view was messier, especially for distant machines and reflections, and some masks picked up parts of neighboring treadmills. This helped us think through camera placement and how much setup would be needed. It does not tell us how accurately we can detect whether a machine is in use. See below:

Progress

Behind on the parts order and the capture prototype. Our original schedule had parts ordering and the laptop prototype finished by September 25, with Jetson setup planned for September 28–October 9. I held off on ordering while we reconsidered the implementation, since one camera per machine would change a lot of what we needed. We had to sort out the general direction because it affected the whole team, but I recognize the order is now late. I will check the selected setup with the team, confirm what we can borrow, and submit the missing parts request as soon as possible. The laptop can now run models on still images, but I have not finished the recorded-video pipeline I planned last week. I will work on that while we wait for hardware.

Deliverables

  • Finish helping with the requirement explanations and design slides due September 27.
  • Update the parts list for the setup we plan to build, check inventory, and submit the order and Jetson loan request.
  • Get one recorded feed running through capture and inference, keeping timestamps and measuring processing time, memory, and how old each processed frame is. Repeat on the Jetson once we have it.
  • Agree with Jerry on the observation format and timestamps so my capture pipeline can connect to his application. Keep the results and remaining issues documented for the October 9 design report.

Harry’s Status Report for 9/19

Accomplished

Most of my week went into the parts list. I put together a bill of materials covering the Jetson Orin Nano Super, three USB cameras, storage, mounts, and the cables and adapters we need to actually get it running, and checked how the pieces fit together. A few things came out of that. The dev kit comes with a power supply and a WiFi module already installed, but no storage at all, so a card or drive has to be ordered with it. Its video output is DisplayPort rather than HDMI, so we need an adapter for whatever display we end up using. We also planned for a powered hub so that three cameras plus a keyboard and mouse are not all drawing from the board, and for active USB extensions, since the cameras need to sit well away from it and plain USB cables stop working past a few meters. I marked which items are worth checking the course inventory for before we order anything. I also started getting a development environment going on my laptop so the pipeline work is not blocked on hardware.

Progress

On schedule. The parts list was this week’s task and it is done. The laptop environment is started rather than finished, and I will wrap that up Sunday.

Deliverables

Submit the parts order and ask course staff about borrowing a Jetson in the meantime. Get the laptop prototype running a detector on recorded video with timing. Help write the design presentation slides due 9/27.