logo
0
0
WeChat Login

RedChord AI 琴房监控系统

🎹 基于 AI 的智能琴房视频监控分析系统

项目概述

RedChord AI(赤弦)是一套智能琴房监控分析解决方案,通过视觉大模型对监控视频进行智能分析,自动识别练琴、使用手机等行为,为琴房管理提供数据支撑。

功能特点

  • 📹 视频智能分析:自动抽帧并调用 AI 进行行为识别
  • 🏷️ 动态标签配置:可自定义识别标签和规则
  • 📊 数据可视化:直观展示分析结果和统计数据
  • 🤖 AI 智能助手:基于分析结果的对话式问答
  • 🖥️ 多端支持:Web 界面 + REST API

项目结构

redchord-ai/ ├── redchord-api/ # 后端 FastAPI 服务 │ ├── main.py # API 入口 │ ├── api/ # API 路由 │ ├── src/ # 核心业务逻辑 │ └── config/ # 配置文件 │ └── redchord-web/ # 前端 React 应用 ├── src/ │ ├── components/ # UI 组件 │ └── services/ # API 服务 └── index.html

快速开始

1. 启动后端

cd redchord-api # 安装依赖 pip install -r requirements.txt # 配置环境变量 cp .env.example .env # 编辑 .env 填入 API Key # 启动服务 uvicorn main:app --reload --port 8000

2. 启动前端

cd redchord-web # 安装依赖 npm install # 启动开发服务器 npm run dev

3. 访问应用

技术栈

后端

  • Python 3.10+
  • FastAPI
  • OpenCV
  • 火山引擎视觉大模型

前端

  • React 19
  • TypeScript
  • Vite
  • TailwindCSS
  • Recharts

配置说明

环境变量

变量名说明位置
ARK_API_KEY火山引擎 API 密钥redchord-api/.env
ARK_MODEL_ID模型端点 IDredchord-api/.env
VITE_API_BASE_URL后端 API 地址redchord-web/.env.local

许可证

MIT License

🔌 服务访问 (Service Access)

服务名称 (Service)类型 (Type)访问地址 (URL)
React + ViteFrontendhttp://localhost:5123
FastAPIBackendhttp://localhost:8000 (API Docs: http://localhost:8000/docs)

About

琴房智能检测

Language
Python43.3%
Mustache30.1%
TypeScript18.9%
Shell4%
Others3.7%