ocroy


Nameocroy JSON
Version 0.1.1 PyPI version JSON
download
home_page
SummarySwitch optical character recognition (OCR) tools easily
upload_time2024-03-17 04:56:35
maintainer
docs_urlNone
author
requires_python>=3.8
licenseMIT License
keywords ocr
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # ocroy

おしろい (O-shi-ro-i)

Ocroy is a wrapper of Japanese(日本語) OCR (optical character recognition) tools.  
It allows for easy switching of tools🍰

⚠️Under developing (Currently, planning phase)

## Supported tools

* Google [Vision API](https://cloud.google.com/vision/docs)
* [Tesseract](https://tesseract-ocr.github.io/tessdoc/)

## Setup

### Google Vision API

Set up your Google Cloud project and authentication  
https://cloud.google.com/vision/docs/ocr#set-up-your-google-cloud-project-and-authentication

Install this library and dependencies

```
% pip install 'ocroy[google]'
```

Then Run:

```
% ocroy google_api path/to/image --handle-document
% # OR
% python -m ocroy google_api path/to/image --handle-document
% # OR
% python -m ocroy.recognizers.google_vision_api path/to/image --handle-document
```

### Tesseract

Install  
https://tesseract-ocr.github.io/tessdoc/Installation.html

Install this library and dependencies

```
% pip install 'ocroy[tesseract]'
```

Then Run:

```
% ocroy tesseract path/to/image
% # OR
% python -m ocroy tesseract path/to/image
% # OR
% python -m ocroy.recognizers.tesseract path/to/image
```

            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "ocroy",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "OCR",
    "author": "",
    "author_email": "nikkie <takuyafjp+develop@gmail.com>",
    "download_url": "https://files.pythonhosted.org/packages/35/5c/3061c1bf500b817ac3082a575ef6b054516ac124f672292ec788fd34a5be/ocroy-0.1.1.tar.gz",
    "platform": null,
    "description": "# ocroy\n\n\u304a\u3057\u308d\u3044 (O-shi-ro-i)\n\nOcroy is a wrapper of Japanese(\u65e5\u672c\u8a9e) OCR (optical character recognition) tools.  \nIt allows for easy switching of tools\ud83c\udf70\n\n\u26a0\ufe0fUnder developing (Currently, planning phase)\n\n## Supported tools\n\n* Google [Vision API](https://cloud.google.com/vision/docs)\n* [Tesseract](https://tesseract-ocr.github.io/tessdoc/)\n\n## Setup\n\n### Google Vision API\n\nSet up your Google Cloud project and authentication  \nhttps://cloud.google.com/vision/docs/ocr#set-up-your-google-cloud-project-and-authentication\n\nInstall this library and dependencies\n\n```\n% pip install 'ocroy[google]'\n```\n\nThen Run:\n\n```\n% ocroy google_api path/to/image --handle-document\n% # OR\n% python -m ocroy google_api path/to/image --handle-document\n% # OR\n% python -m ocroy.recognizers.google_vision_api path/to/image --handle-document\n```\n\n### Tesseract\n\nInstall  \nhttps://tesseract-ocr.github.io/tessdoc/Installation.html\n\nInstall this library and dependencies\n\n```\n% pip install 'ocroy[tesseract]'\n```\n\nThen Run:\n\n```\n% ocroy tesseract path/to/image\n% # OR\n% python -m ocroy tesseract path/to/image\n% # OR\n% python -m ocroy.recognizers.tesseract path/to/image\n```\n",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "Switch optical character recognition (OCR) tools easily",
    "version": "0.1.1",
    "project_urls": {
        "Repository": "https://github.com/ftnext/ocroy"
    },
    "split_keywords": [
        "ocr"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7ccf5fa6784a6943d2ec64ee6a3a0ef64096e8b7d53fcde44f23fb6a8a6285da",
                "md5": "aaad57e5263c9cf0cf60be4c67b698a4",
                "sha256": "d54bdc1ba937aededfbfb69bb564c0fa2bfaaee704b53ea6d74fa60d5ca15db1"
            },
            "downloads": -1,
            "filename": "ocroy-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "aaad57e5263c9cf0cf60be4c67b698a4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 7328,
            "upload_time": "2024-03-17T04:56:33",
            "upload_time_iso_8601": "2024-03-17T04:56:33.394972Z",
            "url": "https://files.pythonhosted.org/packages/7c/cf/5fa6784a6943d2ec64ee6a3a0ef64096e8b7d53fcde44f23fb6a8a6285da/ocroy-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "355c3061c1bf500b817ac3082a575ef6b054516ac124f672292ec788fd34a5be",
                "md5": "031bdb18324898a031e7753dc3d000e8",
                "sha256": "620eb3210c435650a2fcda84ad322d10c7e98bc085b853b833d5dcda85861029"
            },
            "downloads": -1,
            "filename": "ocroy-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "031bdb18324898a031e7753dc3d000e8",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 6697,
            "upload_time": "2024-03-17T04:56:35",
            "upload_time_iso_8601": "2024-03-17T04:56:35.020621Z",
            "url": "https://files.pythonhosted.org/packages/35/5c/3061c1bf500b817ac3082a575ef6b054516ac124f672292ec788fd34a5be/ocroy-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-17 04:56:35",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ftnext",
    "github_project": "ocroy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "ocroy"
}
        
Elapsed time: 0.20582s