Capture text/QR Codes/Barcodes from screen snippets

168
6
Swift

Viz


Status: Maintained
Version: 1.7
Download · Commits


Extract text from images, videos, QR codes, barcodes with a simple snip mechanism.

Features

  • 100% Swift
  • Small app size (~4MB)
  • Very quick extraction process
  • Copies to clipboard automatically, ready to paste
  • Post-processing option to execute shell commands when capture is taken. Can use the captured text via [ocr] token within the shell commands
  • Hotkeys CMD+Shift+1 and CMD+Shift+2 for starting a text or qr/barcode scan. These can be cleared out and custom hotkeys can be set by user
  • Shows copied text in a floating window, which can be set to auto-hide as well
  • Enable or disable line breaks in the extracted text
  • Append multiple text snippets to the clipboard by enabling Append option in Settings, otherwise it only holds one snippet at a time
  • Launch at login option
  • Custom auto-updater that pulls latest release notes and binaries from GitHub Releases (Viz should be ran from /Applications folder to avoid permission issues)

Preview

main

Text Extraction Demo

https://github.com/alienator88/Viz/assets/6263626/2b809553-0eb1-4a6e-bbb5-8404680067d8

QR/Barcode Extraction Demo

https://github.com/alienator88/Viz/assets/6263626/b88173ce-74ec-4d80-b061-60f32fc7e470

Requirements

  • MacOS 13.0+ (App uses some newer SwiftUI functions/modifiers which don’t work on anything lower than 13.0)
  • Viz is now signed/notarized Open Viz first time by right clicking and selecting Open. This adds an exception to Gatekeeper so it doesn’t complain about the app not being signed with an Apple Developer certificate

Getting Viz

Releases

Pre-compiled, always up-to-date versions are available from my releases page.

Homebrew

You can add the app via Homebrew:

brew install viz

License

[!IMPORTANT]
Viz is licensed under Apache 2.0 with Commons Clause. This means that you can do anything you’d like with the source, modify it, contribute to it, etc., but the license explicitly prohibits any form of monetization for Viz or any modified versions of it. See full license HERE

Thanks

Much appreciation to Wynioux for their Gatekeeper script used as inspiration.

Some of my apps

Pearcleaner - An opensource app cleaner with privacy in mind

Sentinel - A GUI for controlling gatekeeper status on your mac

Viz - Utility for extracting text from images, videos, qr/barcodes