# face-api **Repository Path**: incimo/face-api ## Basic Information - **Project Name**: face-api - **Description**: 基于浏览器的人脸识别 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-05-14 - **Last Updated**: 2023-02-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # face-api #### 介绍 基于浏览器的人脸识别 #### 软件架构 ```sh models # 训练模型集合 js |- face-api.min.js # face-api 人脸识别模块 |_ index.js # 加载训练模型并回显 index.html # 入口 ``` #### 教程 1. 由于需要加载训练模块,在本地直接打开 index.html文件,浏览器会出现跨域问题,因此可以将本项目放在服务器上,之后访问服务器上的index.html 2. 本地开发可以使用vscode打开项目,vscode安装Live Server插件。之后右键index.html选择Open in Live Server。此时 Live Server 会在本机创建node服务器运行index.html。