# ocr_TDR **Repository Path**: kgtech/ocr_TDR ## Basic Information - **Project Name**: ocr_TDR - **Description**: 好未来Feature Camp:中文手写汉字识别 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2024-07-03 - **Last Updated**: 2024-07-03 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # CRNN(CNN+RNN+CTCLoss) Text recognition # 如何去测试 1.加载模型,将模型放入./model/中 download the model from https://pan.baidu.com/s/1yCxzZE0qugHL-FZRHeW3CA 2.向test_img_list中添加需要测试的图片列表 test_img_list = ['/home/tony/ocr/test_data/00023.jpg'] 3.运行模型 python3 test_crnn.py # 如何去train 1.处理train 数据集 python3 ./utils/make_data.py 2.训练网络 python3 train.py | Prediction | Image | |------------ |------- | | 忆王子山 | ![1](samples/00032.jpg "1") | | 李重元 | ![2](samples/00033.jpg "2") | | 萋萋芳草忆王孙。柳楼空断魂,未字声昏不无闲。欲黄昏,雨打我花 | ![3](samples/00034.jpg "3") | | “闲门】 | ![4](samples/00035.jpg "4") | | 剑熊近 | ![5](samples/00036.jpg "5") | | 袁去华 | ![6](samples/00037.jpg "6") | | 夜来雨,赖倚得东风吹住。海棠正娥绕处,且留取。悄庭户,试细听莺啼 | ![7](samples/00038.jpg "7") | | 燕,分明共人愁绪,怕春去。佳树翠阴初转年。 | ![8](samples/00039.jpg "8") | | 重帘未卷,乍睡起,寂寞看风絮。偷弹清泪寄烟波,欲头故,为言憔 | ![9](samples/00040.jpg "9") | | 悴如许。彩笺无数,去却寒腰,到了深无是携。断月落日山暮。 | ![10](samples/00041.jpg "10") |