{"id":21802522,"url":"https://github.com/qengineering/opencv_ocr_detect_text","last_synced_at":"2026-05-06T17:31:47.092Z","repository":{"id":112947222,"uuid":"550791086","full_name":"Qengineering/OpenCV_OCR_Detect_Text","owner":"Qengineering","description":"Detect text in an image with OpenCV","archived":false,"fork":false,"pushed_at":"2023-04-15T09:22:14.000Z","size":92150,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T03:45:47.204Z","etag":null,"topics":["deep-learning","ocr","ocr-detection","onnx","opencv","raspberry-pi-4","raspberry-pi-64-os"],"latest_commit_sha":null,"homepage":"https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Qengineering.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-10-13T10:33:08.000Z","updated_at":"2024-02-09T14:29:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"0c636d06-2f1d-4f07-8cc8-a845b26e2a95","html_url":"https://github.com/Qengineering/OpenCV_OCR_Detect_Text","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FOpenCV_OCR_Detect_Text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FOpenCV_OCR_Detect_Text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FOpenCV_OCR_Detect_Text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Qengineering%2FOpenCV_OCR_Detect_Text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Qengineering","download_url":"https://codeload.github.com/Qengineering/OpenCV_OCR_Detect_Text/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244752360,"owners_count":20504256,"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":["deep-learning","ocr","ocr-detection","onnx","opencv","raspberry-pi-4","raspberry-pi-64-os"],"created_at":"2024-11-27T11:29:18.429Z","updated_at":"2025-09-19T12:34:22.664Z","avatar_url":"https://github.com/Qengineering.png","language":"C++","funding_links":["https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL"],"categories":[],"sub_categories":[],"readme":"# OpenCV_OCR_Detect_Text \n![output image]( https://qengineering.eu/github/ocr_out_cn.jpg )\n## Detect text in images with a bare Raspberry Pi 4. \u003cbr/\u003e\n[![License](https://img.shields.io/badge/License-BSD%203--Clause-blue.svg)](https://opensource.org/licenses/BSD-3-Clause)\u003cbr/\u003e\u003cbr/\u003e\nPaper: https://arxiv.org/pdf/1507.05717.pdf\u003cbr/\u003e\nSpecial made for a bare Raspberry Pi 4, see [Q-engineering deep learning examples](https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html)\n\n------------\n\n## Tip.\n:point_right: See also [PaddleOCR-Lite](https://github.com/Qengineering/PaddleOCR-Lite-Document) solution. It is 25 times faster!\n\n------------\n\n## Dependencies.\nTo run the application, you have to:\n- A raspberry Pi 4 with a 32 or 64-bit operating system. It can be the Raspberry 64-bit OS, or Ubuntu 18.04 / 20.04. [Install 64-bit OS](https://qengineering.eu/install-raspberry-64-os.html) \u003cbr/\u003e\n- OpenCV ***version 4.5.1 or higher*** 64-bit installed. [Install OpenCV 4.5](https://qengineering.eu/install-opencv-4.5-on-raspberry-64-os.html) \u003cbr/\u003e\n- Code::Blocks installed. (```$ sudo apt-get install codeblocks```)\n\n------------\n\n## Installing the app.\nTo extract and run the network in Code::Blocks \u003cbr/\u003e\n$ mkdir *MyDir* \u003cbr/\u003e\n$ cd *MyDir* \u003cbr/\u003e\n$ wget https://github.com/Qengineering/OpenCV_OCR_Detect_Text/archive/refs/heads/main.zip \u003cbr/\u003e\n$ unzip -j master.zip \u003cbr/\u003e\nRemove master.zip, LICENSE and README.md as they are no longer needed. \u003cbr/\u003e \n$ rm master.zip \u003cbr/\u003e\n$ rm LICENSE \u003cbr/\u003e\n$ rm README.md \u003cbr/\u003e \u003cbr/\u003e\nYour *MyDir* folder must now look like this: \u003cbr/\u003e \nfrench_0.jpg \u003cbr/\u003e\nimg_0491.jpg \u003cbr/\u003e\nimg_0599.jpg \u003cbr/\u003e\nOpenCV_Detect_Text.cpb \u003cbr/\u003e\nmain.cpp \u003cbr/\u003e\nDB_TD500_resnet.onnx \u003cbr/\u003e\n\n------------\n\n## Running the app.\nTo run the application load the project file OpenCV_Detect_Text.cbp in Code::Blocks.\u003cbr/\u003e \nNext, follow the instructions at [Hands-On](https://qengineering.eu/deep-learning-examples-on-raspberry-32-64-os.html#HandsOn).\u003cbr/\u003e\nMore information can be found at [OpenCV tutorial](https://docs.opencv.org/4.x/d4/d43/tutorial_dnn_text_spotting.html).\u003cbr/\u003e\u003cbr/\u003e\n![output image]( https://qengineering.eu/github/ocr_out_fr.jpg )\n\n------------\n\n[![paypal](https://qengineering.eu/images/TipJarSmall4.png)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick\u0026hosted_button_id=CPZTM5BB3FCYL) \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Fopencv_ocr_detect_text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqengineering%2Fopencv_ocr_detect_text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqengineering%2Fopencv_ocr_detect_text/lists"}