Feat: On-device OCR to extract and copy text from images
Maintainers usually reply within 3 days
@Surajshivam-123 is already working on this.
Since Oct 10, 2026.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 28/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Active
- Tech stack
- python, sqlite
- Domain
- computer-vision, databases, desktop, machine-learning
Research direction
Start by locating the viewer action, ONNXSessionBase, model registration and feature-tier settings, and SQLite indexing paths. Review how the viewer should handle loading, modal text display, no-text results, clipboard feedback, and an unavailable model. Done means offline OCR extracts selectable text, supports copying, and indexes it for photo-library search.
Written by the indexing model from the issue text.
Description
Describe the feature
Feature
Add a local, privacy-preserving Optical Character Recognition (OCR) feature that allows users to extract text from photos and copy it directly to their clipboard.
Proposed Implementation & Architecture
1. Backend (On-Device Inference via ONNX)
- Model: Integrate a lightweight, offline ONNX OCR model .
- Register the model under a new or optional feature tier so users can manage/download it locally.
- Implement a dedicated model class extending
ONNXSessionBasefor thread-safe inference. - Index extracted text in SQLite so users can search their photo library by text found inside images.
2. Frontend (Viewer & UX)
- Viewer Action: Add a "Scan Text" icon button .
- Extraction Flow:
- Triggering the action shows a subtle loading state while inference runs.
- A modal dialog displays the recognized text with line formatting preserved.
- A primary "Copy to Clipboard" button with immediate feedback (e.g. "Copied!").
- Handles cases where no text was found.
- Prompts the user to download/enable the OCR model from Settings if not yet installed.
Add ScreenShots
Hi @rohan-pandeyy can i work in this feature.
Record
- I agree to follow this project's Code of Conduct
- I want to work on this issue
- Dominant language
- Python
- Stars
- 322
- Forks
- 793
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 20
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from AOSSIE-Org/PictoPy
-
bug enhancement
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AOSSIE-Org/PictoPy#1802 · 2 comments ·
Maintainers usually reply within 3 days
-
BUG: XMP metadata export permanently overwrites file modification timestamp (mtime), destroying photo datesPossibly taken @swastiksharma45 claimed this 2 days ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/PictoPy#1788 · 6 comments ·
Maintainers usually reply within 3 days
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 79/100
AOSSIE-Org/PictoPy#1786 · 1 comment ·
Maintainers usually reply within 3 days
-
BUG: Semantic search sees portrait phone photos sideways (SigLIP ignores EXIF orientation)Possibly taken @omkar-suryavanshi claimed this 3 days ago. Openbug enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
AOSSIE-Org/PictoPy#1780 · 5 comments ·
Maintainers usually reply within 3 days
-
BUG: Share password loses leading/trailing spaces so the password you set doesn't workPossibly taken @ManyaJain111 claimed this 2 days ago. Openbug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
AOSSIE-Org/PictoPy#1779 · 2 comments · 1 assignee ·
Maintainers usually reply within 3 days
All issues in AOSSIE-Org/PictoPy
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
hermes hooks doctor smoke test never checks the hook exit code — a crashing hook (exit=1) renders ✓ "ran clean" and "All shell hooks look healthy"Possibly taken @cestercian claimed this today. Opencomp/cli P2 type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
NousResearch/hermes-agent#162259 · 1 comment ·
Maintainers usually reply within 1 day
-
upstream update
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
conan-io/conan-center-index#31597 ·
Maintainers usually reply within 1 day
-
community-request
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
NVIDIA-NeMo/Run#727 ·
Maintainers usually reply within 1 day
-
bot-triaged module: higher order operators module: pickle module: pt2-dispatcher oncall: pt2 triaged
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
pytorch/pytorch#207247 · 1 comment ·
Maintainers usually reply within 1 day