mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-13 20:34:02 +08:00

* Create README_CN.md * Update README.md * Update README_CN.md * Create README_CN.md * Update README.md * Create README_CN.md * Update README.md * Create README_CN.md * Update README.md * Create README_CN.md * Update README.md * Create README_CN.md * Update README.md * Create README_CN.md * Update README.md * Create README_CN.md * Update README.md * Update README.md * Update README_CN.md * Create README_CN.md * Update README.md * Update README.md * Update and rename README_en.md to README_CN.md * Update WebDemo.md * Update and rename WebDemo_en.md to WebDemo_CN.md * Update and rename DEVELOPMENT_cn.md to DEVELOPMENT_CN.md * Update DEVELOPMENT_CN.md * Update DEVELOPMENT.md * Update RNN.md * Update and rename RNN_EN.md to RNN_CN.md * Update README.md * Update and rename README_en.md to README_CN.md * Update README.md * Update and rename README_en.md to README_CN.md * Update README.md * Update README_cn.md * Rename README_cn.md to README_CN.md * Update README.md * Update README_cn.md * Rename README_cn.md to README_CN.md * Update export.md * Update and rename export_EN.md to export_CN.md * Update README.md * Update README.md * Create README_CN.md * Update README.md * Update README.md * Update kunlunxin.md * Update classification_result.md * Update classification_result_EN.md * Rename classification_result_EN.md to classification_result_CN.md * Update detection_result.md * Update and rename detection_result_EN.md to detection_result_CN.md * Update face_alignment_result.md * Update and rename face_alignment_result_EN.md to face_alignment_result_CN.md * Update face_detection_result.md * Update and rename face_detection_result_EN.md to face_detection_result_CN.md * Update face_recognition_result.md * Update and rename face_recognition_result_EN.md to face_recognition_result_CN.md * Update headpose_result.md * Update and rename headpose_result_EN.md to headpose_result_CN.md * Update keypointdetection_result.md * Update and rename keypointdetection_result_EN.md to keypointdetection_result_CN.md * Update matting_result.md * Update and rename matting_result_EN.md to matting_result_CN.md * Update mot_result.md * Update and rename mot_result_EN.md to mot_result_CN.md * Update ocr_result.md * Update and rename ocr_result_EN.md to ocr_result_CN.md * Update segmentation_result.md * Update and rename segmentation_result_EN.md to segmentation_result_CN.md * Update README.md * Update README.md * Update quantize.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md * Update README.md
80 lines
2.2 KiB
Markdown
80 lines
2.2 KiB
Markdown
[English](README.md) | 简体中文
|
||
# Paddle.js-demo
|
||
|
||
## Demo 目录
|
||
|
||
| 分类 | 名称 | 目录 |
|
||
|:----:| :--------------- | -------------------------------------------------------- |
|
||
| CV | 人像扣图 | /src/pages/cv/segmentation/HumanSeg |
|
||
| CV | 人像分割背景替换 | /src/pages/cv/segmentation/HumanSeg |
|
||
| CV | 手势识别AI猜丁壳 | /src/pages/cv/recognition/GestureRecognition |
|
||
| CV | 1000种物品识别 | /src/pages/cv/recognition/ItemIdentification |
|
||
| CV | 酒瓶识别 | /src/pages/cv/recognition/WineBottleIdentification |
|
||
| CV | 文本检测 | /src/pages/cv/ocr/TextDetection |
|
||
| CV | 文本识别 | /src/pages/cv/ocr/TextRecognition |
|
||
|
||
## 开发简介
|
||
|
||
### 安装依赖
|
||
|
||
```sh
|
||
npm install
|
||
```
|
||
|
||
### 开发
|
||
|
||
```sh
|
||
npm run dev
|
||
```
|
||
|
||
### 查看页面
|
||
|
||
访问 `http://localhost:5173/main/index.html` 进入主页
|
||
|
||
### 构建
|
||
|
||
```sh
|
||
npm run build
|
||
```
|
||
|
||
### [ESLint](https://eslint.org/) 格式化
|
||
|
||
```sh
|
||
npm run lint
|
||
```
|
||
|
||
### 工程风格
|
||
|
||
1. 项目使用TypeScript
|
||
2. 推荐使用 Vue 的组合式 API,可以根据 'src/pages/ExampleFile.vue' 模板创建新的组件
|
||
3. CSS 使用 Less
|
||
4. eslint 使用的是 Vue 推荐的,一般情况请尽量符合对应的要求
|
||
5. store 使用的是 [Pinia](https://pinia.web3doc.top/)
|
||
6. router 使用的是 [vue-router](https://router.vuejs.org/zh/)
|
||
|
||
### src 目录简介
|
||
|
||
```text
|
||
├─assets 资源文件
|
||
├─components 全局组件
|
||
├─router 路由
|
||
├─stores 存储库
|
||
└─pages
|
||
└─cv cv相关demo
|
||
├─ocr ocr相关demo
|
||
│ ├─TextDetection
|
||
│ └─TextRecognition
|
||
├─...
|
||
├─recognition 识别相关demo
|
||
│ ├─GestureRecognition
|
||
│ ├─ItemIdentification
|
||
│ ├─...
|
||
│ └─WineBottleIdentification
|
||
└─segmentation 分割相关demo
|
||
├─PortraitBackgroundReplacement
|
||
├─...
|
||
└─PortraitMatting
|
||
|
||
```
|
||
新增组件在对应类别下新增即可,可以参考模板 'src/pages/ExampleFile.vue'
|