【文件属性】:
文件名称:OCR:简单的OCR算法(ansi c)
文件大小:51KB
文件格式:ZIP
更新时间:2021-05-26 14:00:36
C
OCR算法
用ansi c编写的算法可以解码图像中的简单文本
申请包括:
简单的OCR算法
查找最常见的单词以进行更正
使用python打开相机并拍照
这个怎么运作:
图片-> OCR-> output.txt
要尝试它,只需在src目录中运行“ make test”
例子:
作为输入此图像:
输出此文本(如final.txt):
Oh misty eye of the mountain
below
Keep Careful watch of my
brothers souls
And should the sky be filled
with fire and spoke
Keep watching over Durins son
【文件预览】:
OCR-master
----src()
--------LibBMP.c(15KB)
--------extractor.h(347B)
--------skeleton.c(4KB)
--------tmp.c(457B)
--------skeleton.h(174B)
--------words2.txt(6KB)
--------final.txt(161B)
--------letterVector.c(124B)
--------output.txt(161B)
--------makefile(232B)
--------LibBMP.h(1KB)
--------camera.py(580B)
--------main(32KB)
--------extractor.c(2KB)
--------main.c(4KB)
--------sans.txt(7KB)
----examples()
--------sample.bmp(750KB)
----README.md(642B)