Face detection is currently duplicated across three plugins (age_and_gender_detection, deepfake-detection, face-detection-recognition), each with its own model file and implementation. This creates unnecessary code duplication and makes maintenance difficult.
Create a centralized face detection service plugin that provides a unified API for face detection. Refactor the three existing plugins to consume this shared service instead of maintaining their own detector implementations. Pick the best face detection among the ones used in the plugins and return outputs in a standard format that is usable across multiple services.