mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-06 00:57:33 +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.3 KiB
Markdown
80 lines
2.3 KiB
Markdown
English | [简体中文](README_CN.md)
|
|
# Paddle.js-demo
|
|
|
|
## Demo Directory
|
|
|
|
| Classification | Name | Directory |
|
|
|:----:| :--------------- | -------------------------------------------------------- |
|
|
| CV | Portrait matting | /src/pages/cv/segmentation/HumanSeg |
|
|
| CV | Portrait segmentation background replacement | /src/pages/cv/segmentation/HumanSeg |
|
|
| CV | Gesture recognition AI 'Rock Paper Scissors' | /src/pages/cv/recognition/GestureRecognition |
|
|
| CV | Identify 1000 items | /src/pages/cv/recognition/ItemIdentification |
|
|
| CV | Wine bottle recognition | /src/pages/cv/recognition/WineBottleIdentification |
|
|
| CV | Text detection | /src/pages/cv/ocr/TextDetection |
|
|
| CV | Text Recognition | /src/pages/cv/ocr/TextRecognition |
|
|
|
|
## Introduction to Development
|
|
|
|
### Install dependencies
|
|
|
|
```sh
|
|
npm install
|
|
```
|
|
|
|
### Development
|
|
|
|
```sh
|
|
npm run dev
|
|
```
|
|
|
|
### Page View
|
|
|
|
Visit `http://localhost:5173/main/index.html` and enter homepage
|
|
|
|
### Construction
|
|
|
|
```sh
|
|
npm run build
|
|
```
|
|
|
|
### [ESLint](https://eslint.org/) Formatting
|
|
|
|
```sh
|
|
npm run lint
|
|
```
|
|
|
|
### Project style
|
|
|
|
1. Use TypeScript
|
|
2. Vue's compositional API is recommended. Creating new components according to the 'src/pages/ExampleFile.vue' template
|
|
3. use Less for CSS
|
|
4. Use what Vue recommends for eslint. Try to meet the requirements.
|
|
5. Use [Pinia](https://pinia.web3doc.top/) for store
|
|
6. Use [vue-router](https://router.vuejs.org/zh/) for router
|
|
|
|
### Brief introduction to src
|
|
|
|
```text
|
|
├─assets
|
|
├─components
|
|
├─router
|
|
├─stores
|
|
└─pages
|
|
└─cv demo of cv
|
|
├─ocr demo of ocr
|
|
│ ├─TextDetection
|
|
│ └─TextRecognition
|
|
├─...
|
|
├─recognition demo of recognition
|
|
│ ├─GestureRecognition
|
|
│ ├─ItemIdentification
|
|
│ ├─...
|
|
│ └─WineBottleIdentification
|
|
└─segmentation demo of segmentation
|
|
├─PortraitBackgroundReplacement
|
|
├─...
|
|
└─PortraitMatting
|
|
|
|
```
|
|
Add new components under corresponding categories. Refer to 'src/pages/ExampleFile.vue' for its template
|