A Detroit police officer is recovering after accidentally shooting himself inside a precinct locker room.