Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Face Go - detection_03, recognition_04 undefined

未关闭
#327 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
azure, go
领域
api, cloud

调研方向

从 FaceQuickstart.go 开始,将其中对 Detection03 和 Recognition04 的引用与 issue 中链接的 Azure Cognitive Services Face SDK 文档进行比较。验证 SDK 是否提供这些模型,并确定受支持的路径;完成的标准是 quickstart 不再引用未定义的模型,并且其人脸检测和识别流程与可用的 API 相匹配。

由索引模型根据 Issue 内容生成。

描述

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [x] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
Minimal steps to reproduce

Running the quick start code "FaceQuickstart.go" return "undefined: face.Detection03" and "face.Recognition04"

Any log messages given by the failure
Expected/desired behavior

detecting faces and returning face Id and the requested attributes, face recognition using the latest detection_03 and recognition_04

OS and Version?

Windows 11

Versions
Mention any other details that might be useful

In azure-sdk-for-go documentation https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#DetectionModel,
only two detection models are identified as possible detection models.
const (
// Detection01 ...
Detection01 DetectionModel = "detection_01"
// Detection02 ...
Detection02 DetectionModel = "detection_02"
)
Similarly, only three recognition models are possible https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#RecognitionModel.

const (
// Recognition01 ...
Recognition01 RecognitionModel = "recognition_01"
// Recognition02 ...
Recognition02 RecognitionModel = "recognition_02"
// Recognition03 ...
Recognition03 RecognitionModel = "recognition_03"
)
However, in Azure Cognitive Services - Face API has three detection models - detection_01, detection_02 & detection_03 and four recognition models -recognition_01, recognition_02, recognition_03 and recognition_04

As per documentation, it is not clear if there are newer versions of sdk available which includes these latest models.
If this is not included, it would be great to have these also included.

主要语言
Jupyter Notebook
星标
388
派生
555
PR 合并指标
30 天内没有已合并 PR

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Azure-Samples/cognitive-services-quickstart-code 的其他 Issue

查看 Azure-Samples/cognitive-services-quickstart-code 的全部 Issue

相似的 Issue

更多 Backend & API Design Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。