{"id":20519694,"url":"https://github.com/zongxr/ai-assistant","last_synced_at":"2026-04-12T07:36:04.538Z","repository":{"id":215769995,"uuid":"730024588","full_name":"ZongXR/AI-assistant","owner":"ZongXR","description":"适用于边缘侧的人工智能应用，通过网页进行操作，简单易用，便捷高效","archived":false,"fork":false,"pushed_at":"2024-01-06T12:04:06.000Z","size":20077,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-25T21:44:20.715Z","etag":null,"topics":["face-recognition","flask","opencv"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ZongXR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-11T03:12:09.000Z","updated_at":"2024-01-30T05:52:17.000Z","dependencies_parsed_at":null,"dependency_job_id":"d31665e2-2ea8-4581-b9c2-2d36a5c4dfe4","html_url":"https://github.com/ZongXR/AI-assistant","commit_stats":null,"previous_names":["zongxr/ai-assistant"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ZongXR/AI-assistant","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZongXR%2FAI-assistant","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZongXR%2FAI-assistant/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZongXR%2FAI-assistant/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZongXR%2FAI-assistant/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ZongXR","download_url":"https://codeload.github.com/ZongXR/AI-assistant/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ZongXR%2FAI-assistant/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31707953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["face-recognition","flask","opencv"],"created_at":"2024-11-15T22:15:44.292Z","updated_at":"2026-04-12T07:36:04.520Z","avatar_url":"https://github.com/ZongXR.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003e人工智能助手\u003c/h1\u003e\n\u003cp\u003e适用于树莓派、TinkerBoard等边缘侧的人工智能应用，通过网页进行操作，简单易用，便捷高效\u003c/p\u003e\n\u003ch2\u003e功能概要\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e调用边缘侧或远程摄像头，将画面投送到浏览器页面上，并进行人脸检测\u003c/li\u003e\n\u003cli\u003e控制服务器远程关机，启停摄像头\u003c/li\u003e\n\u003cli\u003e实现风扇的温控自动调节\u003c/li\u003e\n\u003cli\u003e语音播报本机IP\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003e使用方法\u003c/h2\u003e\n\u003ch3\u003e软件安装\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003e首先安装系统，推荐Debian Buster with Python3.7\u003c/li\u003e\n\u003cli\u003e如果使用物理设备直接运行，执行以下命令\u003cbr /\u003e\n\u003cpre\u003e\n# 准备环境\ncd /opt\nsudo git clone https://github.com/ZongXR/AI-assistant.git\nsudo apt-get install -y libatlas-base-dev\nsudo pip3 install -i https://www.piwheels.org/simple/ --extra-index-url https://pypi.org/simple -r ./requirements.txt\n# 运行\nsudo nohup python3 /opt/AI-assistant/app.py \u0026\n\u003c/pre\u003e\n\u003cli\u003e如果使用docker运行，执行以下命令\u003cbr /\u003e\n\u003cpre\u003e\n# 准备环境\nsudo mkdir -p /opt/AI-assistant/logs /opt/AI-assistant/config\ndocker pull zongxr/AI-assistant:0.2.2.0\n# 运行\ndocker run -d -p 80:80 -v /opt/AI-assistant/logs:/opt/logs -v /opt/AI-assistant/config:/opt/indi/aiassistant/config zongxr/AI-assistant:0.2.2.0\n\u003c/pre\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch3\u003e硬件安装\u003c/h3\u003e\n\u003cul\u003e\n\u003cli\u003e推荐使用5V-3A直流电作为输入电源，否则可能因为功率较大而宕机\u003c/li\u003e\n\u003cli\u003e\n如果使用树莓派、TinkerBoard等边缘计算设备，可参考\u003ca href=\"https://blog.bombox.org/2021-08-28/raspberrypi-autofan/\" target=\"_blank\"\u003e该文章内容\u003c/a\u003e安装温控风扇\u003cbr /\u003e\n\u003ca href=\"https://blog.bombox.org/2021-08-28/raspberrypi-autofan/\" target=\"_blank\"\u003e\u003cimg src=\"https://blog.bombox.org/images/post/raspberrypi/fan_wiring.png\" alt=\"硬件安装示意图\" width=\"500\"\u003e\u003c/a\u003e\n\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003e更新日志\u003c/h2\u003e\n\u003ctable\u003e\n\u003ctr\u003e\n\u003cth\u003e版本号\u003c/th\u003e\u003cth\u003e更新内容\u003c/th\u003e\u003cth\u003e更新日期\u003c/th\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.1.0.0\u003c/td\u003e\u003ctd\u003e调用远程摄像头捕获画面; 解耦摄像头地址作为配置项; 新增若干工具栏按钮\u003c/td\u003e\u003ctd\u003e2023年12月17日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.1.1.0\u003c/td\u003e\u003ctd\u003e新增人脸检测功能\u003c/td\u003e\u003ctd\u003e2023年12月18日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.1.1.1\u003c/td\u003e\u003ctd\u003e端口改为80;\u0026nbsp;打开页面后先初始化\u0026nbsp;暂停/开始\u0026nbsp;按钮，并定时更新;\u0026nbsp;定时关机时间改为60分钟\u003c/td\u003e\u003ctd\u003e2023年12月19日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.1.1.2\u003c/td\u003e\u003ctd\u003e修复前端页面css导致的背景图错位\u003c/td\u003e\u003ctd\u003e2023年12月19日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.1.1.3\u003c/td\u003e\u003ctd\u003e定时关机时间设定为0分钟;\u0026nbsp;关机后关闭当前标签页\u003c/td\u003e\u003ctd\u003e2023年12月21日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.2.0.0\u003c/td\u003e\u003ctd\u003e实现温控风扇，并按照温度调节转速\u003c/td\u003e\u003ctd\u003e2023年12月25日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.2.0.1\u003c/td\u003e\u003ctd\u003efix some bugs\u003c/td\u003e\u003ctd\u003e2023年12月25日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.2.0.2\u003c/td\u003e\u003ctd\u003efix some bugs\u003c/td\u003e\u003ctd\u003e2023年12月26日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.2.0.3\u003c/td\u003e\u003ctd\u003efix some bugs\u003c/td\u003e\u003ctd\u003e2023年12月29日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.2.0.4\u003c/td\u003e\u003ctd\u003efix some bugs\u003c/td\u003e\u003ctd\u003e2023年12月29日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.2.1.0\u003c/td\u003e\u003ctd\u003e应用启动前语音播报本机IP\u003c/td\u003e\u003ctd\u003e2024年1月3日\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e0.2.2.0\u003c/td\u003e\u003ctd\u003e加入人脸编码功能\u0026lpar;需优化\u0026rpar;;\u0026nbsp;修复若干BUG;\u0026nbsp;修复线程安全问题\u003c/td\u003e\u003ctd\u003e2024年1月6日\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/table\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzongxr%2Fai-assistant","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzongxr%2Fai-assistant","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzongxr%2Fai-assistant/lists"}