Temple University is turning to artificial intelligence to strengthen campus safety and help prevent gun violence.