pujo-arthomo/Cultural_Heritage_AI_Decision_Support
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
CH-Guard
Cultural Heritage AI Decision Support Platform
文化遺産AI保全プラットフォーム
CH-Guard is a lightweight, offline-friendly, zero-cost AI system designed to help museums, archives, and cultural institutions monitor the condition of artifacts using multi-source data: registry metadata, sensor logs, and PDF condition reports.
CH-Guard は、文化財・美術館・アーカイブ施設向けに設計された 軽量・オフライン対応・ゼロコストの AI ベース保全支援プラットフォームです。 台帳メタデータ / センサーログ / PDF 状態報告書 を統合し、アーティファクトの状態を自動解析します。
🌟 Key Features / 主な特徴
1. Unified Artifact Pipeline
- Registry CSV ingestion
- Sensor CSV normalization
- PDF condition extraction (via pdfplumber)
- Automatic artifact ID detection (REG-XXXX format)
1. アーティファクト統合パイプライン
- 台帳 CSV の読み込み
- センサー CSV の正規化
- PDF 状態報告の抽出(pdfplumber 使用)
- アーティファクト ID 自動検出(REG-XXXX 形式)
2. AI-Driven Scoring & Risk Leveling
- Condition keywords detection
- Sensor stability analysis
- Combined risk score (0.0–1.0)
- “Low / Medium / High” risk classification
2. AI リスクスコアリング
- 状態キーワードの検出
- センサー環境安定性の解析
- リスクスコア(0.0–1.0)の算出
- 「低 / 中 / 高」リスク分類
3. Unified Insight Summary (NEW)
A one-paragraph curator-friendly summary combining:
- condition highlights
- sensor environment
- stability score
- anomalies
- final risk reasoning
3. Unified Insight サマリー(新機能)
以下を 1 つの段落にまとめたキュレーター向け要約:
- 状態の注目点
- センサー環境状況
- 安定スコア
- 異常検出
- 最終リスク判断
4. Enterprise-Grade Notion Export
- Export to Notion Database
- Rich text, select fields, timestamps
- AI insights stored directly in database
- Bilingual (EN/JP) export support
4. エンタープライズ向け Notion 連携
- Notion データベースへの書き込み
- リッチテキスト、セレクト、日付対応
- AI インサイトを直接記録
- 英語/日本語バイリンガル書き出し
5. Elegant Gradio UI (HF Spaces Ready)
- Dark enterprise theme
- Fully offline pipeline
- Zero server dependencies
- One-click processing
5. 使いやすい Gradio UI(HF Spaces 対応)
- エンタープライズ仕様のダークテーマ
- 完全オフライン対応パイプライン
- 追加サーバー不要
- ワンクリック解析
📂 Project Structure / プロジェクト構成
/app.py # Gradio entrypoint /insight_summary.py # Unified Insight engine /src/normalization/ # Metadata / Sensor / PDF normalizers /docs/ # Documentation requirements.txt # Dependencies
🚀 Quickstart / クイックスタート
1. Install dependencies
2. Run the application
3. Upload three files
- Registry CSV
- Sensor CSV
- PDF Condition Report
4. View results
- Risk score
- EN/JP explanation
- Unified Insight Summary
5. Export to Notion
Set environment variables:
NOTIONAPITOKEN=xxxxx NOTIONDATABASEID=xxxxx
🗂 Example Output (Profile Object)
{
"artifact_id": "REG-0003",
"metadata": { ... },
"condition": { ... },
"sensors": { ... },
"unified_insight": "Surface abrasion detected... Medium risk..."
}
---