mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2025-10-13 04:13:58 +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
2.0 KiB
2.0 KiB
English | 中文
Keypoint Detection Result
The KeyPointDetectionResult code is defined in fastdeploy/vision/common/result.h
, and is used to indicate the coordinates and confidence level of each keypoint of the target's behavior in the image.
C++ Definition
fastdeploy::vision::KeyPointDetectionResult
struct KeyPointDetectionResult {
std::vector<std::array<float, 2>> keypoints;
std::vector<float> scores;
int num_joints = -1;
void Clear();
std::string Str();
};
- keypoints: Member variable which indicates the coordinates of the identified target behavior keypoint.
keypoints.size() = N * J
:N
: the number of targets in the imageJ
: num_joints (the number of keypoints of a target)
- scores: Member variable which indicates the confidence level of the keypoint coordinates of the identified target behavior.
scores.size() = N * J
:N
: the number of targets in the pictureJ
:num_joints (the number of keypoints of a target)
- num_joints: Member variable which indicates the number of keypoints of a target.
- Clear(): Member function used to clear the results stored in the structure.
- Str(): Member function used to output the information in the structure as string (for Debug).
Python Definition
fastdeploy.vision.KeyPointDetectionResult
- keypoints(list of list(float)): Member variable which indicates the coordinates of the identified target behavior keypoint.
keypoints.size() = N * J
:N
: the number of targets in the imageJ
: num_joints (the number of keypoints of a target)
- scores(list of float): Member variable which indicates the confidence level of the keypoint coordinates of the identified target behavior.
scores.size() = N * J
:N
: the number of targets in the pictureJ
:num_joints (the number of keypoints of a target)
- num_joints(int): Member variable which indicates the number of keypoints of a target.