Privacy-Preserving Federated Learning for Collaborative Detection