Accurate cyber-physical system simulation for distributed visual search applications