akinia0315 GitHub avatar

voice-familiarity

akinia0315

A local, small-scale speaker identification component that tells a home assistant who is speaking (owner, registered familiar, unknown, or ambiguous) without blocking STT or acting as a security system.

Stars

11

7-day growth

No data

Forks

0

Open issues

0

License

Apache-2.0

Last updated

2026-07-12

AI repository intelligence
FR-AI / ANALYSIS

Why it is worth attention

It prioritizes privacy and robustness by running entirely locally, isolating model crashes in a subprocess, only storing embeddings (not raw audio), and explicitly disclaiming any security or liveness detection—making it trustworthy for personal voice interfaces.

Who it is for

  • Developers building privacy-first voice assistants for home use
  • Home automation enthusiasts who want speaker-aware interaction without cloud dependency
  • Researchers experimenting with replaceable speaker embedding backends in a constrained environment
  • Maintainers of open-source smart home platforms seeking a lightweight speaker diarization component

Use cases

  • Enable a home assistant to greet each family member by name and continue conversations with their personal context
  • Allow a voice diary system to attribute entries to the correct speaker in a multi-user household
  • Power a localized guest mode that treats unregistered voices as anonymous visitors without storing their data

Strengths

  • Local processing and ONNX subprocess isolation prevent audio/ML crashes from affecting the main voice pipeline
  • Privacy-focused: only stores normalized embeddings in SQLite, no raw audio retention, and no cloud uploads
  • Replaceable backend via a simple interface (model_id, embed) enabling custom or future models without API changes
  • Clear failure modes: returns 'unavailable' or 'unknown' rather than blocking transcription, ensuring robustness

Considerations

  • Not designed for security, authentication, or liveness detection; vulnerable to replay and deepfake attacks
  • Only handles up to 1 owner and 3 familiar profiles at a time, unsuitable for large-scale deployment
  • Performs poorly with overlapping speech, singing, very short utterances, or strong background music

README quick start

快速开始

Description

Local small-set speaker identification for personal assistant machines.

Related repositories

Similar projects matched by category, topics, and programming language.

lopopolo
Featured
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI & Machine LearningAI Agents
2,390
slvDev
Featured
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI & Machine LearningLarge Language Models
1,960
littledivy
Featured
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI & Machine Learning
1,482