Pytesseract works locally (you can unplug the ethernet cable and the library will still work). It can be assumed that this is a safe option for handling confidential data.