UMass-Rescue / UMass-Rescue/RescueBox
Plugin Refactor: Create a unified face detection service to eliminate duplication
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 6
- Forks
- 15
- Avg merge
- 14h 42m
- Merged PRs (30d)
- 7
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the face-detection implementations and model files in the age_and_gender_detection, deepfake-detection, and face-detection-recognition plugins. Determine which existing detector is best and define the shared service API and standard output format before refactoring the three plugins to consume it. Done means the duplicated detector implementations are removed and all three plugins use the centralized service.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-vision
- Issue type
- Refactor
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100