I'd be first one to point out that many military related technologies often have overall peaceful impact. My favorite example would be anti tank mine. It has to be dug on the spot, so it's used mostly defensively. It costs around 5$ to make and simple infantry soldier can blow up multi million dollar invading tank. Stuff like that allows poor countries to be independent. Or rich countries get to spend on social causes too.
But anything that removes personnel from the front line usually makes transgression easier. The national will to fight becomes less important and wars are dubbed just as "operations". Perfect example would be the MQ-1 Predator.
I think you made very honorable choise. Good luck on your career.
I'd like to learn more about the gait recognition research. Do you have any links or references?
For example here:
I was recently approached to be a head of a self-driving car project; when I learned it was for military vehicle, I left the conversation. Maybe it would have been used for peaceful purposes occasionally (natural disasters), but I don't want to have my creation drive on its own somewhere in Middle-East and kill everyone around. It is an international project as well with the approval of leading governmental institutions to make it more fun and to give you some food for thought...