Accusys
c7521f0e2b
fix: face cluster 過濾低品質單幀誤檢(如手/物體)+ 傳遞性同幀約束
...
Cross-Project Integration / integration (push) Has been cancelled
- 新增單幀品質過濾:若 trace 只有 1 個 face 且 avg_quality < 0.20 且
avg_conf < 0.65,排除該 trace(避免手/模糊物體被當作臉)
- merge_small_clusters 加入傳遞性同幀約束:合併前檢查兩群的 trace
是否有同幀衝突,避免不同人被合併
- 迭代式合併:每輪重新計算 centroid,確保鏈式合併使用最新資料
驗證:
- trace 16 (hand, quality=0.18, conf=0.59, 1 face) 被正確過濾
- 同幀約束防止女性 trace 20 與男性 trace 合併
- 1c6f40 測試: 5 persons → 4 persons → 最終 1 person (正確)
2026-11-20 01:43:01 +08:00
Accusys
2f15cb639c
fix: face cluster over-merge — merge_small_clusters 遵守同幀約束
...
Cross-Project Integration / integration (push) Has been cancelled
根因 (bd9ebfc):
- 影片實際 2 人(戴眼鏡男性 16 trace + 年輕女性 5 trace)
- seed-leader clustering 用 0.65 閾值把所有人合成 1-2 群
- apply_cooccurrence_constraints 正確拆出同幀女性 trace([SPLIT])
- 但 merge_small_clusters 用單純 embedding similarity (0.7) 又把拆出的
女性 trace 合回男性群(女性小脸 90x90 embedding 不準,sim 高達 0.98)
- 結果: frame 3 的男性 t2 和女性 t3 被標同一 Person_1 → over-merge
修復:
- merge_small_clusters 加入 cooccurrence_constraints 參數
- 改為迭代式合併:每輪重新計算 centroid,選最相似且無同幀衝突的群對合併
- 合併前檢查兩群的 trace 是否有 co-occurrence(同幀 bbox 不重疊)衝突,
有則拒絕合併([KEEP])
驗證: bd9ebfc re-run → frame 3 男性 t2=Person_1, 女性 t3=Person_7,
不同人不再合併;clusters 2→3(過度分割可接受,優於 over-merge)
2026-11-19 23:23:47 +08:00
Accusys
49b02c2d4f
fix: scene frame 越界導致 jpg 提取失敗、job 卡 ingestion
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
根因 (090.mp4):
- 影片 total_frames=300 (frame 0~299),但最後 moment 的 end=300 被選為
scene_004 的 frame_number → 越界 → ffmpeg 提取失敗 → scene_004.jpg 不存在
- extract_scene_frames 跳過失敗的 frame,但 profile.scenes 仍保留 →
scenes.json 有 5 scene 但只有 4 張 jpg → scene_vlm_done 判定 4≠5 → false
→ job 永遠卡在 ingestion 等待
修復:
1. generate_scene_profile: clamp 所有 frame_number 到 total_frames-1
2. process_scene_vlm: extract 後若 jpg 缺失,按 filename 比對移除對應 scene,
確保 scenes.json 與磁碟 jpg 一致
驗證: 090.mp4 re-run → scenes.json 4 scene 全 completed, 4 張 jpg,
ingestion all_ok=true, job completed
2026-11-19 21:53:56 +08:00
Accusys
532a2287c5
fix: Face Trace 完成時同步 videos.processing_status JSON
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
根因: FaceTrace 走獨立 pipeline(非 processor pool),當 face_traced.json
已存在而 skip spawn、或實際執行完成時,只更新 processor_results 表,
沒有更新 videos.processing_status 的 FACE_TRACE progress。
結果: 前端讀 processing_status 顯示 FACE_TRACE=running/0,
但 FACE_CLUSTER(走 processor pool)已 completed → 看起來違反依賴規則。
修復: 兩個完成路徑都補上 update_processor_progress('face_trace', completed):
- skip 路徑(already done)
- 實際執行成功路徑
手動修正 090.mp4 的 processing_status(先前 jsonb_set 路徑錯誤清空,
已重建完整 progress)。
2026-11-19 21:44:02 +08:00
Accusys
36fc4d0360
fix: pHash dedup 後刪除孤立 scene jpg(jpg 數 = scenes 數)
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
根因: extract_scene_frames 先寫出全部 jpg,pHash dedup 後只調整
profile.scenes,但被移除 scene 的 jpg 沒刪除 → 磁碟 5 張 jpg
但 scenes.json 只有 4 個 scene(如 1c6f40 scene_003.jpg 孤立)。
修復: dedup 時對被移除的 scene 呼叫 std::fs::remove_file 刪除 jpg。
已清理 1c6f40 的孤立 scene_003.jpg。
2026-11-19 19:18:17 +08:00
Accusys
797f4c61f6
fix: 運鏡分析對往復/多角度運鏡誤判 Static 的問題
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
根因: 相位相關正確偵測到每段位移 (022.mp4 pans=[-1,-17,16,20,-1],
tilts=[0,7,-16,30,-47]),但取『有符號中位數』後正負抵消 → pan=-1 tilt=0
→ 誤判 Static,只選 1 張。
修復:
- level 判斷改用『所有 pair 位移絕對值的最大值』(fold max),
不再用有符號中位數;多角度/往復運鏡不會再被抵消
- confidence<0.15 的 pair 過濾(原本 tanh(peak/second) 全 0.77 不可信)
- 閾值下調: high >10px (256 圖), zoom>0.15, rot>0.05
- pan_px/tilt_px 回傳最大位移的 signed 值(真實振幅)
驗證: 022.mp4 (10s 單鏡頭大角度 tilt)
修復前: Static/None → 1 張
修復後: Tilt/High (tilt=-47px) → 4 張 (Start/Mid/Mid/End)
2026-11-19 18:44:46 +08:00
Accusys
a6a78cca8b
feat: 三層階梯式 frame 取樣 + 純 Rust 運鏡分析 + pHash 去重
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
Phase correlation 運鏡分析 (camera_motion.rs):
- ffmpeg pipe 抽幀 → 灰階 256x256 → rustfft 相位相關估 pan/tilt
- 徑向功率譜估 zoom、極座標相位相關估 rotation
- 中位數去噪 + none/low/high 分級
- samples_for_level: none=1, low=2, high=4
pHash 去重 (frame_dedup.rs):
- 64-bit pHash (DCT 低頻) + hamming<=8 + 時間間隔去重
- scene extract 後對 jpg 去重: 387 → 317 (移除 70)
三層取樣 (scene_vlm.rs process_interval):
- L0 moment=10s 保底 (SCENE_VLM_MOMENT_SEC)
- L1 每個 cut 保底 1 張 (不設上限)
- L2 運鏡依 level 增採, 運動路徑均勻取樣 + blurdetect
資料結構:
- SceneFrame.camera_motion + selection_reason CameraMotion*/CutBaseline
- VLM truncated (finish_reason=length) salvage 部分 JSON summary
其他:
- face dedup 改用 per-library output dir
- max_tokens 2048→4096
- config 5 項 (moment_sec/camera_motion_enabled/phash_hamming/time_gap/k)
- Cargo.toml +image/ndarray/rustfft
驗證: 17e230cc force re-run → Selected 387 frames, CAM-MOTION 分析執行,
pHash dedup 387→317, RESUME force=true carried over 0
2026-11-19 18:24:41 +08:00
Accusys
772d287fcd
fix: Scene VLM resume 跳過已完成 scene + max_tokens 提高
...
- process_scene_vlm: 載入既有 scenes.json,按 filename 比對,
carried over 已 completed 的 VLM 欄位並在迴圈中跳過
- force re-run (rerun_rebuild flag) 時才全部重做
- progress 計算改為 processed + skipped(準確顯示 %)
- 驗證: 17e230cc RESUME carried over 111 completed,只處理 8 failed
- max_tokens 2048→4096(8 個 failed scene 因 VLM 回應截斷 fail)
2026-11-19 17:47:34 +08:00
Accusys
d0dae475f9
fix: 確保每個 file_uuid 只有一個 monitor_job
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
檢查結果:目前 DB 無重複 job,但 uuid 索引非 UNIQUE,且兩個建立路徑
(create_monitor_job 的 check-then-insert、REPAIR 的 INSERT WHERE NOT EXISTS)
都有 race,並發時可能產生重複 job。
三層防護:
- DB: CREATE UNIQUE INDEX uq_monitor_jobs_uuid ON monitor_jobs(uuid)
- create_monitor_job INSERT 改 ON CONFLICT (uuid) DO UPDATE
- REPAIR INSERT 加 ON CONFLICT (uuid) DO NOTHING
驗證:並發 5 個 process 請求 → 仍只有 1 個 job
2026-11-19 16:49:13 +08:00
Accusys
9b1618f85b
fix: force re-run 可靠性 — 備份/恢復 + orphan job + stuck detector 不再毀資料
...
備份/恢復:
- force re-run 前備份 output 到 .backup/{uuid}/{timestamp}/,label 存 Redis
- processor 失敗時自動還原備份
- 成功後清除 backup label,避免日後誤還原舊資料
worker 穩定性:
- Worker 啟動時重置 orphan running jobs / processor_results 為 pending
(原先只處理 error_message='Worker restarted',orphan 會永遠佔住
backpressure 名額,讓 force re-run 的 pending job 排不到)
- detect_and_rescan_stuck_jobs 改為直接重置 job 為 pending,不再用
force register command(unregister 會刪除 videos 記錄 + 所有 output,
對 force re-run 是毀滅性資料遺失)
2026-11-19 16:44:39 +08:00
Accusys
8f90e98215
fix: FS VLM Summary 寫入 trace_profile.json + 新增 {uuid}.fs_vlm.json 彙總檔
...
- label 欄位改 Option<String>:修正 rust_store_traced_faces 寫出 null 導致
FaceTraceProfile::load() 反序列化失敗、VLM summary 無法寫回 JSON 的問題
- VLM summary 寫入從『僅新產生時』改為『任何情況都同步 JSON』:
DB 已有但 JSON 缺漏時重跑也會補寫
- 新增 write_vlm_summary_index():VLM 完成後產生 {uuid}.fs_vlm.json,
含 22 筆 trace_id/vlm_summary/key_face/bbox/best_frame
- processor-json?processor=vlm_summary 優先讀 fs_vlm.json,DB 彙總為 fallback
- backfill 現有 22 筆 trace_profile.json + 產生 fs_vlm.json
2026-11-19 16:30:30 +08:00
Accusys
9758d91e0a
fix: 恢復 FS VLM Summary 手動觸發 API
...
- 重新啟用 /api/v1/file/:file_uuid/vlm-summary 路由(之前被註解)
- 取消 trigger_vlm_summary handler 的註解
- output_dir 改用 per-library
- 規則: FS VLM Summary 只手動觸發,不在 pipeline_flows 自動執行
- 驗證: API 回傳 success, 22 traces pending
2026-11-19 15:54:36 +08:00
Accusys
a57e0bb433
fix: scan.rs stats API 使用 per-library 路徑 — 修復 Scene VLM 數量不顯示
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- get_file_stats_inner: output_dir 改 per-library(scene_vlm/face_cluster/vlm_summary stats)
- get_pipeline_progress_handler: output_dir 改 per-library
- get_ingestion_status: scene_meta_path 改 per-library
- get_scene_vlm_stats: output_dir 改 per-library
- 驗證: test library scene-vlm-stats 回傳 18 scenes, 18/18 done
2026-11-19 15:43:17 +08:00
Accusys
02ef25d4e7
fix: face/trace 縮圖 API 使用 per-library 路徑
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- face_thumbnail: .faces cache + trace_{id}/key_face.jpg 改 per-library + global fallback
- trace_thumbnail: key_face.jpg 改 per-library + global fallback
- 驗證: test library face 縮圖 HTTP 200 (422x422 JPEG), demo 也正常
2026-11-19 15:30:25 +08:00
Accusys
f5363ca862
fix: Scene VLM 全流程 per-library 路徑
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- job_worker: cut.json 檢查 + output_dir + scenes_path 改用 get_output_dir_for_file
- media_api: scene_thumbnail 改用 per-library + global fallback
- 確保 test library 的 scenes.json 與 scene jpg 寫到 output/test/
- 已搬移舊 scene jpg 從 demo 到 test
2026-11-19 15:06:10 +08:00
Accusys
0be345eb24
fix: Unregister sync mode 清除 per-library output — rust_unregister 只刪全域 OUTPUT_DIR
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- UI Unregister 走 sync mode → rust_unregister binary
- rust_unregister 只用 config::OUTPUT_DIR(demo),不考慮 library → test output 殘留
- 修復: rust_unregister 成功後補呼叫 delete_output_files (掃描全域+per-lib+所有 upload_paths)
- 驗證: test 目錄 8 個 output 檔案全清除
2026-11-19 14:37:01 +08:00
Accusys
e0d09ed7b3
fix: swift_ocr 使用已廢棄的 -vsync vfr(ffmpeg 9 移除)
...
Cross-Project Integration / integration (push) Has been cancelled
- ffmpeg 9 移除 -vsync 選項 → swift_ocr frame extraction 完全失敗(0 幀)
- 改為 -fps_mode vfr(ffmpeg 9 新語法)
- 重新編譯 swift_ocr binary 並部署
- 結果: OCR 從 0 幀 → 494 幀有文字
2026-11-19 14:06:33 +08:00
Accusys
2df98eb31c
fix: output-completeness 檢查改用 per-library 路徑 — 修復 test library 誤報缺項
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- 原本用全域 OUTPUT_DIR(demo) 檢查所有影片
- test 檔案的 json 在 output/test → 誤報 6 項 missing
- 改用 get_output_dir_for_file(uuid) + global fallback
2026-11-19 13:51:32 +08:00
Accusys
a4e176c682
fix: download_json 使用 per-library 路徑 — 修復 test library 卡片 detail 查看 json 失敗
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- proxy /api/v1/processor-json 實際呼叫 POST /api/v1/file/:uuid/json/:processor (download_json)
- download_json 原本用全域 OUTPUT_DIR(demo),test 檔案在 output/test → 404
- 改用 get_output_dir_for_file + global fallback
- face_trace → face_traced.json 映射
2026-11-19 13:46:06 +08:00
Accusys
c4fbbfda4a
fix: pipeline log 寫入 output root + processor-counts/json 使用 per-library 路徑
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- write_pipeline_timeline: log 寫到 ~/momentry/output (parent of per-lib dir)
- get_processor_counts: 用 get_output_dir_for_file + global fallback
- get_processor_json: 加 State, per-library 優先 + global fallback
- delete_output_files_for_uuid: 同時掃 output root 清 pipeline log
2026-11-19 13:35:24 +08:00
Accusys
36f4dcf807
fix: unregister 刪除 output 時使用 per-library 路徑(videos 刪除前解析)
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- 根因: get_output_dir_for_file JOIN videos,但 unregister 先刪 videos 再刪 output
→ 解析失敗回退全域 OUTPUT_DIR(demo),沒刪到 test 目錄舊檔
→ re-scan 時 AUTO-REPAIR 看到舊 asrx.json 就標 completed(無 status/chunks)→ 卡住
- 修復: 在 unregister_internal 開頭(videos 還在時)解析 output_dir
- delete_output_files 掃描 全域 + pre-resolved per-library + 所有 upload_paths
- 同步修復 unregister_api.rs
- 結果: re-scan 真正清掉舊檔 → ASRX 重跑 → has_transcript + 28 chunks ✓
2026-11-19 13:23:10 +08:00
Accusys
3d56151787
fix: ASRX legacy 檔無 status 時推導 has_transcript + 補 segment_count
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- AUTO-REPAIR: asrx.json 無 status 但有 segments → 推導 has_transcript 並回寫
- 修正 has_transcript 被誤映射為 SilentAudio 的 bug
- segment_count 正確帶入
2026-11-19 12:54:26 +08:00
Accusys
3a6f9b0044
feat: Queue 管理 API — list/cancel/priority/clear + job_status 回傳
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- GET /api/v1/jobs/queue — 列出所有 job + processor 狀態 + summary
- POST /api/v1/jobs/:uuid/cancel — 取消單一 job
- POST /api/v1/jobs/:uuid/priority — 調整優先順序
- POST /api/v1/jobs/queue/clear — 批次清除 pending/paused/all jobs
- files API 回傳 job_status
- 修正 queue API panic (型別錯誤)
2026-11-19 10:53:47 +08:00
Accusys
8ab7bbaea7
fix: _debug output_dir 改為從實際路徑推導 + executor 使用 per-library output dir
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- json_standardize.rs: create_debug() 從檔案路徑推導 output_dir
- executor.rs: resolve_output_dir() 優先使用 env var 或從 output_path 推導
- 修復 output_dir 永遠顯示 output/demo 的問題
2026-11-19 02:12:38 +08:00
Accusys
9a7528d49b
fix: worker 自動補遺漏的 monitor_jobs(repair 機制)
...
Cross-Project Integration / integration (push) Has been cancelled
Core Test / lint-and-test (push) Has been cancelled
- Sync mode register 不會建立 monitor_jobs
- Worker poll 迴圈自動為 pending videos 建立 monitor_jobs
- 修正 file_type 判斷(video/mp4/mov/avi/mkv)
2026-11-19 01:44:10 +08:00
Accusys
b583946f7e
fix: per-library output path for face_trace spawn check + completeness check
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- face_trace spawn 改用 get_output_dir_for_file 檢查 face_traced.json
- completeness check 改用 per-library dir + global fallback
- rust_store_traced_faces output_dir 改用 get_output_dir_for_file
2026-11-18 16:08:33 +08:00
Accusys
8101ff0cb4
fix: face processor 讀取 .with_embedding 檔案當 copy 失敗時(確保 facenet embeddings 不會遺失)
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-18 01:05:38 +08:00
Accusys
18aa0130a7
fix: 檔案列表 name matching fallback — path 不匹配時改用 name 比對(處理 symlink 路徑差異)
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 23:38:01 +08:00
Accusys
1d3c86c56c
fix: upload_paths output_path 自動設定 + settings save 不覆蓋既有 full_path
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- 新增 upload_path 時自動設定 output_path = /Users/accusys/momentry/output/{name}
- ON CONFLICT 只設 enabled=true,不再覆蓋 full_path
2026-11-17 22:11:54 +08:00
Accusys
2a8bd88a3e
fix: appearance API per-library output path(與 trace_profile/face_cluster 同樣的 per-library fallback 模式)
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 19:46:13 +08:00
Accusys
be16a588c2
feat: 自動產生 face_id(face_{frame}_{idx})於 face.json 儲存前
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 19:29:14 +08:00
Accusys
4100d5c77a
fix: per-library output path for cluster_agent, profile, trace_agent
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- cluster_agent: resolve_output_path per-library + fallback
- profile.rs: materialize_auto_groups + get_cluster_results + trace_profile filesystem fallback
- trace_agent_api.rs: read_trace_profile per-library + fallback
All now check output/demo/ before falling back to global output/
2026-11-17 19:14:15 +08:00
Accusys
a16a2981e1
fix: unregistered 卡片確保有 size/mdate — MarkBase fallback + 磁碟掃描補齊 + formatSize/formatDate 顯示 '—' 替代空白
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 18:12:21 +08:00
Accusys
953d677c8e
feat: DELETE API /api/v1/file/delete-unregistered — 永久刪除殘留 entry(磁碟檔 + DB + Qdrant + Redis),路徑限縮 storage root
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 17:56:06 +08:00
Accusys
5b5c1d9563
fix: face pipeline 三項修復
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
1. face_clustering: 先試 Rust binary,Python script 缺失不再提前返回空結果
2. face.rs: facenet model 查找加 fallback ( -> momentry_core/models),config 路徑補 --model 參數
3. rust_store_traced_faces: embedding 缺失時退回純 IoU 追蹤(不再強制要求 similarity);trace_profile.json 補上真實 avg_bbox/best_bbox/capture_quality
2026-11-17 17:26:00 +08:00
Accusys
5056c20667
fix: embedding port 全部改為 11436(plist + svc_def + server_type + test-embedding)
2026-11-17 13:31:20 +08:00
Accusys
8f0315e588
fix: embedding port 11437 → 11436 (correct system port)
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 13:26:56 +08:00
Accusys
6ba4ee1e06
fix: Redis service label sh.brew.redis → com.momentry.redis
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 12:48:51 +08:00
Accusys
b4b84dc797
feat: composite scoring for best face selection (0.4 frontal + 0.4 confidence + 0.2 quality)
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 10:56:42 +08:00
Accusys
7fd7df2913
fix: scripts_dir() 恢復正確路徑 resolve_asset_path('MOMENTRY_SCRIPTS_DIR', 'scripts'); embedding port 11436→11437
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 08:41:34 +08:00
Accusys
eac827d932
fix: scripts_dir() 恢復正確路徑 resolve_asset_path('MOMENTRY_SCRIPTS_DIR', 'scripts') → ~/momentry/scripts/
2026-11-17 04:31:03 +08:00
Accusys
a85e31ff16
fix: embedding default port 11436 → 11437 (llama-server GGUF)
2026-11-17 04:26:33 +08:00
Accusys
646d2a1361
fix(P0): face_cluster_done 雙路徑檢查 + run_processor 改用 async get_output_dir_for_file; 補 ingestion_complete output_dir
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 03:03:16 +08:00
Accusys
d01e456ae5
fix(P0): per-library output dir for worker ingestion/verification (face_cluster guard, verifier, TKG, qdrant_face, ASR/ASRX); fix face_cluster serde default for empty output; fix face_cluster dependencies in pipeline_flows.json
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-17 02:46:57 +08:00
Accusys
db790e2c89
fix: face_cluster guard checks both global OUTPUT_DIR and demo subdirectory for face_traced.json
Cross-Project Integration / integration (push) Has been cancelled
Core Test / lint-and-test (push) Has been cancelled
2026-11-17 01:29:28 +08:00
Accusys
75cbaa3302
feat: rebuild embeddings endpoint + standalone tool (API + binary), clear collection before rebuild, fix upsert_scene_embedding args
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-16 21:56:43 +08:00
Accusys
083d73d287
feat: real service test endpoints (proxy 7-route round-trip, core/chat/vlm/markbase/embedding), unified log paths + errorLog, pipeline tools/import/export/folder APIs, face pipeline check, dynamic concurrency tuning
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
2026-11-16 18:16:46 +08:00
Accusys
d21d1ab960
fix: Library Re-run 完整重建搜尋索引 (ASR/ASRX/OCR/Scene VLM)
...
- trigger_processing: force 時僅刪除指定 processor 的輸出檔與 processor_results
(其他 processor 資料保留),並設定 rerun_rebuild Redis flag 要求重建索引
- worker: 單一 processor Re-run 時強制 Rule 1 重新 chunk + vectorize
(清除 momentry_rule1 舊 vectors,避免 stale 搜尋結果)
- Scene VLM Re-run: job_processors 含 scene_vlm 即 dispatch,
scene-only job 完成條件改以 scenes.json 完整度判定
- 前端 redoProcessor 傳 force=true,Scene VLM 新增 🔄 Re-run 按鈕
2026-11-10 07:59:31 +08:00
Accusys
043dbbf24a
fix: swift_ocr 支援日文識別
...
Cross-Project Integration / integration (push) Has been cancelled
- 加入 recognitionLanguages = ["ja", "en"] 使 Apple Vision Framework
能識別日文和中文文字
- 使用 #available(macOS 12.0, *) 確保向後相容
- 兩處 VNRecognizeTextRequest 都已修改(主循環 + recognizeText 函式)
驗證: 065.mp4 從 0 幀 → 75 幀,1559 個日文文字區塊
(松原徳洲会病院、ここで検索、吹田市、寝屋川市 等)
2026-11-09 17:16:37 +08:00
Accusys
3d7ec83ec9
fix: Qdrant collection ensure + self-healing on clean install
...
Core Test / lint-and-test (push) Has been cancelled
Cross-Project Integration / integration (push) Has been cancelled
- qdrant_db.rs: ensure_collection now uses PUT /collections/{name}
(was POST /collections without name) and checks response status.
Previous code silently no-op'd, so every upsert got 404 on clean
installs with empty Qdrant.
- face.rs: store_face_embeddings_to_qdrant ensures _faces (512D)
collection exists before upsert (fixes face→facenet→Qdrant broken
link on fresh machines).
- pipeline/mod.rs: vectorize_chunks ensures main text collection
(768D) before upserts.
- job_worker.rs: vectorize_chunks ensures main collection (768D)
before upserts; also 3 additional lines of job_worker WIP fixes.
Verified: after these fixes, Qdrant collections are auto-created
on first upsert, resolving the face embedding + rule1 vectorize
failures on 203.
2026-11-09 15:55:01 +08:00