Nicole Stodola, Chris Pederson and Gerry Finlay Curling Coach Nicole Stodola, Chris Pederson and Gerry Finlay Group 15
Project Motivation Between Chris and Nicole we have 40+ years of curling experience Most important aspect of a curling delivery is level shoulders Improvement to the standard way of delivery verification
System Block Diagram System Startup Mode Selection Analyze Mode Save Mode Review Mode Video is Analyzed as curler delivers Video is saved to SD card Video is retrieved from SD card and analyzed
Group Responsibilities Chris Pederson - Touch screen menu Nicole Stodola - SD card and audio Gerry Finlay - Image Processing
Hardware Block Diagrams Audio Module SD Module Speaker Video Module Menu Module VGA Touch Screen Camera Analyze Save Review
FPGA and Other Components Video Module ADV7181B Video Decoder ADV7123 VGA Output Image Processing implemented using VHDL Audio Module WM8731 Audio CODEC chip Implemented using VHDL SD Module Menu Module Terasic Multi-touch LCD module
Software Organization Determine mode of System Start video analysis Start video capture Access SD card memory Trigger Audio Save video to SD card Start video playback Analyze Save Review
Code - Image Processing Algorithm Prototype for(int i = 0; i < img.getWidth(); i++){ for(int j = 0; j < img.getHeight(); j++){ rgb = getPixelData(img, i, j); int t = rgb[2] + rgb[1] + rgb[0]; if ((t/3 < 100 && rgb[2] > 100) || (t/3 < 150 && rgb[2] > 150 )){ Color w = new Color(255,255,0); img.setRGB(i,j, w.getRGB()); }
Image Processing: Before and After
Challenges Features to Add or Remove Target tracking and identification Controlling mode selection through software Saving video into memory Features to Add or Remove Remove Touch Screen replaced with 4 push buttons Removing Save and Review modes Add More sensors to track additional body parts Play video on LCD touch screen
Test Plan VHDL testing C Testing System Testing Test each module separately Testbenches for all VHDL C Testing Unit testing Framework System Testing Test with a competitive curler Edge cases Different slides Obscure target