Files

60 lines
2.0 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Momentry Sample Package — 100 影片(deep scan 已完成)
可攜式 sample 資料包:100 支 demo 影片(001.mp4 ~ 098.mp4 及變體)+ 已完成的
deep scan 資料(probe / face / asr / asrx / ocr / cut / scenes / face_cluster /
face_trace / scene_vlm / tkg)+ 對應的 PostgreSQL 資料。
## 交付物
`Momentry-Sample-100.dmg`(~1.6 GB,UDZO 壓縮)— 唯一需要拷貝的檔案。
## 內容
| 項目 | 說明 |
|---|---|
| `videos/` | 100 支 mp4 影片(約 1.5 GB) |
| `output/` | 1172 個 deep scan 輸出 JSON(116 MB) |
| `db/sample_data.sql` | 過濾後的 DB 資料(COPY 格式,session_replication_role=replica 保護 FK) |
| `manifest.tsv` / `manifest.json` | uuid ↔ 檔名對照與清單 |
| `uuids.txt` | 100 個 file_uuid |
| install_sample.sh | **上架** |
| uninstall_sample.sh | **下架** |
## 上架(在任何 momentry 機器上)
將 `.dmg` 拷貝到目標機器後:
```bash
# 1. mount dmg
hdiutil attach ~/Momentry-Sample-100.dmg
cd "/Volumes/Momentry Sample 100"
# 2. 上架(可加 --help 看可用環境變數)
bash install_sample.sh
# 常用環境變數覆蓋:
# MOMENTRY_DIR=~/momentry MOMENTRY_DB=momentry MOMENTRY_PGUSER=accusys
# 3. 卸載
hdiutil detach "/Volumes/Momentry Sample 100"
```
## 下架(移除影片 + output + DB 資料)
```bash
cd "/Volumes/Momentry Sample 100"
bash uninstall_sample.sh
```
## 注意
- 上架前系統需已完成安裝(install.sh),DB schema 為 canonical 71 表版。
- 匯入使用 `session_replication_role = replica`,匯入後會自動校正 id sequences。
- 臉部偵測(face_detections)為空:這批 sample 影片原本就無臉部偵測資料,
臉部/身分面板會是空的;影片卡片、場景、逐字稿 chunks、TKG 皆為完整資料。
- Qdrant 不需預先存在任何 collection;系統無臉部向量資料。
## 產生方式(參考)
由 203 機器的備份(momentry_backup_before_clean_20261108_205623)打包:
`build_package.sh`(保留在 momentry_installer/sample/)。