Skip to content

SamkitJain660/Shotzy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shotzy

Image search on Google Lens, OCR and QR scan directly from the built-in GNOME Screenshot tool.

Shotzy.mp4

Installation

Dependencies:

Install Tesseract OCR and zbar-tools before proceeding (if you wish to use OCR / QR scanning):

# Arch
sudo pacman -S tesseract tesseract-data-eng
sudo pacman -S zbar

# Ubuntu/Debian
sudo apt install tesseract-ocr
sudo apt install zbar-tools

# NixOS
add this somewhere in you config

environment.systemPackages = [
    zbar
    pkgs.tesseract # to install all languages
    # or (pkgs.tesseract.override { enableLanguages = [ "eng" "rus" ]; }) to install only specific lanuages
];

environment.variables = {
    TESSDATA_PREFIX = "${pkgs.tesseract}/share/tessdata";
};

Shotzy detects installed OCR languages from TESSDATA_PREFIX env variable or from /usr/share/tessdata if not specified.

Install extra Tesseract language packs to make them selectable in the OCR settings.


GNOME Extensions Portal

https://extensions.gnome.org/extension/9707/shotzy/


Manual Install

mkdir -p ~/.local/share/gnome-shell/extensions/shotzy@SamkitJain660.github.io && \
wget -qO- https://github.com/SamkitJain660/Shotzy/archive/refs/heads/main.tar.gz | \
tar -xz --strip-components=1 -C ~/.local/share/gnome-shell/extensions/shotzy@SamkitJain660.github.io

Compile schemas:

glib-compile-schemas ~/.local/share/gnome-shell/extensions/shotzy@SamkitJain660.github.io/schemas/

Then restart GNOME Shell and enable the extension:

gnome-extensions enable shotzy@SamkitJain660.github.io

Releases

Packages

Contributors

Languages