汉语成语源流大辞典 修订版

使群众信服。大:表示程度深。孚:为人 所信服。宋·洪咨夔《平斋文集·二六・谢 贾制置特荐启》:此皆已见于施行,务在 更加于推广,大孚众望,弘济中兴。
后世多作[深孚众望]《(清)刘坤一 遗集·奏疏三四· 11 ·提臣应行陛见暂请 展缓折》:该提督老于戎事,忠爱性成,于 同治五年蒙恩简授湖南提督,迄今三十 馀年,专网久膺,深孚众望,其朴诚忠勇, 早在圣明洞鉴之中。
又作[深孚人心工清・袁枚《小仓山房 续文集·三二·淮徐营游击加赠文林郎田 公墓志铭》:以吴人之浮薄,而封公(香泉 先生)排日出署,竟齐其口,无一人造作 蜚语者。非其道韵平淡,有以深孚于人 心,何能如斯?
又作[素孚众望],素(sù):素来;一向。 众望也作“物望二 物望:人望;众望。 清·郑燮《郑板桥全集·集外诗文·潍县署 中寄四弟墨》:此乃我弟忠信素孚于众 望,故能令官绅两造,概行折服,诚属难 能而可贵。í《筹办夷务始末·二六・咸丰 八年五月丁亥· 1027 ·奕听奏》:天津乡 勇现仍团结,果有素孚物望之官绅,实力 训í练,晓以大义,啖以重赏,必可得力。
【深沟高垒]shēn gōu gāo lěi挖掘很 深的壕沟,建筑很高的壁垒。指构筑坚 固的防御工事。《孙膑兵法·五名》(银雀 山汉墓竹简本):深沟高垒而难其粮。ī 《史记·淮阴侯传》九二2615(并见《汉 书》三四1867):愿足下假臣奇兵三万 人,从间道绝其辎重;足下深沟高垒,坚 营勿与战。
又作[高垒深沟]《孙子·虚实篇》(《十 一家注孙子》91):故我欲战,敌虽高垒 深沟,不得不与我战者,攻其所必救也。
又作[深壁高垒1,深壁(-bi):加高壁 垒。枚乘《上书重谏吴王》(《汉书》五一 2363、《文选》三九552下):深壁高垒, 副以关城,不如江淮之险。
又作[深沟壁垒],壁垒:围墙;防御工 事。《史记·慰布传》九一 2600(并见《汉 书》三四1884):汉王收诸侯,还守成皋、 荥阳,下蜀、汉之粟,深沟壁垒,分卒守徼 乘塞。
又作[深沟峻垒],峻(jùń):高。韩凝 《汉齐盖庙碑》(《全唐文》二ó八):以济 水之南,深沟峻垒,缮甲兵,具车乘。
又作[高垒深壁]《三国志·武帝纪》 一 7 :(太祖)因为谋曰:“诸君听吾计…… 皆高垒深壁,勿与战,益为疑兵,示天下 形势,以顺诛逆,可立定也。”
又作[高垒深堑}堑(qidń):隔断交 通的沟。《史记·高祖本纪》八374(并见 《汉书》一上42):(汉王)欲复战。郎中 郑忠乃说止汉王,使高垒深堑,勿与战。
【深居简出】shēn jū jiǎn chū深居:居 住在隐秘的地方。《文子·微明》(《二十
3 个赞

去掉背面的文字,提高图片对比度就可以了。我用的在线网站处理的 (链接),如果批量处理需要导入 Python 的 cv2 库,使用 cv2.addWeighted 这个函数改变对比度:

import cv2

contrast = 1.2
brightness = int(round(255*(1-contrast)/2))

img = cv2.imread("HYCYYL_1468.jpg")
img_new = cv2.addWeighted(img, contrast, img, 0, brightness)
cv2.imwrite("HYCYYL_1468_new.jpg", img_new)
2 个赞

这个 ocr 可以批量吗上面?

我使用的是 github 上开源的现成 umi-ocr v2.1.1,三十秒一个页面。2000页就是1000分钟,一天能拿到 txt 。

你这个 ocr 拼音更厉害啊,可以多个 ocr 源做对比,方便介绍下吗。

就 ABBYY FineReader 。添加拼音识别而已。拼音识别率还是很差的。

2 个赞

能导出文本坐标吗?JSON 格式的。

谁方便去 github 上催催原作者,让默认的字库训练包含古文生僻字,起码阿里普惠体的范围。 :laughing: 我 DNS 被代理搞坏了,只能打开几个特定网站。

坐标是有的,box里,4个像素点(x, y)

{"code": 100, "data": [{"box": [[301, 373], [433, 373], [433, 427], [301, 427]], "score": 0.9994047433137894, "text": "1468", "end": "\n"}, {"box": [[589, 379], [734, 379], [734, 433], [589, 433]], "score": 0.9981554597616196, "text": "shen", "end": "\n"}, {"box": [[890, 377], [958, 377], [958, 439], [890, 439]], "score": 0.9987474679946899, "text": "深", "end": "\n"}, {"box": [[325, 527], [1446, 534], [1446, 593], [325, 586]], "score": 0.9885136319531335, "text": "使群众信服。大:表示程度深。孚:为人", "end": ""}, {"box": [[323, 617], [1445, 623], [1445, 682], [323, 676]], "score": 0.9820413809073599, "text": "所信服。宋·洪咨夔《平斋文集·二六·谢", "end": ""}, {"box": [[324, 708], [1440, 713], [1440, 768], [324, 763]], "score": 0.9874914487202963, "text": "贾制置特荐启》:此皆已见于施行,务在", "end": ""}, {"box": [[324, 796], [1265, 801], [1265, 858], [324, 852]], "score": 0.9942550584673882, "text": "更加于推广,大孚众望,弘济中兴。", "end": "\n"}, {"box": [[395, 882], [1440, 890], [1440, 950], [394, 942]], "score": 0.9253988464673361, "text": "后世多作[深孚众望]。《(清)刘坤一", "end": ""}, {"box": [[322, 974], [1439, 980], [1439, 1036], [322, 1030]], "score": 0.9453790877994738, "text": "遗集·奏疏三四·11·提臣应行陛见暂请", "end": ""}, {"box": [[324, 1064], [1438, 1070], [1438, 1126], [324, 1120]], "score": 0.9866481046927603, "text": "展缓折》:该提督老于戎事,忠爱性成,于", "end": ""}, {"box": [[324, 1154], [1438, 1161], [1438, 1218], [324, 1211]], "score": 0.9615418034441331, "text": "同治五年蒙恩简授湖南提督,迄今三十", "end": ""}, {"box": [[323, 1245], [1436, 1251], [1436, 1304], [323, 1298]], "score": 0.9291942003700469, "text": "馀年,专久膺,深孚众望,其朴诚忠勇,", "end": ""}, {"box": [[321, 1332], [866, 1336], [865, 1395], [321, 1391]], "score": 0.958378341462877, "text": "早在圣明洞鉴之中。", "end": "\n"}, {"box": [[388, 1421], [1436, 1427], [1436, 1486], [387, 1481]], "score": 0.9520431492063735, "text": "又作[深孚人心]。清·袁枚《小仓山房", "end": ""}, {"box": [[318, 1511], [1435, 1516], [1435, 1572], [318, 1567]], "score": 0.9752572907341851, "text": "续文集·三二·淮徐营游击加赠文林郎田", "end": ""}, {"box": [[320, 1601], [1434, 1605], [1434, 1661], [320, 1657]], "score": 0.9796440319011086, "text": "公墓志铭》:以吴人之浮薄,而封公(香泉", "end": ""}, {"box": [[318, 1689], [1438, 1693], [1438, 1752], [318, 1748]], "score": 0.9568129248089261, "text": "先生)排日出署,竟齐其口,无一人造作", "end": ""}, {"box": [[315, 1774], [1439, 1778], [1439, 1841], [315, 1836]], "score": 0.9882569685578346, "text": "语者。非其道韵平淡,有以深孚于人", "end": ""}, {"box": [[323, 1864], [708, 1870], [707, 1927], [322, 1921]], "score": 0.9805945839200702, "text": "心,何能如斯?", "end": "\n"}, {"box": [[387, 1955], [1431, 1959], [1431, 2018], [386, 2014]], "score": 0.9028051296869913, "text": "又作[素孚众望],素(sU):素来;一向。", "end": ""}, {"box": [[317, 2045], [1355, 2050], [1354, 2109], [317, 2104]], "score": 0.9778272973166572, "text": "众望也作“物望”。物望:人望;众望。", "end": "\n"}, {"box": [[317, 2135], [1434, 2141], [1434, 2197], [317, 2191]], "score": 0.9275575217447782, "text": "清·郑燮《郑板桥全集·集外诗文·潍县署", "end": ""}, {"box": [[320, 2225], [1435, 2230], [1435, 2286], [320, 2281]], "score": 0.9941661568248973, "text": "中寄四弟墨》:此乃我弟忠信素孚于众", "end": ""}, {"box": [[317, 2315], [1435, 2321], [1435, 2376], [317, 2371]], "score": 0.9856628510687087, "text": "望,故能令官绅两造,概行折服,诚属难", "end": ""}, {"box": [[317, 2403], [1434, 2407], [1434, 2466], [317, 2462]], "score": 0.9572543344999614, "text": "能而可贵。「《筹办夷务始末·二六·咸丰", "end": ""}, {"box": [[316, 2494], [1427, 2498], [1427, 2553], [316, 2549]], "score": 0.9738935887813568, "text": "八年五月丁亥·1027·奕诉奏》:天津乡", "end": ""}, {"box": [[318, 2583], [1430, 2587], [1430, 2643], [318, 2639]], "score": 0.989525039990743, "text": "勇现仍团结,果有素孚物望之官绅,实力", "end": ""}, {"box": [[316, 2668], [1356, 2674], [1355, 2733], [316, 2727]], "score": 0.9672464165422652, "text": "训练,晓以大义,啖以重赏,必可得力。", "end": "\n"}, {"box": [[242, 2760], [600, 2763], [600, 2833], [242, 2830]], "score": 0.9063327431678772, "text": "深沟高垒】", "end": "\n"}, {"box": [[639, 2775], [1247, 2778], [1247, 2844], [638, 2842]], "score": 0.9265907071530819, "text": "shen gou gao lei", "end": "\n"}, {"box": [[1226, 2781], [1432, 2784], [1432, 2839], [1225, 2836]], "score": 0.991117795308431, "text": "挖掘很", "end": "\n"}, {"box": [[315, 2867], [1433, 2872], [1433, 2928], [315, 2923]], "score": 0.9892204298692591, "text": "深的壕沟,建筑很高的壁垒。指构筑坚", "end": ""}, {"box": [[320, 2956], [1432, 2961], [1432, 3017], [320, 3012]], "score": 0.9931785885025474, "text": "固的防御工事。《孙兵法·五名》银雀", "end": ""}, {"box": [[318, 3047], [1420, 3052], [1420, 3104], [318, 3099]], "score": 0.9662251086796031, "text": "山汉墓竹简本):深沟高垒而难其粮。", "end": ""}, {"box": [[311, 3135], [1428, 3139], [1428, 3195], [311, 3191]], "score": 0.9655282407999038, "text": "《史记·淮阴侯传》九二2615(并见《汉", "end": ""}, {"box": [[316, 3225], [1428, 3229], [1428, 3285], [316, 3280]], "score": 0.9800724512652347, "text": "书》三四1867):愿足下假臣奇兵三万", "end": ""}, {"box": [[313, 3313], [1430, 3319], [1430, 3375], [313, 3370]], "score": 0.9553802311420441, "text": "人,从间道绝其辐重;足下深沟高垒,坚", "end": ""}, {"box": [[318, 3402], [583, 3405], [582, 3463], [317, 3460]], "score": 0.9984574615955353, "text": "营勿与战", "end": "\n"}, {"box": [[379, 3492], [1432, 3494], [1432, 3553], [379, 3551]], "score": 0.9747333056048343, "text": "又作[高垒深沟]。《孙子·虚实篇》《十", "end": ""}, {"box": [[314, 3581], [1430, 3587], [1430, 3642], [314, 3636]], "score": 0.9757912911866841, "text": "一家注孙子》91):故我欲战,敌虽高垒", "end": ""}, {"box": [[313, 3671], [1385, 3675], [1385, 3729], [313, 3724]], "score": 0.9965335892306434, "text": "深沟,不得不与我战者,攻其所必救也。", "end": ""}, {"box": [[379, 3755], [1429, 3762], [1429, 3822], [378, 3816]], "score": 0.8983088821172714, "text": "又作[深壁高垒],深壁(-bi):加高壁", "end": ""}, {"box": [[313, 3847], [1427, 3852], [1427, 3908], [313, 3903]], "score": 0.9641727146349455, "text": "垒。枚乘《上书重谏吴王》(《汉书》五一", "end": " "}, {"box": [[307, 3935], [1423, 3942], [1423, 3998], [307, 3991]], "score": 0.9366975250569257, "text": "2363、《文选》三九552下):深壁高垒,", "end": ""}, {"box": [[311, 4027], [1028, 4030], [1028, 4086], [311, 4083]], "score": 0.9897523323694865, "text": "副以关城,不如江淮之险。", "end": "\n"}, {"box": [[387, 4115], [1427, 4118], [1427, 4177], [386, 4174]], "score": 0.9461195270220438, "text": "又作[深沟壁垒],壁垒:围墙;防御工", "end": ""}, {"box": [[311, 4205], [1424, 4211], [1424, 4266], [311, 4260]], "score": 0.97791787981987, "text": "事。《史记·布传》九一2600(并见《汉", "end": ""}, {"box": [[312, 4293], [1427, 4300], [1427, 4357], [312, 4350]], "score": 0.9670406551588149, "text": "书》三四1884):汉王收诸侯,还守成皋、", "end": ""}, {"box": [[312, 4388], [1425, 4392], [1425, 4445], [312, 4441]], "score": 0.9547403266555384, "text": "荣阳,下蜀、汉之粟,深沟壁垒,分卒守徽", "end": ""}, {"box": [[306, 4472], [468, 4472], [468, 4535], [306, 4535]], "score": 0.9979904294013977, "text": "乘塞。", "end": "\n"}, {"box": [[386, 4562], [1428, 4566], [1428, 4619], [385, 4615]], "score": 0.9019085764884949, "text": "又作[深沟峻垒],峻(jun):高。韩凝", "end": ""}, {"box": [[306, 4649], [1422, 4654], [1422, 4708], [306, 4702]], "score": 0.9455258312978243, "text": "《汉齐盖庙碑》《全唐文》二○八):以济", "end": ""}, {"box": [[307, 4735], [1266, 4741], [1266, 4797], [307, 4792]], "score": 0.9509850349277258, "text": "水之南,深沟峻垒,甲兵,具车乘,", "end": "\n"}, {"box": [[382, 4824], [1430, 4826], [1430, 4883], [382, 4881]], "score": 0.9494725432660844, "text": "又作[高垒深壁]。《三国志·武帝纪》", "end": ""}, {"box": [[307, 4914], [1430, 4916], [1430, 4971], [307, 4969]], "score": 0.8778212290743123, "text": "一7:太祖)因为谋曰:“诸君听吾计······", "end": " "}, {"box": [[311, 5000], [1421, 5003], [1421, 5060], [311, 5057]], "score": 0.9910608728726705, "text": "皆高垒深壁,勿与战,益为疑兵,示天下", "end": ""}, {"box": [[299, 5086], [1094, 5079], [1095, 5152], [300, 5160]], "score": 0.9504628479480743, "text": "形势,以顺诛逆,可立定也。\"", "end": "\n"}, {"box": [[381, 5177], [1424, 5182], [1424, 5241], [380, 5237]], "score": 0.9459827244281769, "text": "又作[高垒深堑],堑(qian):隔断交", "end": ""}, {"box": [[304, 5268], [1421, 5272], [1421, 5328], [304, 5324]], "score": 0.9799243301153183, "text": "通的沟。《史记·高祖本纪》八374(并见", "end": ""}, {"box": [[300, 5354], [1422, 5360], [1422, 5420], [300, 5414]], "score": 0.9417564660310745, "text": "《汉书》一上42):(汉王)欲复战。郎中", "end": ""}, {"box": [[304, 5444], [1378, 5449], [1378, 5505], [304, 5500]], "score": 0.9868534538480971, "text": "郑忠乃说止汉王,使高垒深堑,勿与战。", "end": "\n"}, {"box": [[228, 5534], [591, 5536], [591, 5608], [228, 5605]], "score": 0.968038946390152, "text": "【深居简出】", "end": "\n"}, {"box": [[631, 5550], [1136, 5552], [1136, 5612], [630, 5610]], "score": 0.9818587116897106, "text": "shen ju jian chu", "end": "\n"}, {"box": [[1190, 5555], [1421, 5555], [1421, 5610], [1190, 5610]], "score": 0.964930459856987, "text": "深居:居", "end": "\n"}, {"box": [[304, 5639], [1431, 5641], [1431, 5698], [304, 5696]], "score": 0.997088395886951, "text": "住在隐秘的地方。《文子·微明》《二十", "end": "\n"}, {"box": [[1593, 538], [2705, 542], [2704, 594], [1593, 590]], "score": 0.981946486234665, "text": "二子》本852中):患祸之所由来,万万无", "end": ""}, {"box": [[1586, 623], [2632, 629], [2632, 688], [1586, 682]], "score": 0.9901885565589456, "text": "方,故圣人深居以避害,静默以待时。", "end": ""}, {"box": [[1589, 714], [2639, 718], [2639, 774], [1589, 770]], "score": 0.9614240667399239, "text": "简出:原指经过拣选而使其离开某地。", "end": ""}, {"box": [[1587, 803], [2707, 807], [2706, 863], [1587, 859]], "score": 0.9268590453125182, "text": "《后汉书·郎颤传》三○下1062:(条便宜", "end": "\n"}, {"box": [[1588, 895], [2434, 899], [2434, 952], [1588, 949]], "score": 0.9688356561320168, "text": "七事)宜简出宫女,恣其姻嫁。", "end": ""}, {"box": [[1585, 977], [1878, 982], [1877, 1042], [1584, 1037]], "score": 0.9993945360183716, "text": "很少外出。", "end": "\n"}, {"box": [[2491, 897], [2706, 897], [2706, 956], [2491, 956]], "score": 0.9993842045466105, "text": "后多指", "end": "\n"}, {"box": [[1656, 1072], [2703, 1076], [2702, 1132], [1656, 1128]], "score": 0.9834767207503319, "text": "后来四字成文,原指野兽潜藏在深山", "end": ""}, {"box": [[1590, 1163], [2703, 1168], [2702, 1223], [1590, 1218]], "score": 0.9800512414229544, "text": "密林,很少出来活动。唐·韩愈《昌黎集·", "end": " "}, {"box": [[1589, 1252], [2700, 1257], [2699, 1313], [1589, 1308]], "score": 0.9286410593324237, "text": "二○·送浮屠文畅师序》:夫兽深居而简", "end": ""}, {"box": [[1591, 1340], [2516, 1346], [2516, 1405], [1591, 1399]], "score": 0.9774719993273417, "text": "出,惧物之为己害也,犹且不脱焉", "end": "\n"}, {"box": [[1652, 1432], [2701, 1437], [2700, 1493], [1652, 1488]], "score": 0.9961992353200912, "text": "后多用来指人平日待在家里,很少出", "end": ""}, {"box": [[1582, 1520], [2703, 1527], [2702, 1583], [1582, 1576]], "score": 0.9846605228053199, "text": "门。宋·秦观《淮海集·三七·谢王学士", "end": ""}, {"box": [[1586, 1609], [2703, 1614], [2702, 1670], [1586, 1665]], "score": 0.9528287460929469, "text": "书》:自槟弃以来,尤自刻励,深居简出,", "end": ""}, {"box": [[1586, 1698], [2702, 1703], [2701, 1759], [1586, 1754]], "score": 0.9797501232888963, "text": "几不与世人相通。「王若虚《太一三代度", "end": ""}, {"box": [[1585, 1788], [2701, 1792], [2700, 1849], [1585, 1844]], "score": 0.9831181325410542, "text": "师萧公墓表》《金文最》九一):师自重修", "end": ""}, {"box": [[1586, 1875], [2527, 1882], [2527, 1939], [1586, 1933]], "score": 0.9979818277060986, "text": "观舍,深居简出,外人多不识其面。", "end": "\n"}, {"box": [[1660, 1967], [2608, 1970], [2608, 2027], [1660, 2024]], "score": 0.9520116481516097, "text": "又作[深居罕出],罕(han):稀少", "end": "\n"}, {"box": [[1585, 2057], [2701, 2061], [2700, 2116], [1585, 2112]], "score": 0.9726224809885025, "text": "宋·吕祖谦《吕东莱文集·四·与朱侍讲》:", "end": ""}, {"box": [[1586, 2140], [2242, 2147], [2241, 2213], [1585, 2206]], "score": 0.9956138946793296, "text": "向来在外舍,深居罕出。", "end": "\n"}, {"box": [[1652, 2237], [2629, 2241], [2629, 2298], [1652, 2293]], "score": 0.9191988319158554, "text": "又作[深藏简出],藏(cang):隐匿。", "end": ""}, {"box": [[1586, 2327], [2699, 2332], [2698, 2385], [1586, 2381]], "score": 0.9505458838409848, "text": "明·陶宗仪《南村辍耕录·二七·妓妾守", "end": ""}, {"box": [[1582, 2418], [2702, 2421], [2701, 2476], [1582, 2473]], "score": 0.93738724142313, "text": "志》:(汪)佛奴独居尼寺,深藏简出,操行", "end": ""}, {"box": [[1583, 2505], [2035, 2507], [2034, 2564], [1583, 2562]], "score": 0.9884726330637932, "text": "洁白,以终其身。", "end": "\n"}, {"box": [[1508, 2595], [1870, 2598], [1869, 2668], [1507, 2665]], "score": 0.9695221583048502, "text": "【深厉浅揭】", "end": "\n"}, {"box": [[1908, 2608], [2370, 2614], [2370, 2674], [1907, 2668]], "score": 0.9011746366818746, "text": "shen li qian qi", "end": "\n"}, {"box": [[2419, 2616], [2696, 2618], [2695, 2672], [2418, 2670]], "score": 0.8349585473537445, "text": "《诗经·抑", "end": "\n"}, {"box": [[1582, 2702], [2696, 2706], [2695, 2761], [1582, 2757]], "score": 0.9388890203676725, "text": "风·苑有苦叶》(《十三经注疏》本302", "end": " "}, {"box": [[1583, 2790], [2245, 2794], [2244, 2850], [1583, 2847]], "score": 0.9369600415229797, "text": "下):深则厉,浅则揭。", "end": "\n"}, {"box": [[2223, 2794], [2695, 2794], [2695, 2851], [2223, 2851]], "score": 0.9981020944459098, "text": "意思是遇到深水", "end": "\n"}, {"box": [[1582, 2880], [2698, 2885], [2697, 2941], [1582, 2936]], "score": 0.9961292110383511, "text": "就穿着单衣下水过去,遇到浅水就撩", "end": "\n"}, {"box": [[1578, 2968], [2042, 2971], [2041, 3030], [1577, 3027]], "score": 0.9991961518923441, "text": "起衣服过去。", "end": "\n"}, {"box": [[2109, 2971], [2698, 2975], [2697, 3031], [2109, 3027]], "score": 0.9320044040679931, "text": "《尔雅·释水》(同上", "end": "\n"}, {"box": [[1576, 3059], [2696, 3064], [2695, 3120], [1576, 3115]], "score": 0.9721252785788642, "text": "2619中):以衣涉水为厉。膝以下为", "end": ""}, {"box": [[1578, 3148], [2704, 3151], [2703, 3213], [1578, 3210]], "score": 0.9833928389208657, "text": "揭,膝以上为涉,带以上为厉。", "end": ""}, {"box": [[1586, 3240], [2082, 3240], [2082, 3300], [1586, 3300]], "score": 0.8972082187732061, "text": "(you):由;从;自。", "end": "\n"}, {"box": [[1648, 3330], [2694, 3333], [2693, 3389], [1648, 3386]], "score": 0.9593712406999925, "text": "后来用[深厉浅揭],比喻行动因时因", "end": ""}, {"box": [[1580, 3419], [2695, 3423], [2694, 3479], [1580, 3475]], "score": 0.9972245030932956, "text": "地而制宜。张衡《应间》《后汉书》五九", "end": " "}, {"box": [[1577, 3510], [2698, 3514], [2697, 3567], [1577, 3563]], "score": 0.9682939141988754, "text": "1899):故尝见谤于鄙儒。深厉浅揭,随", "end": ""}, {"box": [[1578, 3598], [2692, 3603], [2691, 3656], [1578, 3651]], "score": 0.9905111723475986, "text": "时为义,曾何贪于支离,而习其孤技邪?", "end": ""}, {"box": [[1578, 3684], [2697, 3689], [2696, 3749], [1578, 3743]], "score": 0.9808754858217741, "text": "宋·王之望《汉滨集·讲义·诗·汉广(其", "end": ""}, {"box": [[1578, 3777], [2694, 3782], [2693, 3834], [1578, 3830]], "score": 0.9738501934778123, "text": "二)》《四库辑本别集拾遗》674):至于不", "end": ""}, {"box": [[1580, 3865], [2696, 3869], [2695, 3925], [1580, 3921]], "score": 0.9888121750619676, "text": "顾礼义,则深厉浅揭,惟其所欲,而尚奚", "end": ""}, {"box": [[1579, 3953], [2695, 3958], [2694, 4017], [1579, 4012]], "score": 0.9515334864457449, "text": "所惧哉?「清·袁枚《小仓山房诗集·三", "end": " "}, {"box": [[1579, 4044], [2693, 4048], [2692, 4104], [1579, 4100]], "score": 0.9315102679861916, "text": "○·桂林至兴安路止百里舟行十日》:我", "end": ""}, {"box": [[1578, 4133], [2695, 4136], [2694, 4195], [1578, 4192]], "score": 0.981431653102239, "text": "今法两贤,少安且毋躁。深厉浅则揭,能", "end": ""}, {"box": [[1574, 4222], [1853, 4225], [1853, 4283], [1573, 4280]], "score": 0.9256551623344421, "text": "行未可料。", "end": "\n"}, {"box": [[1648, 4314], [2695, 4318], [2694, 4377], [1648, 4373]], "score": 0.9686205001438365, "text": "又作[浅深揭厉]。唐·杜牧《樊川文", "end": ""}, {"box": [[1574, 4405], [2693, 4409], [2692, 4464], [1574, 4460]], "score": 0.9543790519237518, "text": "集·三·除官归京睦州雨霁》:顾我能甘", "end": ""}, {"box": [[1577, 4492], [2693, 4497], [2692, 4553], [1577, 4548]], "score": 0.889406762339852, "text": "贱,无由得自强······浅深须揭厉,休更学", "end": ""}, {"box": [[1573, 4577], [1737, 4579], [1736, 4640], [1572, 4637]], "score": 0.9773550033569336, "text": "张纲!", "end": "\n"}, {"box": [[1643, 4669], [2691, 4675], [2690, 4728], [1643, 4722]], "score": 0.97937051338308, "text": "也省作[揭厉]。陈昌言《赋得玉水记", "end": ""}, {"box": [[1573, 4757], [2694, 4760], [2693, 4816], [1573, 4813]], "score": 0.9784703944858751, "text": "方流》《全唐诗》四六四):滔滔在何许,", "end": ""}, {"box": [[1574, 4845], [2691, 4848], [2690, 4904], [1574, 4901]], "score": 0.9627107944753435, "text": "揭厉愿从游。「权德舆《张隐居<庄子指", "end": ""}, {"box": [[1573, 4933], [2691, 4938], [2690, 4994], [1573, 4989]], "score": 0.962472778558731, "text": "要>序》(《全唐文》四九三):然则道之于", "end": ""}, {"box": [[1573, 5020], [2690, 5026], [2689, 5083], [1573, 5077]], "score": 0.9985976405441761, "text": "物,无不也。行之者视其分随其方而", "end": ""}, {"box": [[1566, 5112], [2689, 5116], [2688, 5172], [1566, 5167]], "score": 0.9923025568326315, "text": "揭厉之,则为家为邦,为仁为智,游之泳", "end": ""}, {"box": [[1573, 5197], [2550, 5204], [2550, 5263], [1572, 5257]], "score": 0.9528898070840275, "text": "之,日渐渍之,化与心成,不知所自。", "end": "\n"}, {"box": [[1643, 5291], [2693, 5294], [2692, 5350], [1643, 5347]], "score": 0.9735242757532332, "text": "又省作[厉揭]。汉·杨雄《剧秦美新》", "end": ""}, {"box": [[1575, 5381], [2691, 5384], [2690, 5439], [1575, 5436]], "score": 0.9449107159267772, "text": "(《文选》四八681下):蕨被风濡化者,京师", "end": ""}, {"box": [[1572, 5467], [2604, 5471], [2604, 5527], [1572, 5523]], "score": 0.9644570315585417, "text": "沉潜,甸内匝洽,侯卫厉揭,要荒灌沐", "end": "\n"}, {"box": [[1577, 5556], [2690, 5559], [2689, 5615], [1577, 5612]], "score": 0.9744676550229391, "text": "比喻影响深浅不同。「清·赵翼《瓯北诗", "end": ""}, {"box": [[1573, 5644], [2692, 5650], [2691, 5703], [1573, 5697]], "score": 0.9426727796855726, "text": "钞·七言古一·题王摩洁渡水罗汉图》:丹", "end": "\n"}, {"box": [[2856, 540], [3981, 540], [3981, 606], [2856, 606]], "score": 0.975446056574583, "text": "青真那得知,厉揭神情独可按。按:", "end": ""}, {"box": [[2858, 628], [3135, 631], [3134, 689], [2857, 686]], "score": 0.9964353442192078, "text": "此为本义。", "end": "\n"}, {"box": [[2781, 720], [3138, 722], [3137, 793], [2781, 791]], "score": 0.9924221336841583, "text": "深盟密约", "end": "\n"}, {"box": [[3181, 735], [3777, 738], [3777, 801], [3181, 798]], "score": 0.9395144954323769, "text": "shen meng mi yue", "end": "\n"}, {"box": [[3834, 736], [3972, 736], [3972, 800], [3834, 800]], "score": 0.9995770156383514, "text": "指男", "end": "\n"}, {"box": [[2856, 825], [3971, 827], [3971, 884], [2856, 882]], "score": 0.9760856442153454, "text": "女双方为确保爱情始终不渝而对天起", "end": ""}, {"box": [[2854, 911], [3900, 915], [3900, 974], [2854, 971]], "score": 0.9870865029447219, "text": "誓发愿,立下盟约。也指这样的盟约。", "end": ""}, {"box": [[2855, 1004], [3972, 1007], [3972, 1063], [2855, 1060]], "score": 0.9814716180165609, "text": "杨泽民《满路花》《全宋词》3012上):深", "end": ""}, {"box": [[2855, 1091], [3972, 1095], [3972, 1154], [2855, 1150]], "score": 0.971088727315267, "text": "盟密约,啮臂曾流血。须知弦断有,鸾胶", "end": ""}, {"box": [[2853, 1181], [3977, 1184], [3977, 1243], [2853, 1240]], "score": 0.9918479886319902, "text": "接。别离日久,转觉归心切。《玉娇梨》", "end": ""}, {"box": [[2850, 1267], [3973, 1271], [3973, 1333], [2850, 1329]], "score": 0.9681050463726646, "text": "一九212:偶尔相逢,似有天幸;黯然别", "end": ""}, {"box": [[2855, 1361], [3968, 1365], [3968, 1421], [2855, 1418]], "score": 0.995742166743559, "text": "去,殊苦人心。记得石上深盟,花前密", "end": ""}, {"box": [[2853, 1450], [3239, 1452], [3239, 1508], [2853, 1506]], "score": 0.9840839760644096, "text": "约,历历在耳。", "end": "\n"}, {"box": [[2922, 1537], [3974, 1539], [3974, 1601], [2921, 1599]], "score": 0.9376231829325358, "text": "又作[深盟厚约],厚:深;亲密。晃端", "end": ""}, {"box": [[2850, 1624], [3967, 1629], [3967, 1688], [2850, 1683]], "score": 0.9858560413122177, "text": "礼《柳初新》《全宋词》442上):共伊合", "end": ""}, {"box": [[2850, 1714], [3970, 1719], [3970, 1775], [2850, 1770]], "score": 0.9918950696786245, "text": "下、深盟厚约,比望收因结果。这好事、", "end": ""}, {"box": [[2850, 1803], [3681, 1805], [3681, 1862], [2850, 1859]], "score": 0.9796234460977408, "text": "难成易破。到如今、彼此无那", "end": "\n"}, {"box": [[2923, 1892], [3968, 1895], [3968, 1951], [2922, 1948]], "score": 0.9663434591558244, "text": "又作[厚约深盟]。沈唐《念奴娇》《全", "end": ""}, {"box": [[2851, 1980], [3967, 1982], [3967, 2039], [2851, 2037]], "score": 0.9303906261920929, "text": "宋词》171下):燕语千般,争解说、些子", "end": ""}, {"box": [[2848, 2069], [3967, 2073], [3967, 2132], [2848, 2128]], "score": 0.9960860874917772, "text": "伊家消息。厚约深盟,除非重见,见了方", "end": ""}, {"box": [[2848, 2157], [3745, 2160], [3745, 2222], [2848, 2219]], "score": 0.9941171109676361, "text": "端的。而今无奈,寸肠千恨堆积", "end": "\n"}, {"box": [[2919, 2247], [3965, 2251], [3965, 2311], [2918, 2306]], "score": 0.965657469104318, "text": "又作[密约深盟]。吴锡麒《春从天上", "end": ""}, {"box": [[2848, 2336], [3967, 2340], [3967, 2396], [2848, 2393]], "score": 0.9199340173176357, "text": "来·镜听》(《清名家词》五165):乐事酬", "end": ""}, {"box": [[2846, 2426], [3965, 2429], [3965, 2485], [2846, 2482]], "score": 0.9794876906606886, "text": "侬,欢情赊汝,抵似密约深盟。料心心照", "end": ""}, {"box": [[2852, 2516], [3444, 2516], [3444, 2572], [2852, 2572]], "score": 0.9956908464431763, "text": "见,千里外、与证分明", "end": "\n"}, {"box": [[2922, 2603], [3965, 2605], [3965, 2661], [2921, 2659]], "score": 0.9702272870961357, "text": "又作[密约深期],泛指男女约会。方", "end": ""}, {"box": [[2851, 2694], [3961, 2694], [3961, 2747], [2851, 2747]], "score": 0.9715751636595953, "text": "千里《浣沙溪(其二)》(《全宋词》2496", "end": " "}, {"box": [[2848, 2779], [3557, 2783], [3557, 2836], [2848, 2832]], "score": 0.9559257247231223, "text": "下):密约深期卒未成。", "end": "\n"}, {"box": [[3535, 2782], [3962, 2785], [3962, 2836], [3535, 2833]], "score": 0.9955779016017914, "text": "藏钩春酒坐频", "end": "\n"}, {"box": [[2841, 2868], [3468, 2868], [3468, 2927], [2841, 2927]], "score": 0.9987074613571167, "text": "倾。向人娇艳夜亭亭。", "end": "\n"}, {"box": [[2772, 2961], [3137, 2961], [3137, 3031], [2772, 3031]], "score": 0.9946903884410858, "text": "深明大义", "end": "\n"}, {"box": [[3169, 2972], [3965, 2975], [3965, 3041], [3169, 3038]], "score": 0.9444957406897294, "text": "shen ming da yi·深切地", "end": "\n"}, {"box": [[2852, 3061], [3967, 3067], [3967, 3126], [2852, 3120]], "score": 0.9985387437045574, "text": "了解做人处事的大道理。多指人能识", "end": ""}, {"box": [[2844, 3151], [3962, 3154], [3962, 3214], [2844, 3211]], "score": 0.9685287535190582, "text": "大体。《歧路灯》一○八1007:岂知抚台", "end": ""}, {"box": [[2845, 3241], [3966, 3244], [3966, 3304], [2845, 3300]], "score": 0.9934828421648811, "text": "太太乃是阀阅旧族,科第世家,深明大", "end": ""}, {"box": [[2849, 3336], [3962, 3336], [3962, 3389], [2849, 3389]], "score": 0.9538490944787076, "text": "义,不肯分毫有错。「清·江藩《国朝汉学", "end": ""}, {"box": [[2845, 3422], [3961, 3425], [3961, 3481], [2845, 3478]], "score": 0.9726896097785548, "text": "师承记·四·王兰泉先生》:先是,文成奏", "end": ""}, {"box": [[2844, 3513], [3960, 3513], [3960, 3569], [2844, 3569]], "score": 0.9869714168941274, "text": "先生系独子,母年七十馀,深明大义,", "end": ""}, {"box": [[2847, 3597], [3964, 3601], [3964, 3657], [2847, 3653]], "score": 0.9926858167899283, "text": "以弹心军事。《儿女英雄传》二五451:", "end": ""}, {"box": [[2845, 3685], [3958, 3689], [3958, 3746], [2845, 3741]], "score": 0.9932651089297401, "text": "世上这般双瞳如豆,一叶迷山的,以至糊", "end": ""}, {"box": [[2843, 3773], [3764, 3778], [3764, 3835], [2843, 3831]], "score": 0.9946865359942119, "text": "涂下人,又有几个深明大义的呢?", "end": "\n"}, {"box": [[2914, 3864], [3960, 3867], [3960, 3923], [2913, 3920]], "score": 0.9575338462988535, "text": "又作[大义深明]。清·长白浩歌子《萤", "end": ""}, {"box": [[2846, 3953], [3961, 3956], [3961, 4012], [2846, 4009]], "score": 0.9007340610027313, "text": "窗异草·初编·四·苦节》:(翁又嘱日)吾", "end": ""}, {"box": [[2842, 4041], [3957, 4045], [3957, 4101], [2842, 4097]], "score": 0.9580826577213075, "text": "儿大义深明,予无多赘,益善处之,勿令", "end": ""}, {"box": [[2847, 4131], [3194, 4133], [3193, 4190], [2847, 4187]], "score": 0.9945934116840363, "text": "儿女情长也。", "end": "\n"}, {"box": [[2768, 4224], [3124, 4224], [3124, 4296], [2768, 4296]], "score": 0.980727806687355, "text": "深谋远虑", "end": "\n"}, {"box": [[3178, 4241], [3769, 4237], [3769, 4298], [3178, 4301]], "score": 0.9459464624524117, "text": "shen mou yuan lu", "end": "\n"}, {"box": [[3739, 4239], [3962, 4239], [3962, 4304], [3739, 4304]], "score": 0.9998438060283661, "text": "周密", "end": "\n"}, {"box": [[2846, 4330], [3957, 4330], [3957, 4386], [2846, 4386]], "score": 0.9921091700855055, "text": "谋划,长远考虑。汉·贾谊《过秦论》《史", "end": ""}, {"box": [[2842, 4418], [3956, 4421], [3956, 4477], [2842, 4474]], "score": 0.9511093659834429, "text": "记》六282、《文选》五一709下):適戌之", "end": ""}, {"box": [[2842, 4508], [3959, 4510], [3959, 4563], [2842, 4561]], "score": 0.9882493846946292, "text": "众,非抗于九国之师;深谋远虑,行军用", "end": ""}, {"box": [[2837, 4590], [3965, 4593], [3965, 4655], [2837, 4652]], "score": 0.9267363415824043, "text": "兵之道,非及乡(向)时之士也。丨贾谊", "end": ""}, {"box": [[2837, 4681], [3958, 4684], [3958, 4738], [2837, 4735]], "score": 0.9646491376977218, "text": "《新书·过秦下》:当此时也,世非无深谋", "end": ""}, {"box": [[2841, 4767], [3959, 4771], [3959, 4826], [2841, 4822]], "score": 0.9923476787174449, "text": "远虑知化之士也,然所以不敢尽忠拂过", "end": "\n"}, {"box": [[2841, 4855], [3499, 4857], [3499, 4913], [2841, 4911]], "score": 0.9859667203643105, "text": "者,秦俗多忌讳之禁也。", "end": "\n"}, {"box": [[3555, 4861], [3954, 4861], [3954, 4911], [3555, 4911]], "score": 0.9753596612385341, "text": "《史记·秦始皇", "end": "\n"}, {"box": [[2837, 4940], [3816, 4940], [3816, 5006], [2837, 5006]], "score": 0.9549495130777359, "text": "本纪》六278深谋远虑引1作“深虑”", "end": "\n"}, {"box": [[2909, 5030], [3955, 5032], [3955, 5092], [2908, 5090]], "score": 0.9629056453704834, "text": "又作[深谋远计],计:计划;策略。《史", "end": ""}, {"box": [[2840, 5122], [3956, 5125], [3956, 5179], [2840, 5175]], "score": 0.9593028783798218, "text": "记·蔡泽传》七九2423:大夫种为越王深", "end": ""}, {"box": [[2839, 5209], [3717, 5213], [3717, 5269], [2839, 5266]], "score": 0.9958797375361125, "text": "谋远计,免会稽之危,以亡为存。", "end": "\n"}, {"box": [[2909, 5296], [3958, 5299], [3958, 5358], [2908, 5355]], "score": 0.9600641415232704, "text": "又作[深谋远鉴],鉴(jian):观察。魏", "end": ""}, {"box": [[2839, 5386], [3959, 5388], [3959, 5443], [2839, 5441]], "score": 0.9841447671254476, "text": "徽《唐故邢国公李密墓志铭》《全唐文》", "end": ""}, {"box": [[2841, 5476], [3954, 5476], [3954, 5529], [2841, 5529]], "score": 0.9590228231329667, "text": "一四一):尚书令景武公杨素,崖岸峻峙,", "end": ""}, {"box": [[2838, 5561], [3821, 5563], [3821, 5619], [2838, 5617]], "score": 0.9212889939546585, "text": "天资宏亮······深谋远鉴,独步当时。", "end": "\n"}, {"box": [[2920, 5648], [3954, 5651], [3954, 5707], [2919, 5705]], "score": 0.9088935106992722, "text": "又作[深谋远略],略(lue):计谋;策", "end": "\n"}], "path": "C:/hycyyldcd/input/1468.jpg", "score": 0.967308939215853, "time": 38.445427656173706, "timestamp": 1716738738.85936, "fileName": "1468.jpg", "dir": "C:/hycyyldcd/input"}
1 个赞

只有整行,没有单字坐标

1 个赞

我看了 umi-ocr 用的百度开源的 ocr 引擎。
自己尝试了下,分栏后识别率很高,第一栏总共 713 个汉字错了 6 个。

1468_0.zip (3.3 MB)

  • 专(阃)久膺 // 错字:阔
  • 孙(膑)兵法 // 漏字
  • 五(一) // 漏字
  • 分卒守(徼) // 错字:激
  • 二(〇)八 // 错字:O
  • (缮)甲兵 // 漏字

百度的 PP-OCR 可以返回单个字符的坐标和置信度,还没有尝试。

PaddleOCR/ppstructure/return_word_pos.md at main · PaddlePaddle/PaddleOCR (github.com)

请问PaddleOCR.ocr函数可以获得单个字符的置信度吗? · Issue #9381 · PaddlePaddle/PaddleOCR (github.com)

夸克扫描王有pdf画质增强功能,可以一试,背面透映出来的干扰性“反体字”可以消除掉。再结合扫描全能王、夸克扫描王、Word自带的扫描功能,参互对校,差不多可以得出较为精良的文本。

28 楼,有提供 1468 页第一栏的截图,你可以试下,看看错误率怎么样。

嗯嗯,明天开通会员试试

商務館 :-1:

1 个赞

好消息:

  • 由 windows 换到 manjaro kde 了, 楼主分享的原词典,加载速度由卡两秒变成了 瞬间加载!
  • 成语词典两千页,大部分是典源出处,想要理解成语而非做研究引经据典的更适合通读跳着读这本词典,内容很少。

二值化圖像我已在處理,體積約為原圖1/10,明日(5.28)可以完成。

汉语成语源流大辞典 二值化图像 459MB

深夜瞄一眼,已完工。

低估了計算機的處理速度。

同樣上載至 gofile.io ,訪問密碼:freemdict

感謝 #9 的朋友提供快傳新渠道。

順便 問及站長 @hua,本站可否增加 .tif 後綴之圖像格式上載權?

預覽↓
正文 20頁.zip (3.5 MB)

1 个赞

除了 0,其他这几个生僻字 easyocr 都对了。

@last_idol 这个easyocr 不支持分栏,你有分栏好工具吗,这个生僻字识别的还可以。

整页 OCR 结果 ``` ['使群众信服。大:表示程度深。孚:为人', '所信服。宋:洪咨夔《平斋文集:二六:谢', '贾制置特荐启》:此皆已见于施行,务在', '更加于推广 ,大孚众望,弘济中兴。', '后世多作[深孚众望]。《(清)刘坤一', '遗集:奏疏三四.11.提臣应行陛见暂请', '展缓折》:该提督老于戎事 ,忠爱性成,于', '同治五年蒙恩简授湖南提督,迄今三十', '馀年,专阃久膺,深孚众望,其朴诚忠勇', '早在圣明洞鉴之中', '又作[深孚人心]。清:袁《小仓山房', '续文集:三二.淮徐营游击加赠文林郎田', '公墓志铭》:以吴人之浮薄 ,而封公(香泉', '先生)排月出署,竟齐其口,无一人造作', '蜚语者。', '非其道韵平淡,有以深孚于人', '心 ,何能如斯?', '又作[素孚众望],素(s0) :素来;一向=', '众望也作"物望"。物望:人望;众望。', '清:郑燮郑板桥全集:集外诗文:潍县署', '中寄四弟墨》:此乃我弟忠信素孚于众', '望;故能令官绅两造,概行折服,诚属难', '能而可贵。K筹办夷务始末:二六:咸丰', '八年五月丁亥:1027.奕诉奏》:天津乡', '勇现仍团结 ,果有素孚物望之官绅 ,实力', '训练,晓以大义,啖以重赏 ,必可得力=', '(深沟高垒)', 'shen 9u gao li', '挖掘很', '深的壕沟,建筑很高的壁垒。指构筑坚', '固的防御工事。《孙膑兵法五名》(银雀', '山汊墓竹简本):深沟高垒而难其粮。', '《史记:淮阴侯传》九二2615 (并见《汊', '书》四1867):愿足下假臣奇兵三万', '人,从间道绝其辎重;足下深沟高垒,坚', '营勿与战。', '又作[高垒深沟]《孙子:虚实篇》(十', '一家注孙子》91 ):故我欲战,敌虽高垒', '深沟 ,不得不与我战者 ,攻其所必救也。', '叉作[深壁高垒],深壁(- bi) :加高壁', '垒。枚乘《上书重谏吴王 》(《汊书》五一', '2363 《文选》三九552 下):深壁高垒;', '副以关城,不如江淮之险。', '又作[深沟壁垒],壁垒:围墙;防御工', '事。《史记:黥布传》九一2600(并见《汉', '书》四1884):汉壬收诸侯,还守成皋', '荥阳 ,下蜀.汊之粟,深沟壁垒,分卒守徼', '乘塞。', '又作[深沟峻垒],峻( jun) : 高。韩凝', '《汊齐盖庙碑》(全唐文》二0八):以济', '水之南,深沟峻垒,缮甲兵,具车乘。', '又作[高垒深壁]。《三国志:武帝纪》', '一7 :(太祖)因为谋曰:"诸君听吾计:.', '皆高垒深壁,勿与战,益为疑兵,示天下', '形势,以顺诛逆,可立定也。', '又作[高垒深堑],堑 ( qicn) : 隔断交', '通的沟。', '《史记:高祖本纪》八374(并见', '《汊书》一上42):(汊王)欲复战。郎中', '郑忠乃说止汉王 ,使高垒深堑,勿与战。', '(深居简出1 shen ju jidn chu', '深居:居', '住在隐秘的地方。', '《文子:微明》二十']
</details>
1 个赞

分享PDF版本

是以35楼的版本加上索引+优化

云盘空间有限,3日后删除

5 个赞


:joy:

可以找我加空间。

好了。

1 个赞

嗯嗯,感谢提醒:kissing_heart::kissing_closed_eyes::kissing::kissing_smiling_eyes: