Artificial intelligence used to stop shoplifting