90 likes | 262 Views
Defender. Turret Based Defense System. Kirk Iler Brian Bentz Stephen Wolf Fuhe Xu. Image Processing. Input: Picture Convert RGB to HSV, threshold over hue (color) Remove noise on picture Flood fill regions, choose largest Calculate Centroid and axes of largest region
E N D
Defender Turret Based Defense System Kirk Iler Brian Bentz Stephen Wolf FuheXu
Image Processing • Input: Picture • Convert RGB to HSV, threshold over hue (color) • Remove noise on picture • Flood fill regions, choose largest • Calculate Centroid and axes of largest region • Calculate distance (Z) based on major axis size • Calculate X and Y based on distance and angle to centroid • Calculate firing parameters(Angle) • Progress: Written, Tested, fully functional, needs parameters
Ethernet • Between Java GUI and C++ image processing • Packet capture libraries • C++ winpcap library • Java jnetpcap library • Progress: written, tested, functional, needs parameters
USB • Communication between processor and microcontroller • PIC Family libraries • USB Embedded Host Stack • Progress: not yet begun
I2C Peripherals • I2C Buses between control micro and components • Port Expansion to: • Firing Controls • Charging Controls • Photodiodes • Stepper Motors • Keypad • Signals encoded/decoded on micro • Progress: Not yet begun
I/O • Keypad • I2C/UART bus on Microcontroller • Sent by USB • Camera • Tied directly to image processing • On Atom board • User Input • Java GUI