A new AI system trained to identify knives could help “transform” how police forces tackle knife crime, researchers have said.