{"id":19036212,"url":"https://github.com/tx7do/cppocrlite","last_synced_at":"2026-05-05T21:30:16.696Z","repository":{"id":112433591,"uuid":"601561255","full_name":"tx7do/cppocrlite","owner":"tx7do","description":null,"archived":false,"fork":false,"pushed_at":"2023-03-05T16:06:22.000Z","size":10644,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-02T05:32:32.192Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tx7do.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":"2023-02-14T10:30:31.000Z","updated_at":"2024-12-20T04:07:36.000Z","dependencies_parsed_at":"2023-05-15T02:30:54.256Z","dependency_job_id":null,"html_url":"https://github.com/tx7do/cppocrlite","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fcppocrlite","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fcppocrlite/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fcppocrlite/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tx7do%2Fcppocrlite/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tx7do","download_url":"https://codeload.github.com/tx7do/cppocrlite/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240093142,"owners_count":19746774,"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":[],"created_at":"2024-11-08T21:53:44.650Z","updated_at":"2026-05-05T21:30:16.656Z","avatar_url":"https://github.com/tx7do.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# cppocrlite\r\n\r\n[chineseocr_lite](https://github.com/DayBreak-u/chineseocr_lite) cpp library\r\n\r\n## Install\r\n\r\n### Install OpenCV\r\n\r\n```shell\r\nsudo apt install libopencv-dev\r\n```\r\n\r\n### Install OpenMP\r\n\r\n```shell\r\nsudo apt-get install libomp-dev\r\n```\r\n### Install OnnxRuntime\r\n\r\nDownload Page: \u003chttps://github.com/microsoft/onnxruntime/releases\u003e\r\n\r\n```shell\r\nwget https://github.com/microsoft/onnxruntime/releases/download/v1.14.0/onnxruntime-linux-x64-1.14.0.tgz\r\n\r\ntar -zxvf onnxruntime-linux-x64-1.14.0.tgz\r\n\r\nsudo mv onnxruntime-linux-x64-1.14.0 /opt/onnxruntime\r\n\r\nsudo chown -R `whoami` /opt/onnxruntime\r\n```\r\n\r\n## Build\r\n\r\n```shell\r\n# build Release version\r\nmkdir cmake-build-release\r\ncd cmake-build-release \u0026\u0026 cmake .. -DCMAKE_BUILD_TYPE=Release\r\ncmake --build . --config Release --target cppocrlite -- -j 12\r\n\r\n# build Debug version\r\nmkdir cmake-build-debug\r\ncd cmake-build-debug \u0026\u0026 cmake .. -DCMAKE_BUILD_TYPE=Debug\r\ncmake --build . --config Debug --target cppocrlite -- -j 12\r\n\r\n# install\r\nsudo chmod 757 /usr/local\r\nsudo chmod 757 /usr/local/lib\r\nsudo chmod 757 /usr/local/lib/pkgconfig\r\ncmake --install .\r\n```\r\n\r\nor execute shell script:\r\n\r\n```shell\r\ncd script \u0026\u0026 ./build.sh\r\n```\r\n\r\ncheck installation state:\r\n\r\n```shell\r\npkg-config --cflags --libs onnxruntime\r\npkg-config --cflags --libs opencv4\r\npkg-config --cflags --libs cppocrlite\r\n```\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftx7do%2Fcppocrlite","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftx7do%2Fcppocrlite","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftx7do%2Fcppocrlite/lists"}