Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
asprise_ocr_sdk_python_api
Advanced tools
Asprise OCR (optical character recognition) and barcode recognition SDK is a high performance royalty-free Python API library. It converts images (JPEG, PNG, TIFF, PDF, etc) into text, xml, searchable PDF or editable RTF/Word formats. Data capture are supported for processing documents like invoices and forms.
.. image:: https://badge.fury.io/py/asprise_ocr_sdk_python_api.png :target: http://asprise.com/royalty-free-library/python-ocr-sdk-asprise_ocr_api-overview.html :alt: Latest version
.. image:: https://pypip.in/d/asprise_ocr_sdk_python_api/badge.png :target: https://pypi.python.org/pypi/asprise_ocr_sdk_python_api :alt: Number of PyPI downloads
You may install with Python's pip either from a Unix/Linux shell or Windows command console: ::
> pip install asprise_ocr_sdk_python_api # Windows
$ sudo pip install asprise_ocr_sdk_python_api # Linux/Mac OS X
A sample front-end GUI for the OCR engine will be installed as a script named 'asprise_ocr'. You can run the following command in the same shell/console: ::
asprise_ocr
The following are the screenshots on Linux and Windows respectively:
.. image:: http://asprise.com/ocr/img/screenshots/python-linux-thumb.png :target: http://asprise.com/ocr/img/screenshots/python-linux.png :alt: Asprise OCR for Python on Linux
.. image:: http://asprise.com/ocr/img/screenshots/python-win-thumb.png :target: http://asprise.com/ocr/img/screenshots/python-win.png :alt: Asprise OCR for Python on Windows
.. code-block:: python
from asprise_ocr_api import *
ocr = Ocr()
ocr.start_engine("eng") # deu, fra, por, spa - more than 30 languages are supported
text = ocr.recognize(
"PATH_TO_INPUT_IMAGE.tif", # gif, jpg, pdf, png, tif, etc.
OCR_PAGES_ALL, # the index of the selected page
-1, -1, -1, -1, # you may optionally specify a region on the page instead of the whole page
OCR_RECOGNIZE_TYPE_TEXT, # recognize type: TEXT, BARCODES or ALL
OCR_OUTPUT_FORMAT_PLAINTEXT # output format: TEXT, XML, or PDF
)
print "Result: " + text
# ocr.recognize(more_images...)
ocr.stop_engine()
Developer's Guide: http://asprise.com/royalty-free-library/python-ocr-barcode-reader-sdk-samples-docs.html
Asprise OCR supports more than twenty languages, however only five popular languages are included in this trial kit. Please contact us if you need to evaluate other languages.
Email: contact@asprise.com
Homepage: Python OCR SDK API on asprise.com <http://asprise.com/royalty-free-library/python-ocr-sdk-asprise_ocr_api-overview.html>
_
FAQs
Asprise OCR (optical character recognition) and barcode recognition SDK is a high performance royalty-free Python API library. It converts images (JPEG, PNG, TIFF, PDF, etc) into text, xml, searchable PDF or editable RTF/Word formats. Data capture are supported for processing documents like invoices and forms.
We found that asprise_ocr_sdk_python_api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.