Skip to content

v1.6.0

Latest

Choose a tag to compare

@Kohulan Kohulan released this 25 Oct 15:11
0c3bd96

1.6.0 (2026-10-25)

Features

  • add return_page_numbers parameter to segment_chemical_structures_from_file (428cc2a)
  • optimize code for mask expansion and model loading (1457bc3)
  • read PDFs with pypdfium2 by default, PyMuPDF (AGPL-3.0) as an optional backend (8c90680)

Bug Fixes

  • COCO_MODEL_URL to new download link (6314ade)
  • default model download location (d215c41)
  • download and load the model on first use, not on import (37da1cc)
  • draw PDF form fields with pypdfium2, close pages and bitmaps, accept both CLI spellings (a7ec7ad)
  • improve thread safety in PDF loading by using separate document handles per thread (44c7fe5)
  • linting (c175225)
  • load model when startup (a26cb05)
  • load model when startup (80a281b)
  • load model when startup with pystow (b6b130f)
  • make PyMuPDF (AGPL-3.0) an optional dependency, imported only for PDFs (6575a46)
  • path issues in pystow (fea47e7)
  • remove unused imports (d259150)
  • Revise README for clarity and improved presentation (94927fe)
  • stop MaskRCNN.detect() leaking memory on every call (predict_on_batch) (39efb51)
  • Zenodo model download (12c011c)

Documentation

  • document return_page_numbers in the README (5364a51)
  • README sentence about the missing PyMuPDF ImportError back in its paragraph (3b44ce6)