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

# Detect and unrotate a document image (advanced)

`POST /ocr/preprocessing/image/unrotate/advanced`

Detect and unrotate an image of a document (e.g. that was scanned at an angle) using deep learning.  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/revisions/809f1a173306/schema)
