Ankita’s Status Report for 11/21

Accomplishments

This week I started prototyping the computer vision feature for replaying a pool shot from overhead. I set up a Python/OpenCV workflow and reviewed frames from a CapSure recording. Several balls and table rails were visible while the player was aiming, but the camera turned away around the shot, leaving the ball’s full path out of view.

Progress/Schedule

I’m on track for an initial prototype. The footage review narrowed the first milestone to mapping visible balls onto an overhead view during a short, steady segment.

Deliverables

Next week I plan to manually calibrate an overhead view from a clear frame, plot the visible balls, and test whether I can track them across consecutive frames.

New Tools and Learning Strategies

I learned how to use OpenCV’s VideoCapture to pull frames at specific timestamps and why table reference points matter when mapping ball positions to an overhead view. I learned through hands-on experimentation with a real CapSure clip, comparing frames side by side to see how camera motion, blur, and cropping affected what I could track.

Team Status Report for 11/21

Team Progress

Our team worked this week on the features and improvements discussed during our Interim Demos. This includes collecting more video footage in order for Ankita to work on CV features, and designing enclosure and changing layout for a more compact system. We are integrating our new camera and determining its limits.

Risk Mitigation

Major risks now are determining if the footage quality that CapSure records is detailed enough for accurate computer vision. A CV idea in mind is to recreate the shot playback in bird’s eye view. Another small risk is designing a neat enclosure with proper holes for the wiring paths from the ESP to buttons/switches on brim as well as a slots for the camera and LED to poke out. As we don’t have much experience designing, this may prove to be a challenge, especially when 3D printing because we may need to splice our design and hot glue parts together in order to avoid printing with supports.

Changes

No major changes have been made. We are working on compacting our design which moves our system to a smaller mini breadboard (for now).

Jayden’s Status Report for 11/21

Accomplish

This week I helped build the second version of the CapSure hardware. Compared with the interim demo prototype, v2 has much cleaner dimensions, tidier wiring and more permanent soldered connections, which brings it much closer to the final wearable. I worked with Clarence on the wiring and soldering and made sure that the firmware and connections still operated normally. I also built a Blender layout of the enclosure, which we will use in order to improve the footprint of the device.

Progress/Schedule

My software work is on schedule, however I will need to investigate ways to improve the frame rate because now that we have switched a camera there is a bit more overhead to manage to bring our fps back up to 24.

Deliverables

Next week I plan to focus on testing, finalizing the build of the v2 prototype by iterating through a few different versions of the 3d modelled enclosure. Importantly, video quality and heat management are at the top of the priority for the testing phase.

New Tools and Learning Strategies

I have started to use blender because I find it a good way to model 3d objects and also visualize how it owuld look with an esp, camera and battery attached to it. For learning strategies, I found that using AI to help provide detailed feedback and account for unforeseen problems in our designs has helped reduce the amount of blockers we encounter.

Clarence’s Status Report for 11/21

Accomplish
This week, I worked on compacting our physical electronic system onto our smaller breadboard we ordered. By transitioning from Dupont jumper wires to basic stripped wires we can cut down a lot of excess wire and space taken up. The mini breadboard layout also paves the way for a true breadboard-less version that we would essentially stuff into a 3D printed enclosure. I’ve also begun designing a specialized battery clip that will hold the LiPo battery in the back of the hat to balance the weight from the frontal ESP. I also helped test our new OV5640 camera and solder more components for our system.

Progress/Schedule
Our progress is on track.

Deliverables
Next week I hope to have our battery clip and next enclosure iteration 3D printed and on the hat for testing. Additionally, I will place an order for a temp gun (IR thermometer) to test our thermal requirements.

New Tools

Over the course of CapSure, I’ve learned how to use OnShape to CAD. To do this, I consulted LLMs as well as simple YouTube tutorials or Google searches on how to access certain tools and transformations. Adjacent to this, I learned how to gain access to TechSpark’s services which I’ve never used during my academic career so far. All I had to do was set up an FBS account.

Ankita’s Status Report for 11/14

Accomplish

This week I helped prepare our interim demo and worked with Jayden and Clarence to finish their parts of the MVP. I recorded clips at the pool table for the demo, helped Jayden with color correction on the footage, and helped Clarence solder components for the hat-mounted prototype. I also started planning the computer vision (CV) portion of our new shot analysis feature.

Progress/Schedule

Most of the firmware work is complete, with additional stress testing still to do. I started planning the CV feature this week and will move into implementation next week.

Deliverables

Next week, I plan to build an initial version of the CV shot analysis feature and try it on the pool table footage we recorded. I’ll also continue stress testing the firmware, focusing on whether repeated button presses reliably save clips.

Verification

During the interim demo, we showed that CapSure could record and save clips, transfer them to a phone, and play them back. For the next round of firmware testing, we plan to press the record button 100 times and check that each press saves a clip.

Team Status Report for 11/14

Team Progress

Our team made significant progress to meet all our MVP features for the Interim Demos. We’ve upgraded our resolution (at the cost of FPS), implemented a blue/green billiard color detection threshold (specific threshold still needs to be tested once we receive our mini billiards table), and confirmed our system works off of LiPo battery power. We also showed successful clip transfers and clean playback.

Risk Mitigation

The major risks now are compacting our system design so it ergonomically seats on the bill of the hat. To do this, we will use resources from 18220/18349 lab and carefully plan out measurements for a new 3D printed enclosure. As a fallback option, Clarence placed an order for a miniature breadboard that is light and small enough to fit on the front of the bill.

Changes

We increased our resolution to 1280x720p and have placed an order for an upgraded OV5640 camera for further testing. We also added pool table detection as a feature for our project, since we had achieved most of the work corresponding to the MVP, and were able to get this done by the Interim Demo. We will continue iterating on this detection to ensure that it works under all types of lighting and is compatible with a wide range of pool tables. Furthermore, to add additional benefit for the user and to expand our use case to be for players wishing to get feedback on their pool shots, we’ve added a “shot analysis” feature to our project schedule. Ankita will begin developing the CV for the shot analysis features.

Validation

During the interim demo, we ran CapSure on LiPo battery power and demonstrated the full recording workflow. We used the hat-mounted button to save pool footage, transferred clips to our phone using the device’s WiFi, and confirmed that they played back cleanly. We also tested the blue/green table recognition using the UC basement pool tables and smaller green pieces of plastic/cardboard during the actual demo.

For our planned integration tests, we will run the ESP32 on battery power with the button, LED, and microSD card connected. We will press the record button 100 times and log whether each press produces the expected LED indication and saves a playable clip. We will also log whether each clip transfers to the phone, how long the transfer takes, and whether the clip plays back in the app. We will calculates the success rate at each stage and the percentage of button presses that result in a playable clip on the phone. We will compare those rates and the measured transfer times with the requirements in our design report. Logging each stage will help us identify where any failures occur.

Then, we will also test table recognition with a variety of conditions, including blue/green cloth and different lighting conditions. Once the mini billiards table arrives, we will repeat the tests to check whether the thresholds still work on that surface. We will record missed detections and false positives by each color and lighting condition, and also measure the achieved frame rate at 1280 x 720 in typical and dim lighting to check whether the higher resolution still provides smooth enough playback for shot review.

Once we have a more compact hat assembly, we will also finally weigh the complete system against the 100g limit and check whether it stays secure and keeps the table in view during normal play. We will measure battery runtime and component temperatures during repeated recording and transfer, then compare those measurements with the design requirements. After we build an initial version of the CV shot analysis feature, we will compare its output with manually reviewed pool clips to check whether it supports the intended shot-review use case.

Clarence’s Status Report for 11/14

Accomplish
This week I worked on getting our MVP onto the hat so we could demo all of our essential features in the demo. To do this, we used two clips to tape our breadboard/components onto the bill of the hat. In addition, I also soldered our second ESP to have pinheaders so that we could use the battery powered ESP with the rest of our system. I worked with Jayden to conduct testing on the battery-powered CapSure system to make sure clip saving and transfer features still worked.

Progress/Schedule
The progress is on track and I’ve successfully shown that the electronics work. To follow our updated schedule, I now need to work on removing the breadboard and soldering wires directly to components.

Deliverables
Next week deliverables need to be designs for our new breadboard-less system as well as planning out specifically where the battery should go on the hat (since the demo was very front-heavy). I also plan to start conducting our integration testing for battery life and thermal.

Verification

To verify the components of my subsystem, I tested to make sure the firmware worked while running on our LiPo battery power. I worked with Jayden for this to confirm that all features ran smoothly including button press, LED indication, and WiFi for clip transfer. Some other tests I need to run are thermal tests (I may need to look into purchasing an infrared thermometer) and weight checks (total mass doesn’t exceed 100g).

Jayden’s Status Report for 11/14

Accomplish

This week we gave our interim demo, and I had the full system working end to end, with clips transferring to the phone in under a minute. I added color correction to fix washed-out footage, raised the resolution to 1280×720, and extended table detection to blue cloth. I also improved the app with live memory usage, thumbnails, and automatic connection.

Progress/Schedule

I am on schedule. The core features were all working for the interim demo, and the work that remains is mainly refinement and testing. The main open items are color consistency, since auto white balance causes slight hue shifts under changing light, and confirming that 1280×720 holds a steady 24 fps in dim rooms.

Deliverables

Next week, I plan to finish the color pipeline with a white-balance lock and settle the final recording settings. I will also test edge cases like a full SD card and work with Clarence to connect safe shutdown to the power circuit.

Ankita’s Status Report For 11/7

Accomplish

This week, I built on the firmware plan by working through more of the ESP32 pin assignments and figuring out where the external components connect on the board. I focused on mapping the save button, Wi-Fi switch, and recording LED to their physical connections and making sure those connections lined up with the signals the firmware will read or control. I also plan to update our current schedule with a more detailed one for the coming weeks to better plan our roadmap as we finish our project.

Progress/Schedule

I was away at a conference from Wednesday through Sunday, which limited how much I could contribute this week. I spent the time I had clarifying the wiring plan. Checking those connections on the assembled hardware is my next step, and I plan to spend more time working with the team on the demo when I return.

Deliverables

Next week, I plan to review the remaining connections with the team and help test the controls on the demo setup. I’ll check that the firmware detects the save button and Wi-Fi switch correctly and that the recording LED reflects when capture is active. I also plan to help run through the full demo flow, from saving a clip on the hat to downloading it in the app, so we can identify and address any issues before presenting.

Jayden’s Status Report for 11/7

Accomplish

This week, I brought up the Wi-Fi link between the device and the phone app and worked to find what limits its speed. The ESP32 hosts its own access point and HTTP server, and I upgraded the app to Expo SDK 58 and added an in-app Wi-Fi test screen. After I attached the external antenna, throughput rose from 0.13 MB/s to about 0.5 MB/s. The device now builds clips on request from the stored two-second segments, supports resumable downloads then worked with Clarence to wire the save button, recording LED, and Wi-Fi switch on the breadboard according to our pin assignments. To work around the per-connection speed limit, I implemented parallel downloads on both the device and the app. Single-connection downloads work, but the parallel version is still timing out on hardware.

Following our shift toward pool players, I added pool-table detection. The device checks a downscaled camera frame and treats the table as present when it detects sufficient pixels in green, and only records when this condition is met. This adds a layer of security for the user and bystanders.

Progress/Schedule

Clip transfer is behind our 2.5 MB/s requirement and at the current speed of about 0.5 MB/s, a one-minute clip takes roughly 70 seconds to transfer. For the demo, we will read clips directly from the SD card. Table detection and gated recording are new features from the pool pivot, and both are working on the breadboard. To recover the transfer schedule, I will either get parallel downloads working or rebuild the firmware with larger TCP buffers to reach 2–3 MB/s.

Deliverables

Next week, I plan to raise clip transfer to at least 1.5 MB/s and measure the result with the benchmark script. I will also test table detection under pool-hall lighting, measure how often it misses the table or triggers without one, and tune the thresholds. I also plan to demonstrate the full path from a table-gated recording to playback in the app.