两个 pip3 包之间的区别:pytesseract 与 tesseract

Difference between two pip3 packages: pytesseract vs tesseract

这两个包有什么区别?

pip3 install pytesseract
pip3 install tesseract

pip3 install pytesseract 得到我 this package

Python-tesseract is a python wrapper for google's Tesseract-OCR

pip install tesseract 得到我 this package

Tesselation based Recovery of Amorphous halo Concentrations. The TesseRACt package is designed to compute concentrations of simulated dark matter halos from volume info for particles generated using Voronoi tesselation.

两者都是 Python 的 OCR 包装器;然而,pytesseract 基于 Google 的 OCR API 而 tesseract 不是。我建议使用 pytesseract,因为它会得到更好的维护,但话虽如此,请同时尝试使用它们并使用更适合您的那个。