oomol-lab

pdf-craft: Convert Scanned PDFs with DeepSeek OCR

PDF Craft is a Python library and online service for turning scanned books, research papers, and technical documents into editable Markdown or reader-friendly EPUB. Built around DeepSeek OCR, it also supports translation and translated PDF output.

ActivePythonMITLibraryPDFOCR
Stars
6.4k
Forks
466
Stars, last 30 days
+146
Last commit
1 day ago
Contributors
6

Our take

Activeregular commits and releases

Health score

59/100

How it is scored
Activity
81
Community
21
Issues
47
Pull requests
85

+146 stars in the last 30 days

  • Merges more pull requests than 98% of the projects we track
  • Releases more often than 78% of the projects we track

PDF Craft is a focused option for scanned-document conversion and translation, with an active release pace but substantial dependence on one contributor and OCR setup that varies by deployment.

Good fit if

  • You need scanned books or documents converted to Markdown or EPUB, or translated into another language.
  • You want a browser-based route or Python APIs, and can use remote OCR or meet the requirements for local OCR.
  • You value a permissive MIT-licensed project with regular recent commits and releases.

Look elsewhere if

  • You need OCR that does not depend on the supported DeepSeek OCR or Unlimited OCR backends.
  • You cannot use an online conversion service and cannot configure a compatible remote OCR service or the local GPU stack.
  • Your team requires project maintenance to be distributed across contributors; most project activity comes from one person.
All health signals
Last commit2026-10-16 (1 day ago)
Commits, last 90 days100+
Releases, last 12 months26 (latest v2.4.2, 2026-10-12)
Contributors6 (top contributor: 97% of commits)
Issues closed, last 90 days1+
Pull requests merged, last 90 days97 (typically merged in 0 days)
Project age20 months

Checked on 2026-10-18 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

6,495

Forks

475

Change since Nov 8, 2026: +1 stars·0 forks

Overview

PDF Craft is a Python library and online service for converting scanned books, research papers, and technical documents into editable Markdown or reader-friendly EPUB. It is built around DeepSeek OCR from DeepSeek, with support for DeepSeek OCR 2 and Baidu's Unlimited OCR as well. The online service lets readers convert files in a browser; the Python library is for developers who want to integrate conversion or run OCR themselves.

The project targets scans whose text and structure need to be recovered for editing, searching, or reading in an ebook app. It can also translate PDF and EPUB content, create bilingual EPUBs, and write translations onto the original PDF pages.

Key Features

  • Convert scanned PDFs to Markdown with text and image assets.
  • Create EPUBs with book metadata and a table of contents.
  • Extract document structure including chapters, footnotes, tables, formulas, and images.
  • Use DeepSeek OCR, DeepSeek OCR 2, or Unlimited OCR with remote or local configurations.
  • Translate during conversion or translate existing EPUBs, with replacement or bilingual output modes.
  • Write translated text back onto the source PDF pages.
  • Save extraction results in .pcex files for reuse in later processing.
  • Choose browser-based conversion or integrate conversion through synchronous and asynchronous Python APIs.

Use Cases

  • A reader wants to turn a scanned book into an EPUB without installing Python or configuring OCR, and can use PDF Craft Online.
  • A researcher needs scanned papers converted to searchable, editable Markdown, with image assets retained alongside the text.
  • A developer is building a document workflow and wants Python APIs plus reusable extraction files for later rendering or translation.
  • A reader or publisher wants a translated or bilingual EPUB, or a translated PDF that preserves the original page layout as a starting point for review.

What you need

Detected in the repository

  • Python >=3.11,<3.14 (from pyproject.toml)
  • A test suite and automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

For the Python library, install it with:

python -m pip install pdf-craft

The quick-start example uses a compatible remote OCR service. See the README and installation guide for setup details. To convert without installing Python or configuring OCR, use PDF Craft Online.

Alternatives

  • marker: Marker converts PDFs into Markdown and other structured formats, but does not focus on EPUB creation or document translation.
  • gptpdf: gptpdf uses vision models to convert PDF pages to Markdown, while pdf-craft centers on DeepSeek OCR and also offers EPUB and translation.
  • docling: Docling handles PDFs and many other formats for structured document workflows, rather than focusing on scanned books, EPUBs, and translation.
  • indra: Indra converts PDFs and images to Markdown, text, or JSON with CPU-based OCR, but does not offer EPUB conversion or translation.
ProjectLanguageLicenseStarsStatus
pdf-craftPythonMIT6.4kActive
markerPythonApache-2.040.2kActive
gptpdfPythonMIT3.6kInactive
doclingPythonMIT69.8kActive
indraPythonApache-2.0421New

Considerations

  • The project is active, with regular commits and releases, but its contributor base is small and work is highly concentrated in one contributor. Recent pull requests have been merged regularly, while the available issue-handling data shows little recent issue closure.
  • The package requires Python 3.11 through 3.13 and Poppler. Remote OCR needs a compatible service URL and credentials; local OCR additionally requires CUDA-enabled PyTorch, sufficient VRAM, and model files.
  • Translation and some metadata or table-of-contents analysis can involve separate remote LLM services. Review what content is sent to configured services before processing sensitive documents.
  • Conversion quality depends on scan quality, page layout, and OCR model. The README recommends checking a representative document before processing a larger collection.
  • Writing translations onto source PDF pages requires Ghostscript and suitable local fonts, and the resulting layout should be checked against the original.
  • The project is MIT-licensed, but third-party dependencies and selected OCR models retain their own licenses.

Found this useful?

Share it with someone who would like pdf-craft.

Comparisons