This file contains 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
# Tesseract OCR ; process images as arguments to convert image to text | |
## .bashrc: | |
# alias catpic='python3 $home/scripts/ocr.py' | |
## keybind that I use in my hyprland configuration file: | |
# bind = SUPER, o, exec, grim -g "$(slurp)" - | python3 $home/scripts/ocr.py | wl-copy | |
This file contains 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
#!/bin/bash | |
# place in whisper.cpp/ | |
# assign this scfript to a hotkey to start a recording | |
# assign ffmpeg kill command to another hotkey to stop it | |
# if desired, | |
# modify the whisper.cpp/main command to add an argument | |
# for using a specific model other than whisper.cpp's base model | |
cd /home/user/whisper.cpp |