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

How to turn off text orientation detection

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

説明

I do not want MS Read API to return a "flipped" box.
e.g.
```
"words": [
{
"bounding_box": [
1113.0,
85.0,
1072.0,
86.0,
1072.0,
66.0,
1112.0,
66.0
],
"text": "NOS)",
"confidence": 0.147
}
]
```

I'm using this function

```
def read_in_stream(
self, image, language=None, pages=None, model_version="latest", reading_order="basic", custom_headers=None, raw=False, callback=None, **operation_config):
```
putting detectionOrientation : False in query_parameters didn't work.

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

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

調査の方向性

Start by tracing the Python read_in_stream entry point and how detectionOrientation is added to query parameters. Check the Azure Read API request options and any related examples or tests; done means identifying a supported way to disable orientation detection or documenting that the requested behavior is unavailable.

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

評価

技術スタック
azure, python
領域
api, cloud
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

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

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