captchaOCR


NamecaptchaOCR JSON
Version 1.0.1 PyPI version JSON
download
home_pagehttps://github.com/Do1e/captchaOCR
SummaryA OCR tool to recognize captcha
upload_time2023-08-12 03:41:23
maintainer
docs_urlNone
authorDo1e
requires_python>3.7
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # captchaOCR

* 用于爬虫的验证码识别模块,[Github link](https://github.com/Do1e/captchaOCR),[PyPI link](https://pypi.org/project/captchaOCR/)。

## 安装

```bash
python setup.py install
```

或者

```bash
pip install captchaOCR
```

## 使用

```python
from captchaOCR import CaptchaOCR
ocr = CaptchaOCR()
captchaImg = (bytes, str, pathlib.PurePath, Image.Image)()
text = ocr.get_text(captchaImg)
```

## 补充

* 本项目基于[sml2h3/ddddocr](https://github.com/sml2h3/ddddocr)编写,在此表示感谢。

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Do1e/captchaOCR",
    "name": "captchaOCR",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Do1e",
    "author_email": "dpj.email@qq.com",
    "download_url": "https://files.pythonhosted.org/packages/9f/dc/e8c9fb839c3ebe4dbe906ed5bd810cf9069a997ed19ac88bc97566a04f74/captchaOCR-1.0.1.tar.gz",
    "platform": null,
    "description": "# captchaOCR\r\n\r\n* \u7528\u4e8e\u722c\u866b\u7684\u9a8c\u8bc1\u7801\u8bc6\u522b\u6a21\u5757\uff0c[Github link](https://github.com/Do1e/captchaOCR)\uff0c[PyPI link](https://pypi.org/project/captchaOCR/)\u3002\r\n\r\n## \u5b89\u88c5\r\n\r\n```bash\r\npython setup.py install\r\n```\r\n\r\n\u6216\u8005\r\n\r\n```bash\r\npip install captchaOCR\r\n```\r\n\r\n## \u4f7f\u7528\r\n\r\n```python\r\nfrom captchaOCR import CaptchaOCR\r\nocr = CaptchaOCR()\r\ncaptchaImg = (bytes, str, pathlib.PurePath, Image.Image)()\r\ntext = ocr.get_text(captchaImg)\r\n```\r\n\r\n## \u8865\u5145\r\n\r\n* \u672c\u9879\u76ee\u57fa\u4e8e[sml2h3/ddddocr](https://github.com/sml2h3/ddddocr)\u7f16\u5199\uff0c\u5728\u6b64\u8868\u793a\u611f\u8c22\u3002\r\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "A OCR tool to recognize captcha",
    "version": "1.0.1",
    "project_urls": {
        "Homepage": "https://github.com/Do1e/captchaOCR"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a2a87552389d67be7e9bb39ef519e913837a137b8a2afd18bea0153e918607f4",
                "md5": "fb757a7ad1da56fcb34ba5740c070cbe",
                "sha256": "7f9e8da94848a2e97be814d4425741b0cd8e07da4bfd7cc376ad023c8df7961a"
            },
            "downloads": -1,
            "filename": "captchaOCR-1.0.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fb757a7ad1da56fcb34ba5740c070cbe",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": ">3.7",
            "size": 57178968,
            "upload_time": "2023-08-12T03:41:04",
            "upload_time_iso_8601": "2023-08-12T03:41:04.898513Z",
            "url": "https://files.pythonhosted.org/packages/a2/a8/7552389d67be7e9bb39ef519e913837a137b8a2afd18bea0153e918607f4/captchaOCR-1.0.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9fdce8c9fb839c3ebe4dbe906ed5bd810cf9069a997ed19ac88bc97566a04f74",
                "md5": "588d414dc5e36b90f100d2f2cf4a4de6",
                "sha256": "ac45f2b57c740f1f5e069b576d2a9f6ff812eaa46c65ff20993667827f17e9e3"
            },
            "downloads": -1,
            "filename": "captchaOCR-1.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "588d414dc5e36b90f100d2f2cf4a4de6",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">3.7",
            "size": 57127191,
            "upload_time": "2023-08-12T03:41:23",
            "upload_time_iso_8601": "2023-08-12T03:41:23.893461Z",
            "url": "https://files.pythonhosted.org/packages/9f/dc/e8c9fb839c3ebe4dbe906ed5bd810cf9069a997ed19ac88bc97566a04f74/captchaOCR-1.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-12 03:41:23",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "Do1e",
    "github_project": "captchaOCR",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "captchaocr"
}
        
Elapsed time: 0.38998s