forked from PaddlePaddle/FastDeploy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Doc] Update English version of some documents (PaddlePaddle#1084)
* 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
- Loading branch information
Showing
84 changed files
with
2,162 additions
and
1,630 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
简体中文 | [English](classification_result.md) | ||
# ClassifyResult 图像分类结果 | ||
|
||
ClassifyResult代码定义在`fastdeploy/vision/common/result.h`中,用于表明图像的分类结果和置信度。 | ||
|
||
## C++ 定义 | ||
|
||
`fastdeploy::vision::ClassifyResult` | ||
|
||
```c++ | ||
struct ClassifyResult { | ||
std::vector<int32_t> label_ids; | ||
std::vector<float> scores; | ||
void Clear(); | ||
std::string Str(); | ||
}; | ||
``` | ||
- **label_ids**: 成员变量,表示单张图片的分类结果,其个数根据在使用分类模型时传入的topk决定,例如可以返回top 5的分类结果 | ||
- **scores**: 成员变量,表示单张图片在相应分类结果上的置信度,其个数根据在使用分类模型时传入的topk决定,例如可以返回top 5的分类置信度 | ||
- **Clear()**: 成员函数,用于清除结构体中存储的结果 | ||
- **Str()**: 成员函数,将结构体中的信息以字符串形式输出(用于Debug) | ||
## Python 定义 | ||
`fastdeploy.vision.ClassifyResult` | ||
- **label_ids**(list of int): 成员变量,表示单张图片的分类结果,其个数根据在使用分类模型时传入的topk决定,例如可以返回top 5的分类结果 | ||
- **scores**(list of float): 成员变量,表示单张图片在相应分类结果上的置信度,其个数根据在使用分类模型时传入的topk决定,例如可以返回top 5的分类置信度 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
简体中文 | [English](detection_result.md) | ||
# DetectionResult 目标检测结果 | ||
|
||
DetectionResult代码定义在`fastdeploy/vision/common/result.h`中,用于表明图像检测出来的目标框、目标类别和目标置信度。 | ||
|
||
## C++ 定义 | ||
|
||
```c++ | ||
fastdeploy::vision::DetectionResult | ||
``` | ||
|
||
```c++ | ||
struct DetectionResult { | ||
std::vector<std::array<float, 4>> boxes; | ||
std::vector<float> scores; | ||
std::vector<int32_t> label_ids; | ||
std::vector<Mask> masks; | ||
bool contain_masks = false; | ||
void Clear(); | ||
std::string Str(); | ||
}; | ||
``` | ||
- **boxes**: 成员变量,表示单张图片检测出来的所有目标框坐标,`boxes.size()`表示框的个数,每个框以4个float数值依次表示xmin, ymin, xmax, ymax, 即左上角和右下角坐标 | ||
- **scores**: 成员变量,表示单张图片检测出来的所有目标置信度,其元素个数与`boxes.size()`一致 | ||
- **label_ids**: 成员变量,表示单张图片检测出来的所有目标类别,其元素个数与`boxes.size()`一致 | ||
- **masks**: 成员变量,表示单张图片检测出来的所有实例mask,其元素个数及shape大小与`boxes`一致 | ||
- **contain_masks**: 成员变量,表示检测结果中是否包含实例mask,实例分割模型的结果此项一般为true. | ||
- **Clear()**: 成员函数,用于清除结构体中存储的结果 | ||
- **Str()**: 成员函数,将结构体中的信息以字符串形式输出(用于Debug) | ||
```c++ | ||
fastdeploy::vision::Mask | ||
``` | ||
```c++ | ||
struct Mask { | ||
std::vector<int32_t> data; | ||
std::vector<int64_t> shape; // (H,W) ... | ||
|
||
void Clear(); | ||
std::string Str(); | ||
}; | ||
``` | ||
- **data**: 成员变量,表示检测到的一个mask | ||
- **shape**: 成员变量,表示mask的shape,如 (h,w) | ||
- **Clear()**: 成员函数,用于清除结构体中存储的结果 | ||
- **Str()**: 成员函数,将结构体中的信息以字符串形式输出(用于Debug) | ||
## Python 定义 | ||
```python | ||
fastdeploy.vision.DetectionResult | ||
``` | ||
|
||
- **boxes**(list of list(float)): 成员变量,表示单张图片检测出来的所有目标框坐标。boxes是一个list,其每个元素为一个长度为4的list, 表示为一个框,每个框以4个float数值依次表示xmin, ymin, xmax, ymax, 即左上角和右下角坐标 | ||
- **scores**(list of float): 成员变量,表示单张图片检测出来的所有目标置信度 | ||
- **label_ids**(list of int): 成员变量,表示单张图片检测出来的所有目标类别 | ||
- **masks**: 成员变量,表示单张图片检测出来的所有实例mask,其元素个数及shape大小与`boxes`一致 | ||
- **contain_masks**: 成员变量,表示检测结果中是否包含实例mask,实例分割模型的结果此项一般为True. | ||
|
||
```python | ||
fastdeploy.vision.Mask | ||
``` | ||
- **data**: 成员变量,表示检测到的一个mask | ||
- **shape**: 成员变量,表示mask的shape,如 (h,w) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.