Skip to content

How to turn off text orientation detection #287

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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