Azure-Samples / Azure-Samples/cognitive-services-quickstart-code

Face Go - detection_03, recognition_04 undefined

オープン
#327 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Jupyter Notebook
スター
389
フォーク
556
平均マージ
3日 12時間
マージ済み PR(30日)
1

説明

> 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](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#DetectionModel) = "detection_01"
// Detection02 ...
Detection02 [DetectionModel](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#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](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#RecognitionModel) = "recognition_01"
// Recognition02 ...
Recognition02 [RecognitionModel](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#RecognitionModel) = "recognition_02"
// Recognition03 ...
Recognition03 [RecognitionModel](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go/services/cognitiveservices/v1.0/face#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.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

FaceQuickstart.go から始め、そこにある Detection03 と Recognition04 の参照を、issue にリンクされている Azure Cognitive Services Face SDK のドキュメントと比較します。SDK がこれらのモデルを公開しているかを確認し、サポートされているパスを特定します。quickstart が未定義のモデルを参照しなくなり、顔検出と顔認識のフローが利用可能な API に一致すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, go
領域
api, cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。