Skip to content

How to turn off text orientation detection #287

@freddycct

Description

@freddycct

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions