jjzjj

javascript - 读磁墨水(MICR)

我需要能够读取由磁性墨水创建的任意形状产生的波形。如何以编程方式对此进行模拟?我对OCR不感兴趣。根据Magneticinkcharacterrecognition,并假设您有E13B字体和渲染到JPG/PNG上的字符:Theinkintheplaneofthepaperisfirstmagnetized.ThenthecharactersarepassedoveraMICRreadhead,adevicesimilartotheplaybackheadofataperecorder.Aseachcharacterpassesovertheheaditproducesauniquewa

Javascript原型(prototype)扩展方法

我有一个原型(prototype)模型,我需要在原型(prototype)中包含以下扩展方法:String.prototype.startsWith=function(str){return(this.indexOf(str)===0);}例子:[JS]sample=function(){this.i;}sample.prototype={get_data:function(){returnthis.i;}}在原型(prototype)模型中,如何使用扩展方法或任何其他方式在JS原型(prototype)模型中创建扩展方法。 最佳答案

c# - 如何在 C# 中读取 micr 行

谁能帮帮我,我是c#的新手我已经扫描了一张支票,我想从中读取micr行并从c#中的MICR行获取银行路由号码和支票号码的详细信息,我正在Windows应用程序中工作publicstaticstringReadOneMICR(stringfile,intpage){try{stringsout="";mut.WaitOne();//PreventreentrancyClearMicr.CcMicrReaderreader=newClearMicr.CcMicrReader();reader.Image.Open(file,page);//Doactualreadingreader.Fin

android - 如何在 Android 中识别 MICR 码

我正在尝试从文档中找到对MICR代码进行OCR的方法。为此,我使用了Tesseract库,使用它我在识别文本方面取得了成功,但是当涉及到MICR时,它无法识别。这是我要阅读的示例MICR图像:这是一个MICRE-13B字体(moreinfo)。那么Android有没有识别MICR码的开源库呢?我找到了Leadtools提供此功能但已付费的SDK。 最佳答案 您可以将Tesseract与mcr.traineddata一起使用语言数据文件。 关于android-如何在Android中识别MI