
Security News
ECMAScript 2025 Finalized with Iterator Helpers, Set Methods, RegExp.escape, and More
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Rebuilding only the OCR part of the pororo package for lightweight and fast operation.
pororo-ocr
inspired by kakaobrain/pororo, rebuilding only the OCR task of the pororo package for lighteweight and fast performance.
pororo-ocr
is based on torch>=1.6(cuda 10.1)
and python>=3.6
You can install a package through the command below:
pip install pororo-ocr
pororo-ocr
can be used as follows:pororo-ocr
, you must execute the following snippet>>> import prrocr
pororo-ocr
through the following commands>>> import prrocr
>>> prrocr.ocr.get_available_langs()
"Available lanugages are ['en', 'ko']"
>>> import prrocr
>>> prrocr.ocr.get_available_models()
"Available models are {'en': ['brainocr'], 'ko': ['brainocr']}"
lang
argument>>> import prrocr
>>> ocr = prrocr.ocr(lang="en")
>>> ocr("sample.jpg")
['MAKE TODAY', 'TOLERABLE']
detail
argument as follows:>>> ocr("sample.jpg", detail=True)
{'description': ['MAKE TODAY', 'TOLERABLE'], 'bounding_poly': [{'description': 'MAKE TODAY', 'vertices': [{'x': 585, 'y': 397}, {'x': 730, 'y': 397}, {'x': 730, 'y': 520}, {'x': 585, 'y': 520}]}, {'description': 'TOLERABLE', 'vertices': [{'x': 588, 'y': 558}, {'x': 884, 'y': 558}, {'x': 884, 'y': 612}, {'x': 588, 'y': 612}]}]}
pororo-ocr
project is licensed under the terms of the Apache License 2.0.
FAQs
Rebuilding only the OCR part of the pororo package for lightweight and fast operation.
We found that pororo-ocr 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.
Security News
ECMAScript 2025 introduces Iterator Helpers, Set methods, JSON modules, and more in its latest spec update approved by Ecma in June 2025.
Security News
A new Node.js homepage button linking to paid support for EOL versions has sparked a heated discussion among contributors and the wider community.
Research
North Korean threat actors linked to the Contagious Interview campaign return with 35 new malicious npm packages using a stealthy multi-stage malware loader.