Python
1
450 commits
updated Sep 4, 2026
Hệ thống tìm kiếm và truy xuất video keyframe thời gian thực siêu tốc phục vụ cuộc thi AI Challenge HCMC 2026.
🎯 Tổng Quan • 🚀 Cài Đặt Nhanh • 🏗️ Kiến Trúc • 🕸️ Web UI • 🧪 Kiểm Thử • 📚 Tài Liệu Chi Tiết
aic2026_clean_v3 (alias: production).Hệ thống hỗ trợ 2 hình thức triển khai: Cài đặt Native trên máy (Khuyên dùng để tối ưu GPU) hoặc Chạy bằng Docker.
uvgit clone https://github.com/ThanhDanh1510/Super-Image-Retrieval-System-for-AIC2026.git
cd Super-Image-Retrieval-System-for-AIC2026
pip install uv
uv venv .venv
.venv\Scripts\Activate.ps1
# Cài đặt PyTorch CUDA 12.4 và toàn bộ dependencies
uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
uv pip install -e ".[all]"
git clone https://github.com/ThanhDanh1510/Super-Image-Retrieval-System-for-AIC2026.git
cd Super-Image-Retrieval-System-for-AIC2026
pip3 install uv
uv venv .venv
source .venv/bin/activate
uv pip install torch torchvision torchaudio
uv pip install -e ".[macos-server,test]"
data/)📥 Tải gói dữ liệu:
aic2026_data_bundle_for_team.zip (~757 MB) và giải nén đè vào thư mục data/ (giữ nguyên thư mục ảnh data/image/ sẵn có trên máy).📂 Cấu trúc thư mục data/ chuẩn sau khi giải nén:
data/
├── image/ # Thư mục ảnh keyframe (.webp)
├── unified/ # 11 file vector & parquet sạch (đã cập nhật L25 Gemini)
│ ├── scene_descriptions.parquet
│ ├── description_embeddings.npy
│ ├── image_vectors.npy
│ └── ...
├── gemini_output/ # JSON mô tả chi tiết VLM
└── translation_cache.json # Cache dịch song ngữ tức thì (<1ms)
# 3.1 Khởi động Qdrant Vector DB
docker compose up -d qdrant
# 3.2 Nạp dữ liệu từ data/unified vào Qdrant (mất ~1 phút cho 88,899 points)
python -m indexing.run_index --dataset-dir ./data/unified --collection aic2026_clean_v3 --create-collection
python start_api.py
# Sau khi chuẩn bị thư mục data/, chỉ cần 1 lệnh:
docker compose up -d
flowchart LR
In["Query (Text/Voice/Image)"] --> Enh["Bilingual Enhancer (VI/EN)"]
Enh --> Emb["Multi-Branch Vector Embeddings"]
Emb --> Search["In-Memory GPU Matmul & Qdrant Search"]
Search --> RRF["Weighted RRF Fusion"]
RRF --> Rerank["Dual Rerankers (ViRanker + Jina)"]
Rerank --> UI["Spider-Man High-Density Web UI"]
📖 Xem chi tiết tại: docs/architecture/system_architecture.md
C thêm/xóa nhanh vào giỏ, 1-Click xuất file CSV chuẩn AIC.Toàn bộ tài liệu chi tiết được tổ chức trong thư mục docs/:
# Chạy bộ test suite (tương thích cả Windows, macOS MPS và Linux):
pytest tests/ -v
Built with ❤️ for AI Challenge Ho Chi Minh City 2026 (AIC2026).
Python
1
450 commits
updated Sep 4, 2026
Hệ thống tìm kiếm và truy xuất video keyframe thời gian thực siêu tốc phục vụ cuộc thi AI Challenge HCMC 2026.
🎯 Tổng Quan • 🚀 Cài Đặt Nhanh • 🏗️ Kiến Trúc • 🕸️ Web UI • 🧪 Kiểm Thử • 📚 Tài Liệu Chi Tiết
aic2026_clean_v3 (alias: production).Hệ thống hỗ trợ 2 hình thức triển khai: Cài đặt Native trên máy (Khuyên dùng để tối ưu GPU) hoặc Chạy bằng Docker.
uvgit clone https://github.com/ThanhDanh1510/Super-Image-Retrieval-System-for-AIC2026.git
cd Super-Image-Retrieval-System-for-AIC2026
pip install uv
uv venv .venv
.venv\Scripts\Activate.ps1
# Cài đặt PyTorch CUDA 12.4 và toàn bộ dependencies
uv pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu124
uv pip install -e ".[all]"
git clone https://github.com/ThanhDanh1510/Super-Image-Retrieval-System-for-AIC2026.git
cd Super-Image-Retrieval-System-for-AIC2026
pip3 install uv
uv venv .venv
source .venv/bin/activate
uv pip install torch torchvision torchaudio
uv pip install -e ".[macos-server,test]"
data/)📥 Tải gói dữ liệu:
aic2026_data_bundle_for_team.zip (~757 MB) và giải nén đè vào thư mục data/ (giữ nguyên thư mục ảnh data/image/ sẵn có trên máy).📂 Cấu trúc thư mục data/ chuẩn sau khi giải nén:
data/
├── image/ # Thư mục ảnh keyframe (.webp)
├── unified/ # 11 file vector & parquet sạch (đã cập nhật L25 Gemini)
│ ├── scene_descriptions.parquet
│ ├── description_embeddings.npy
│ ├── image_vectors.npy
│ └── ...
├── gemini_output/ # JSON mô tả chi tiết VLM
└── translation_cache.json # Cache dịch song ngữ tức thì (<1ms)
# 3.1 Khởi động Qdrant Vector DB
docker compose up -d qdrant
# 3.2 Nạp dữ liệu từ data/unified vào Qdrant (mất ~1 phút cho 88,899 points)
python -m indexing.run_index --dataset-dir ./data/unified --collection aic2026_clean_v3 --create-collection
python start_api.py
# Sau khi chuẩn bị thư mục data/, chỉ cần 1 lệnh:
docker compose up -d
flowchart LR
In["Query (Text/Voice/Image)"] --> Enh["Bilingual Enhancer (VI/EN)"]
Enh --> Emb["Multi-Branch Vector Embeddings"]
Emb --> Search["In-Memory GPU Matmul & Qdrant Search"]
Search --> RRF["Weighted RRF Fusion"]
RRF --> Rerank["Dual Rerankers (ViRanker + Jina)"]
Rerank --> UI["Spider-Man High-Density Web UI"]
📖 Xem chi tiết tại: docs/architecture/system_architecture.md
C thêm/xóa nhanh vào giỏ, 1-Click xuất file CSV chuẩn AIC.Toàn bộ tài liệu chi tiết được tổ chức trong thư mục docs/:
# Chạy bộ test suite (tương thích cả Windows, macOS MPS và Linux):
pytest tests/ -v
Built with ❤️ for AI Challenge Ho Chi Minh City 2026 (AIC2026).