Azure-Samples / Azure-Samples/cognitive-services-quickstart-code
How to turn off text orientation detection
- Langage dominant
- Jupyter Notebook
- Étoiles
- 389
- Forks
- 556
- Merge moyen
- 3 j 12 h
- PR mergées (30 j)
- 1
Description
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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- azure, python
- Domaine
- api, cloud
- Type d'issue
- Bug
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100