The businesses have to connect their cameras to the police department’s Real-Time Crime Center for at least two years.