You can bind hotkey to call something like this
textify | wl-copy
to pass result to your clipboard.
This project allows u to easily scrap text from images, or other sources where you can not just select text.
yay -S grim slurp tesseract tesseract-data-eng tesseract-data-rus
cargo build --releasegit clone https://github.com/enk-it/Textify.git
cd Textify
cargo build --release
chmod +x ./target/release/textify
sudo cp ./target/release/textify /usr/local/bin/ sudo rm /usr/local/bin/textify