{"id":20382869,"url":"https://github.com/zfb132/handwriting_ocr","last_synced_at":"2026-05-21T16:43:26.506Z","repository":{"id":130412493,"uuid":"487221331","full_name":"zfb132/handwriting_ocr","owner":"zfb132","description":"基于腾讯云API的通用手写字体识别软件","archived":false,"fork":false,"pushed_at":"2022-04-30T09:04:14.000Z","size":22,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-15T07:57:23.237Z","etag":null,"topics":["api","handwriting","jpg","ocr","pdf","png","python","qcloud"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zfb132.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-30T08:18:42.000Z","updated_at":"2022-05-04T02:32:55.000Z","dependencies_parsed_at":"2024-03-13T14:49:18.239Z","dependency_job_id":null,"html_url":"https://github.com/zfb132/handwriting_ocr","commit_stats":{"total_commits":2,"total_committers":1,"mean_commits":2.0,"dds":0.0,"last_synced_commit":"bc84ac655280d73c422ba5bd5dce5a336398e74b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2Fhandwriting_ocr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2Fhandwriting_ocr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2Fhandwriting_ocr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zfb132%2Fhandwriting_ocr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zfb132","download_url":"https://codeload.github.com/zfb132/handwriting_ocr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241935269,"owners_count":20044826,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","handwriting","jpg","ocr","pdf","png","python","qcloud"],"created_at":"2024-11-15T02:19:23.645Z","updated_at":"2025-12-02T22:04:03.485Z","avatar_url":"https://github.com/zfb132.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 基于腾讯云API的通用手写字体识别软件\n## 配置环境和运行\n```bash\n# 在腾讯云控制台开通OCR功能，每月有免费额度\n# https://console.cloud.tencent.com/ocr/\n\n# 安装依赖（以下命令都在当前目录执行）\n# 推荐在自己新建的python虚拟环境里执行\npip install -r requirements.txt\n\n# 修改配置文件\n# 至少需要修改SECRETID和SECRETKEY\n\npython qcloud_handwriting_ocr.py\n```\n\n## 手写图片的信息\n* 手写扫描图片或PDF推荐使用`扫描全能王CamScanner`生成，可以很大程度保证手写图片质量\n* 支持常用图片格式，`*.jpg`、`*.png`、`*.jpeg`等\n* 支持PDF格式（软件自动将PDF每一页导出为图片）\n* 支持本地手写图片文件名，例如`r\"C:\\Users\\zfb\\Desktop\\handwriting-images\\1.jpg\"`、`\"2.pdf\"`\n* 支持本地手写图片文件夹名称，例如`r\"C:\\Users\\zfb\\Desktop\\handwriting-images\"`、`r\"C:/Users/zfb/Desktop/handwriting-images\"`、`\"./handwriting-images\"`。（程序会自动读取该目录及子目录下的所有`jpg,png,jpeg,tif,tiff,bmp,pdf`格式的文件）\n* 支持使用手写图片或PDF文件的web链接（程序会自动下载到本地并进行识别）\n\n## 注意事项\n* 由于使用了`f-string`，因此该程序运行版本不能低于`python3.6`\n* 本程序开发环境为`Win11 x64`、`python 3.10 amd64`，但是对于其他linux系统和其他python版本应当都可用\n* 腾讯云通用手写体识别，每月免费额度1000次，接口请求频率限制：10次/秒\n* 每个图片经Base64编码后不能超过7M\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfb132%2Fhandwriting_ocr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzfb132%2Fhandwriting_ocr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzfb132%2Fhandwriting_ocr/lists"}