Trusted by top-tier teams worldwide

v2-Carlabella
v2-Spendesk
v2 Payfit
v2 Lucca
v2 Circula
v2-Carlabella
v2-Spendesk
v2 Payfit
v2 Lucca
v2 Circula

Without

Edge detector

Generalist LLMs struggle with precise spatial coordinates, leading to messy crops and hallucinated document borders

Often "hallucinates" coordinates, cutting off text or logos

High-res images needed for cropping burn through tokens

Struggles with "cluttered” layout

Difficult to admit when it's "unsure" of a type

With

Edge detector

+99%

Accurate border detection

Identifies exact physical edges

Fixed processing cost regardless of image complexity

Easily isolates 10+ items on a single scan

Built-in metrics to trigger human review only when needed

Implement “Edge detector” into your document workflow, in seconds

Available for every plan

From Mindee’s platform, create a new pre‑processing model by clicking on “Edge detector” utility

You will find it at the bottom of the user interface. If you are more familiar with this type of pre-processing model, you can directly use it by checking the Documentation for more details.

User interface displaying document types like Resume, Invoice, Receipt, and tools such as Crop, Split, and OCR for document processing.
Interface for configuring document classes with options for RECIEPT and OTHER, and buttons to Cancel or Create Utility.

Custom to your needs

Enter the document types that you may find in your files

Before final pre-processing, you need to define appropriate categories. Be sure to manually add an “Undefined” category. If a file doesn’t match to your document main categories, it will be available in the “Undefined” one.

PDF, HEIC, PNG, JPEG... MUltiple formats

Upload any document without friction: universal PDF and image support

Accelerate ingestion with native support for PDFs and all image formats. From high-res scans to mobile captures, Mindee API handles any input, ensuring your data is always ready for extraction.

Screenshot of a software interface displaying multiple cropped images of receipts with labels such as RECEIPT and OTHER and a JSON response showing metadata about detected receipts.

full document processing stack

Find all your documents cropped and individualized in standard JSON format, with corresponding bounding boxes

Pre-processing via auto-crop can then be combined with other Mindee API utilities to further improve the granularity of the extracted data.

How automated document data extraction APIs work

Five steps run behind Mindee's API, from a blurry phone photo to validated JSON your systems can trust. Pick a step to see what happens.

01 / 05 · Capture

Smart capture, from poor phone pictures to native PDFs

Bridge the gap between noisy inputs and structured data. Mindee reads low-quality phone captures, handwritten notes and native PDFs alike, and isolates several documents shot on a single picture.

  • Phone photos, scans and multi-page PDFs
  • Document borders detected automatically

02 / 05 · Pre-processing

Split and classify before a single field is read

A 40-page scan from the office printer, three receipts on one photo, invoices mixed with credit notes: Mindee finds where each document starts, labels its type and sends it to the right model.

  • Page ranges for every detected document
  • Your own document classes for routing

Developers and technical profiles already used it !

Add modern AI-based Mindee OCR API to your product, in minutes.

Mindee is an integrated document processing platform backed by reliable AI technology. The service has an intuitive and user-friendly interface and provides highly accurate results extracting data from various document types, especially financial receipts and invoices, which are relatively complex for efficient data extraction and automation.

quote

on G2

Mindee is a software that helps us to convert all of our physical business data like bills, invoices, warranty cards, calendar, recipts received to us into a digital documents that can be stored in our drive and can be uploaded in different type of Excel sheets so that all the updates can be maintained and a proper analytics of transactions can be kept by the financial team

quote

on G2

Mindee is a web based tool that help us in scanning and reading different type of documents like identity cards, invoices, proposal plans etc and extract all the information with its AI and then it provides all the information and data associated with these documents a structured way.

quote

on G2

Excellent. In addition to their great product, the sales team has always been proactive on how they could help us leverage the maximum results from their product. It was like having an additional product manager on our side

quote

on Capterra

Mindee works reliably and delivers good performance. The OCR data is accurate, and the API is stable. It works like a charm.

quote

on Capterra

I like the easiness and how to use it. Also the price model is very fair. Good with space for improvement

quote

on Capterra

+15M documents processed monthly
Start to use edge detector now.

Already +500 active users

SOC 2 Type II & GDPR

No credit card required

FAQ about Mindee's OCR API

What is edge detector feature ?

Edge detector feature is a specialized computer vision feature that detects, isolates, and crops individual records scanned together on a single page.

Instead of treating a scan of several receipts or IDs as one image, the API identifies the physical boundaries of each item. It then creates separate, high-resolution standalone files for each record, ensuring that the downstream extraction engine processes them individually for maximum accuracy.

What are real-world examples of edge detector ?

Edge detector finds the borders of each document within a single image or scan and separates it, so each one is processed as its own record. Common examples:

Expense management: An employee scans three or four taxi receipts and a restaurant bill on one page. Each receipt is cropped out and extracted separately, so a lunch receipt is never merged with a taxi fare.

Identity verification (KYC): The front and back of a driver’s license, or several ID cards, are scanned together. Each side or card is isolated for verification.

Healthcare: Several lab labels or prescription stickers are scanned onto one sheet. Each one is cropped and digitized individually.

See more examples in our customer stories.

How edge detector works ?

Mindee's process is a sophisticated blend of geometric analysis and edge detection. When a single page is uploaded, Mindee’s vision pipeline performs a "spatial scan" to find high-contrast edges that indicate a physical object's edge.

  • Object detection: The AI identifies how many distinct items are on the page.
  • Bounding box generation: It draws a precise "box" around each item, even if they are placed at an angle (this is where "auto-deskewing" happens).
  • Cropping & de-noising: The system crops each box into a new, individual image file and clean the quality.
  • Individual processing: Each new file is sent to the relevant extraction model (e.g., the Receipt API) as if it had been uploaded on its own, eliminating cross-talk between different documents.

How to auto detect multiple images or PDFs at once?

Mindee’s edge detector feature does this automatically. When you send an image or PDF containing several documents (for example, a photo of multiple receipts on a table or a scan of several IDs), it detects the borders of each document and returns its exact position, so each one can be cropped out and processed individually.

You don’t need to crop files by hand or write your own image-processing code. You can accept bulk scans from users and let the API handle the separation, which saves development time and makes uploading easier for your users.