The system replaces cash registers with a network of cameras, weight sensors and a smartphone app.