LaTeX-OCR icon indicating copy to clipboard operation
LaTeX-OCR copied to clipboard

pix2tex will trigger the computer copy function, automatically copy the inference results

Open BensenHsu opened this issue 1 year ago • 2 comments

Hi @lukas-blecher, thank you for creating this useful tool! But recently I noticed an issue, which is that it will trigger the computer copy function, and automatically copy the inference results. This is a drain on my computer's resources. How can you turn this feature off? Much appreciated!

BensenHsu avatar May 17 '23 03:05 BensenHsu

It happens right here: https://github.com/lukas-blecher/LaTeX-OCR/blob/6205b060fd840e993643c5732fc3be3e0a821ebf/pix2tex/cli.py#L136-L139 You can delete this line. But you're right, there should be an option to turn it off

lukas-blecher avatar May 17 '23 09:05 lukas-blecher

It happens right here:

https://github.com/lukas-blecher/LaTeX-OCR/blob/6205b060fd840e993643c5732fc3be3e0a821ebf/pix2tex/cli.py#L136-L139

You can delete this line. But you're right, there should be an option to turn it off

Thank you for pointing out the corresponding section. Looking forward to the option to turn it off in the future updates!

BensenHsu avatar May 17 '23 09:05 BensenHsu