Files
FastDeploy/docs/api/vision_results/face_alignment_result_EN.md
charl-u 02eab973ce [Doc]Add English version of documents in docs/cn and api/vision_results (#931)
* 第一次提交

* 补充一处漏翻译

* 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
2022-12-22 18:15:01 +08:00

850 B

English | 中文

Face Alignment Result

The FaceAlignmentResult code is defined in fastdeploy/vision/common/result.h, and is used to indicate face landmarks.

C++ Definition

fastdeploy::vision::FaceAlignmentResult

struct FaceAlignmentResult {
  std::vector<std::array<float, 2>> landmarks;
  void Clear();
  std::string Str();
};
  • landmarks: Member variable which indicates all the key points detected in a single face image.
  • 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.FaceAlignmentResult

  • landmarks(list of list(float)): Member variable which indicates all the key points detected in a single face image.