People buy guns primarily for home defence but they often end up being discharged accidentally and injuring the owner’s own family members.
There is also the danger that a burglar, confronted by a firearm, might get control of the weapon and shoot his way out.
Today’s invention is to fit domestic firearms with a small camera running face recognition software. This is now actually very reliable when asked to find the faces of only a small number of individuals.
It would therefore be trained to detect all one’s family members and used to control the safety catch on one’s home gun.
If this device was pointed at any of the designated people, then the safety would remain firmly on, avoiding some possible tragic consequences.