Lihang Xu

Results 194 comments of Lihang Xu

只是显示比例的话,可以像福昕阅读器这样,搞一个spinner加进度条 ![image](https://user-images.githubusercontent.com/5462205/188276973-262e0083-f16a-4986-ba56-981479130431.png)

这个中文字体的设置会有bug,我暂时搞不定 https://github.com/xulihang/ImageTrans-docs/assets/5462205/dfbf3d3d-3a2e-4ff4-869c-3e9732d16d08

可以设置一个黑体,会粗一点

I use this library to build a synthetic dataset. You can find how I do it in this blog: https://www.dynamsoft.com/codepool/synthetic-mrz-images-dataset.html

This one: ![Special_0280](https://user-images.githubusercontent.com/5462205/233590117-5807a4b4-ab1e-4e9d-89cf-53981561f49d.jpg)

I need to read the image file. The content of the PDF417 is stored as bytes so I need to use `getRawBytes`.

I tried ZXing and ZBar. None of them works. Only Dynamsoft Barcode Reader can read them: https://demo.dynamsoft.com/barcode-reader/ ![image](https://user-images.githubusercontent.com/5462205/233552012-a4e7ee38-6b47-41d7-98aa-c8e90d175fac.png)

I simply use canvas to crop the image before sending it to ZXing.js: https://github.com/xulihang/barcode-detector-polyfill/blob/main/example/src/scripts/index.js#L240

You can try this ISBN barcode reader: https://www.dynamsoft.com/codepool/isbn-barcode-scanner.html

My major focus is on ImageTrans right now. BasicCAT is in maintenance mode. So new features are not in high priority unless I really need to have one.