mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-05 16:48:03 +08:00

* 第一次提交 * 补充一处漏翻译 * deleted: docs/en/quantize.md * Update one translation * Update en version * Update one translation in code * Standardize one writing * Standardize one writing * Update some en version * Fix a grammer problem * Update en version for api/vision result * Merge branch 'develop' of https://github.com/charl-u/FastDeploy into develop * Checkout the link in README in vision_results/ to the en documents * Modify a title * Add link to serving/docs/ * Finish translation of demo.md * Update english version of serving/docs/ * Update title of readme * Update some links * Modify a title * Update some links * Update en version of java android README * Modify some titles * Modify some titles * Modify some titles * modify article to document * update some english version of documents in examples * Add english version of documents in examples/visions * Sync to current branch * Add english version of documents in examples
English | 简体中文
Introduction to Paddle.js Demo Module
This part is a model library developed based on Paddle.js, which mainly provides the ability to directly introduce and use models on the web side.
demo name | source directory | npm package |
---|---|---|
face detection | facedetect | @paddle-js-models/facedetect |
Screw detection | detect | @paddle-js-models/detect |
Portrait segmentation background replacement | humanseg | @paddle-js-models/humanseg |
Gesture Recognition AI Guessing Shell | gesture | @paddle-js-models/gesture |
1000 Item Recognition | mobilenet | @paddle-js-models/mobilenet |
Text Detection | ocrdetection | @paddle-js-models/ocrdet |
Text Recognition | ocr | @paddle-js-models/ocr |
Usage
This part is Menorepo built with pnpm
Install dependencies
pnpm i
Development
See Package.json for development testing with yalc
.
pnpm run dev:xxx
Overall Introduction
- Use rollup to package the code of commonjs and es specifications at one time; at the same time, it is extensible; at present, there are some problems with the dependent cv library; there is no configuration for umd packaging.
- The d.ts file is generated based on api-extractor during packaging, and the introduction of ts is supported to generate our package
- Support testing based on jest and display test related coverage, etc.
- Maintain code style based on ts and eslint to ensure better code development
- Generate custom keywords based on conventional-changelog-cli and generate changelog accordingly
- Implement local packaging development and testing based on yalc