---
title: "Detect and unrotate a document image"
method: POST
path: "/ocr/preprocessing/image/unrotate"
tags: ["Preprocessing"]
---

# Detect and unrotate a document image

`POST /ocr/preprocessing/image/unrotate`

Detect and unrotate an image of a document (e.g. that was scanned at an angle).  Great for document scanning applications; once unskewed, this image is perfect for converting to PDF using the Convert API or optical character recognition using the OCR API.

## Response `200`

OK

- string, byte

---

[API](https://skmtc.net/cloudmersive/apis/ocrapi.md) · [All operations](https://skmtc.net/cloudmersive/apis/ocrapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cloudmersive/ocrapi/versions/809f1a173306/schema)
