T.J. Project 05 of 05项目 05 / 05 / Selected Work · 2026精选项目 · 2026 / EN · 中文 Index ↩返回首页 ↩
Back to index返回首页
Project · 05 / 05项目 · 05 / 05

School-Site
Vision System

校园
视觉系统

01 · Overview01 · 概述 Why为什么

Full rebuild of a campus camera system: InsightFace + ArcFace for identity, YOLOv8m for vehicle detection, FAISS for identity search, served through FastAPI.

校园相机系统全量重构:InsightFace + ArcFace 做身份识别,YOLOv8m 做车辆检测,FAISS 做身份检索,FastAPI 提供服务。

The old system ran brittle rule-based detection with no search index. The rebuild swapped it end-to-end: fresh embeddings, a proper vector store for identity lookup, tighter model choices for vehicles, and a service API that the existing frontend could drop onto without a frontend rewrite.

旧系统是脆弱的规则检测,没有检索索引。重构把它端到端换掉:新的 embedding、正经的向量库做身份检索、更紧凑的车辆模型,以及能让旧前端直接对接的新服务 API —— 前端不用重写。

InsightFace/ ArcFace/ YOLOv8/ FAISS/ FastAPI
03 · Details03 · 细节 How怎么做

Identity身份

  • DetectorInsightFace
  • EmbeddingArcFace
  • SearchFAISS
  • ThroughputReal-time per camera
  • 检测InsightFace
  • EmbeddingArcFace
  • 检索FAISS
  • 吞吐每路相机实时

Vehicle车辆

  • DetectorYOLOv8m
  • ClassesCar · van · bicycle · plate
  • TrackingByteTrack
  • OCRPlate read pipeline
  • 检测YOLOv8m
  • 类别小车 · 面包 · 自行车 · 车牌
  • 跟踪ByteTrack
  • OCR车牌识别流水线

Platform平台

  • APIFastAPI
  • StorePostgreSQL + FAISS
  • DeployDocker on-prem
  • FrontendExisting (unchanged)
  • APIFastAPI
  • 存储PostgreSQL + FAISS
  • 部署本地 Docker
  • 前端沿用旧前端
End of list已到末项