---
title: "Convert an image of text into a binary (light and dark) view with ML"
method: POST
path: "/ocr/preprocessing/image/binarize/advanced"
tags: ["Preprocessing"]
---

# Convert an image of text into a binary (light and dark) view with ML

`POST /ocr/preprocessing/image/binarize/advanced`

Perform an advanced adaptive, Deep Learning-based binarization algorithm on the input image to prepare it for further OCR operations.  Provides enhanced accuracy than adaptive binarization.  Image will be upsampled to 300 DPI if it has a DPI below 300.

## 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)
