Use of artificial intelligence in fighting crime