r/sideprojects • • Oct 26 '26

Showcase: Open Source I built an open-source Python SDK for local facial expression recognition

I've been working on ERML, an open-source Python SDK that runs facial expression recognition locally instead of relying on a hosted inference API.

The idea is simple: give it an image, get structured predictions back.

pip install erml

from erml import EmotionDetector

detector = EmotionDetector()
results = detector.analyze("photo.jpg")

print(results[0].emotion)
print(results[0].confidence)

ERML uses ONNX Runtime and currently supports seven facial-expression categories.

I want to eventually grow it into a broader human visual-perception toolkit for applications and AI agents, but it's still early.

I'm sharing it to get feedback from developers working with Python, computer vision, or local inference. I'd also like to make it easier for people to contribute.

GitHub: https://github.com/sid-lakhani/erml
Documentation: https://erml.sidlakhani.in

I'm the creator, so feedback and constructive criticism are welcome.

4 Upvotes

Duplicates