Artificial intelligence aids automatic monitoring of single molecules in cells