Skip to content

Implement Face Collections Feature (Backend) #467

Description

@rahulharpal1603

See more details in this Document

Description

Add face collections functionality similar to Google Photos, allowing users to view clustered faces and assign names to face groups.

Tasks

  • Modify database schema to store one embedding per row with unique face_id
  • Create new clusters table with cluster_id, cluster_name
  • Cluster using DBSCAN
  • Add re-clustering logic to preserve cluster names during updates
  • Create API endpoints:
    • PUT /face-clusters/:id - Update cluster names
    • GET /face-clusters/ - Get all face collections
    • One more route to get all images for a specific cluster

Expected Outcome

Users can view face clusters, assign names to people, and browse images by person.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions