8000 feat(documents): fetch anytopdf 0.4.0 by adeelahmad · Pull Request #220 · adeelahmad/lense · GitHub
[go: up one dir, main page]

Skip to content

feat(documents): fetch anytopdf 0.4.0 - #220

Merged
adeelahmad merged 1 commit into
mainfrom
claude/project-thread-j5in0x
Oct 7, 2026
Merged

adeelahmad merged 1 commit into
mainfrom
claude/project-thread-j5in0x

Conversation

@adeelahmad
Copy link
Copy Markdown
Owner

Description

Before: Lens downloaded anytopdf 0.3.0.

After: Lens downloads anytopdf 0.4.0, checked against the checksums in that release's SHA256SUMS.

How: anytopdf.VERSION and ARCHIVES now point at the 0.4.0 release. The docs, the changelog entry and the tests move with them.

Motivation and Context

0.4.0 fixes everything that failed when we tested 0.3.0 against Lens. On the same files and models:

  • Face recognition: a second Messi photo still matches the enrolled Messi, and the bus and Lena faces are new people. In 0.3.0 they were all "Messi". This holds with SFace and ArcFace R100.
  • Objects: Lens's YOLOX model finds 1 bus and 4 people, the same as YOLO11n. In 0.3.0 it found nothing.
  • Photos inside emails and zips: they now get faces and objects.

Documents, email, scans and photo OCR give the same text as 0.3.0. Results: report.

Lens still runs anytopdf with --no-plugins, so its own face and object steps are unchanged. Using anytopdf's faces and objects is a follow-up.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change; ! in the title)

Checklist:

  • The title is a Conventional Commit.
  • My code follows the code style of this project (ruff, ruff format pass locally).
  • I added or updated tests. tests/api/test_anytopdf.py passes, including the real-binary test against the 0.4.0 release, and anytopdf.fetch downloaded and verified the real 0.4.0 archive.
  • My change requires documentation updates, and I have updated docs/ accordingly.
  • The ## Unreleased entry in CHANGELOG.md now names 0.4.0.

🤖 Generated with Claude Code

https://claude.ai/code/session_01HysPx1nJnWBK2JJKbmbqdZ


Generated by Claude Code

0.4.0 fixes face recognition, YOLOX objects and enrichment of photos
inside emails and archives, and joins OCR words into lines in chunks.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HysPx1nJnWBK2JJKbmbqdZ
@adeelahmad
adeelahmad merged commit 91c2a90 into main Oct 7, 2026
7 checks passed
@adeelahmad
adeelahmad deleted the claude/project-thread-j5in0x branch October 7, 2026 09:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0