Skip to content

Feat/drop support of face recoginition library#13

Merged
IliasHad merged 40 commits intomainfrom
feat/drop-support-of-face-recoginition-library
Dec 26, 2025
Merged

Feat/drop support of face recoginition library#13
IliasHad merged 40 commits intomainfrom
feat/drop-support-of-face-recoginition-library

Conversation

@IliasHad
Copy link
Copy Markdown
Owner

@IliasHad IliasHad commented Dec 10, 2025

Major updates

This update replaces the old face_recognition + custom emotion detection stack with DeepFace, improving stability, performance, and OS coverage ( Linux/arm64 ), where dlib caused repeated build and runtime issues.

DeepFace now handles face detection, recognition, and emotion analysis in a single, unified pipeline.


Why This Change?

1. dlib Causes Problems on Linux/arm64

  • Difficult to compile
  • Slow builds
  • Big Docker Image

2. DeepFace is more stable and lightweight

  • Face detection
  • Face embeddings (recognition)
  • Emotion analysis
  • Swappable models

This eliminates the need for multiple libraries and custom emotion plugins.


What’s New?

1. Unified Face + Emotion Pipeline Using DeepFace

All face operations now run through DeepFace, removing the need for separate extraction and emotion detection plugin.

2. Replaced JSON Face Database with Folder-Based Structure

Instead of storing face metadata in a large JSON file that grows endlessly, the system now uses a directory structure:

/faces/
personName1/
img1.jpg
img2.jpg
personName2/
img1.jpg

@IliasHad IliasHad force-pushed the feat/drop-support-of-face-recoginition-library branch from f1cf6ba to bce7297 Compare December 26, 2025 12:58
@IliasHad IliasHad force-pushed the feat/drop-support-of-face-recoginition-library branch from d25ec95 to 7ec54fa Compare December 26, 2025 13:57
@IliasHad IliasHad merged commit fb73e09 into main Dec 26, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant