This a great idea for self-defense. A suggested improvement would be to have a mini led screen and keyboard built into the gun handle. That way the user i.e. shooter would need to login with a password before the gun would fire. Now that’s gun safety.
And randomly it would want you to complete the CAPCHA image thing 5 times to verify for security reasons. If you encounter this with an intruder is inside your home you’d be dead