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.