https://github.com/chunml/cpp-opencv-tesseract
Source code for blog post https://machinetalk.org/2020/03/23/c-extracting-text-from-image-with-opencv-and-tesseract/
https://github.com/chunml/cpp-opencv-tesseract
Last synced: 4 months ago
JSON representation
Source code for blog post https://machinetalk.org/2020/03/23/c-extracting-text-from-image-with-opencv-and-tesseract/
- Host: GitHub
- URL: https://github.com/chunml/cpp-opencv-tesseract
- Owner: ChunML
- Created: 2020-03-23T08:52:52.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-23T08:57:14.000Z (about 6 years ago)
- Last Synced: 2025-04-04T09:35:09.976Z (about 1 year ago)
- Language: Dockerfile
- Size: 1.59 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [C++] Extracting Text From Image With OpenCV And Tesseract
Source code for blog post https://machinetalk.org/2020/03/23/c-extracting-text-from-image-with-opencv-and-tesseract/
Build the docker image:
```
docker build -t tesseract-opencv .
```
Clone the repo and run the docker image:
```
git clone https://github.com/ChunML/cpp-opencv-tesseract
cd cpp-opencv-tesseract
docker run -it -v $(PWD):/home/usr/app tesseract-opencv bash
```
Compile the code:
```
mkdir build && cd build
cmake ..
make
```
Run the code:
```
./main
```