Repository navigation
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
Member
devin-ai-integration
Bot
force-pushed
the
feat/qr-capture
branch
from
October 7, 2026 07:24
0365e21 to
7c09a2f
Compare
Contributor
Author
|
@greptileai review |
Contributor
Author
|
Hey, 5/5 now |
Member
|
Thanks so much for this contribution, @x1xhlol! Cap's desktop app has now fully moved from Tauri to our new native GPUI app ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Extends the text-capture flow (Ctrl/Cmd+Shift+T) with QR code and barcode recognition: if the selected area contains a QR code or barcode, its decoded payload is copied to the clipboard instead of running OCR. No code found → falls back to OCR exactly as before.
barcodemodule usingrxing(Rust port of ZXing — free, on-device, supports QR plus the common 1D/2D barcode formats), decoding withTryHarderon the captured region's luma data.capture_ocr_texttries the barcode decode first (on a blocking task), and only falls back to OCR when nothing is found:Builds on #2095 (OCR text capture); the barcode change itself is the top commit.
Showcase
Select a QR code and its payload is on the clipboard, ready to paste:
Testing (Windows, end-to-end on a live dev build)
macOS compiles the same path (the decoder is pure Rust, platform-independent); runtime-tested on Windows only.
The PR appears safe to merge.
Summary
The PR extends area text capture to decode QR codes and barcodes before falling back to native OCR.
rxing.Reviews (2) · Last reviewed commit: "Decode QR codes and barcodes in text cap..." · Reviewed by Greptile