This commit is contained in:
2025-12-14 12:11:07 -08:00
parent 332c7f6832
commit 40fa19cedc
3 changed files with 8 additions and 6 deletions

View File

@@ -10,6 +10,8 @@ set -Eeuo pipefail
# notify-send "GAZOU" "Text: $DISPLAY_RES"
# echo "$RES" | wl-copy
slurp | grim -g - /tmp/ocr.png || exit 1
transformers_ocr recognize --image-path /tmp/ocr.png || exit 1
notify-send "tramsformers_ocr" "Text: $DISPLAY_RES"
# grim -g "$(slurp)" /tmp/ocr.png || exit 1
# slurp | grim -g - /tmp/ocr/ocr.png || exit 1
owocr -r clipboard -w clipboard -of text -n || exit 1
slurp | grim -g - | wl-copy
notify-send "ocr.sh" "Text: $DISPLAY_RES"