Commit Graph

3 Commits

Author SHA1 Message Date
Accusys 3d441a1c76 release: v1.3.2 - Cross-Machine Deployment Support
Major Changes:
- Removed all hardcoded paths for cross-machine deployment
- Added unified path management module (path_utils.rs)
- Supports arbitrary user home directories
- Environment variable configuration for all paths

New Features:
- path_utils module with 15+ path resolution functions
- Dynamic user home directory detection
- Environment variable overrides for all paths
- Default paths using $HOME/momentry and $HOME/momentry_core

Fixed Files:
- Rust code: 8 core files (release.rs, service.rs, markbase_compat.rs, etc.)
- Python scripts: 10 files (ASR, ASRX, Face, Identity, VLM, Migration)
- Configuration: production.env (removed hardcoded paths)

Environment Variables Supported:
- HOME - User home directory
- MOMENTRY_ROOT - Momentry root directory
- MOMENTRY_CORE_DIR - Momentry_core directory
- MOMENTRY_OUTPUT_DIR - Output directory
- MOMENTRY_BACKUP_DIR - Backup directory
- MOMENTRY_STORAGE_ROOT - Storage root directory
- MOMENTRY_SCRIPTS_DIR - Scripts directory
- MOMENTRY_CLI_DIR - CLI tools directory

Breaking Changes:
- None (backward compatible with environment variables)

Deployment:
- Can now deploy to any machine with any username
- No hardcoded /Users/accusys paths in core functionality
- Ready for M4ProMini deployment (/Users/nextorageai)
2026-10-12 13:20:45 +08:00
Accusys c508c9ed72 feat: ASRX V2 - Pyannote 集成和真实特征向量
完成内容:
- ✅ Pyannote 集成 (ECAPA-TDNN 声纹提取)
- ✅ 真实特征向量 (192维声纹 → 128维降维)
- ✅ 层次聚类 (robust_speaker_clustering)
- ✅ Qdrant 批量存储

核心改进:
- 使用 SpeechBrain ECAPA-TDNN 模型
- 192维声纹特征提取
- 自动说话人数量估计
- 真实特征存储到 Qdrant

流程:
1. ASR 粗分割
2. VAD 多说话人检测
3. 重转录 (多说话人段)
4. 声纹提取 (ECAPA-TDNN)
5. 层次聚类
6. Qdrant 存储

状态: ✅ 完整实现
准确度: +15-20% (预期)
2026-10-08 13:45:21 +08:00
Accusys b1bb051160 feat: ASRX V2 - 多说话人检测和分段优化
实现内容:
- multi_speaker_detector.py: 多说话人检测模块
  - 中断频率分析
  - 音量变化检测
  - 频谱特征变化
  - 段落细分

- asrx_v2_processor.py: 主处理流程
  - ASR 粗分割
  - VAD 多说话人检测
  - 重新 Whisper (多说话人段)
  - 说话人分离
  - Qdrant 存储

- Qdrant _vad_segments collection: VAD 结果存储
  - 128维向量
  - 用于跨文件比对

新流程:
1. ASR → 粗粒度段落
2. VAD → 检测多说话人
3. 重转录 → 精细分段
4. 分离 → speaker_id
5. 存储 → Qdrant

预期改进:
- 多说话人检测: +20%
- 边界准确度: +15%
- 文本对齐: +10%

状态: ✅ 基础实现完成,待集成
开销: +15-20% 处理时间
2026-10-08 13:30:43 +08:00