在线文字识别转换(通用OCR)ocr.wdku.net-CarlZeng
背景
医疗保险的电子,一般为PDF版本,并且PDF中的内容全部都是整页整页的图片,导致无法对合同内容进行搜索。
在线文字识别转换(通用OCR)
第一步:文件上传
第二步:参数选择
第三步:转换结果(直接显示)
类似的工具很多,今天分享一个实测10页PDF内容OCR识别,靠谱的。https://ocr.wdku.net
免费的文字在线识别工具 - 通过图片识别文字,可保留原始格式,提供图像文字识别,提取图片文字,pdf文字识别,扫描文件识别服务、pdf转Word文档服务等。我们的Ocr服务支持中文、繁体中文、日语、韩语、英语、法语、俄语、德语等多种语言,输出结果支持PDF、Word和Txt格式。
Image Captioning with nlbconnect/vit-gpt2-image-captioning-CarlZeng
- https://huggingface.co/nlpconnect/vit-gpt2-image-captioning
- The Illustrated Image Captioning using transformers
- Image captioning is the process of generating caption i.e. description from input image. It requires both Natural language processing as well as computer vision to generate the caption.
- facebook/detr-resnet-50, Sample:
实例
1. 打开:https://huggingface.co/spaces/SRDdev/Image-Caption
2. 上传图片,拖放或者点击Upload any Image
3. 点击 Submit,稍等片刻,右侧的Captions就会出现图片的介绍
Python 编辑器 jupyter notebook-CarlZeng
cd /Users/carl/opt/anaconda3/bin
./jupyter notebook
关于Authy尴尬-CarlZeng
打印相片, 如何从安卓手机发送大量照片到Mac电脑-CarlZeng
如何在手机(安卓)中搜索照片-CarlZeng
背景
如何在手机中搜索特定照片,这个问题困扰了我很多年。之所有还依然需要这个功能,是因为这个需求非常常见,我们经常只是拍照没有文字记录,而事情经过以后,往往需要快速找到这些历史照片。
解决方案思路:拍照以后,我们可以抽空用工具给照片重命名,这样关键字就在照片名字中体现;搜索时,可以通过搜索关键字来找到历史照片。
(另外的思路需要把照片交给OCR识别引擎,把照片中的文字,变成关键字,然后搜索通过检索这些关键字即可实现搜索照片的功能。目前没有实践过)
工具
Android RE管理器(RootExplorer)v4.10.3
- 使用**版,这样就没有闹人的广告。
操作方法
1. 打开Root Explorer,打开照片所在目录:/storage/emulated/0/DCIM/Camera
2. 预览并选中(长按)想要重命名的照片,右上角菜单中》重命名
搜索:
1. 打开Root Explorer,右上角菜单中》搜索
2. 输入照片的关键字,确定
链接:
2. https://www.ghxi.com/rootexplorer.html
已高速(如有密码:3519)http://ct.ghpym.com/d/7369060-44892727-926c8f
http://pan.baidu.com/s/1c1QD6co 密码:suzo
How to learn React-CarlZeng
Help understanding
https://www.taniarascia.com/getting-started-with-react
Installed React debug tool
https://www.digitalocean.com/community/tutorials/how-to-debug-react-components-using-react-developer-tools
K2P刷机-坐标北京Unicom-CarlZeng
Openwrt可以实现很多功能,目前我主要是让K2P实现双播让上行带宽提速。
其他的实践不如:https://www.cnblogs.com/backuper/p/4028173.html
K2P A2版本,其他固件也一样能实现这个基本功能,比如高格等等,不同地区(不同ISP)建议找找老司机的实践经验分享。
思路/步骤
1. 刷入breed
断电,长按Reset键,通电10s以上;如果是Mac电脑没有网线接口,可以通过Lan口连接到其他的路由器来访问192.168.1.1
如果发现不是breed平台,就刷一下;因为下面的固件对breed支持比较好。据说备份一下eeprom.bin(留着备不时之需)
刷机文件名:breed-mt7621-phicomm-k2p.bin
2. 刷入支持单线多播的Openwrt
注意事项有:
1. breed 刷 选择斐讯分区
2. 刷完成后,开机连接名字为Openwrt的WIFI,用户名密码:root password;恢复出厂设置,这里恢复清理一下避免一些后续配置发生不明问题。
3. 网络》接口,配置好wan口的adsl用户名密码
4. 网络〉多线多播, 启用,单线多播,虚拟WAN接口数量 2;最低在线接口数量2;
(播出太多,并没有实际意义,反而降低了K2P的其他硬件性能,主要是无法叠加,没实际意义)
目前可用的下载链接: https://pan.baidu.com/s/1iK35emaVfAnIEgFlMyprmg 密码: 4vva
刷机文件名:openwrt-ramips-mt7621-phicomm_k2p-squashfs-sysupgrade0509.bin
3. 改桥接
也可以直接购买刷好的机器,跳过上面2步;因为拥有了设备,下一步就是改桥接。
两种情况,按实际情况对号入座,或按需顺序执行。
1. 光猫性能老旧无千兆口,打电话给客服报告:同址移机;升级千兆口光猫,装修导致老光猫弄***(思考一下怎么说)
2. 打电话给客服,报告死机无法上网等现象,光猫性能缺陷导致;第二天,技术人员打电话沟通,让他远程改一下桥接。
4. 改桥接后继续通过K2P路由器访问光猫
改桥接后,猫地址192.168.1.1 网断;K2P地址192.168.2.1网段;Openwrt无法让局域网内192.168.2.0网段内客户端访问192.168.1.1这个猫地址。
网络 》 接口 菜单下新建一个接口,协议选dhcp客户端(高级菜单里的使用默认网关去掉勾选),
物理接口选wan口对应的接口,保存后就能获取到192.168.1.0段的ip了
然后两个网段就可以互通了(可以不用切换网络直接访问光猫和路由器)。
这样就方便了平时路由器下的客户端,访问192.168.1.1的猫地址。
现实生活中,根据弱点箱布线,水电工经常把线都是集中拉在弱点箱中,无法实现光猫上的其他口上网就需要其他的交换机或者别的路由器来让其他的有线上网;
思路:可以从路由器在返回一条网线来给交换机(简单粗暴,已实践),或者让猫的其他口可上网(关闭猫的DHCP,接上路由器返回的网线即可,暂未实践)
参考文献:
The result field Formula (Text) cannot be grouped. Please edit the search and omit this field or use a different summary function.-CarlZeng
The result field Formula (Text) cannot be grouped. Please edit the search and omit this field or use a different summary function.
Solution:
- Create a drop down Custom List, I.e. Yes, No as the two options
- Create a new field in the record type(as an example), and link to above new dropdown/select field
- Use UE to set/sync value for new field to heal the data of Yes, No option value.
- Update the Saved Search to Group on new select/drop down field. (it will not trigger: The result field Formula (Text) cannot be grouped…. The result field Formula (Numeric) cannot be grouped….. )
Global Search file content in Gitlab repositories, search across repositories, search across all files-CarlZeng
How Global Search file content in Gitlab repositories(search across repositories)?
There is an existing answer to it, we can file the source code here https://github.com/phillipj/gitlab-search
Yes, that’s a Gitlab solution sit in Github :-) maybe you can find Github solutions/features in Gitlab repository too
Steps for Mac:
Install the tool by npm in Terminal
npm install -g gitlab-search
After installation success, it make sense to prepare a GitLab access token now
Create a GitLab personal access token
Note: Make sure check-on ‘read_api’
Grants read access to the API, including all groups and projects, the container registry, and the package registry.
or Select ALL; We can see all the existing token under: Active personal access tokens (*)
Got token(Your new personal access token) like: _avcPZb6sd4sUWXe3***
Setup gitlab-search
gitlab-search setup _avcPZb6sd4sUWXe3***
Successfully wrote config to .gitlabsearchrc, gitlab-search is now ready to be used
Usage sample:
- Search File content:
- gitlab-search functionabc
This’s a useful tool to globally search file content in gitlab repositories, enjoy it.
git Merge branches-CarlZeng
How to extract text from PDF(Image) files, OCR-CarlZeng
SWOT, Challenges to upgrade to MacOS Big Sur (Version 11.0.1)-CarlZeng
SWOT stands for Strengths, Weaknesses, Opportunities, and Threats
Strengths:
Better view, Clean up more disk spaces(since some apps is not working)
The Power can work longer time
System working faster
Weaknesses:
* HP 1010 Printer is not working(Not able to print with HP Deskjet 1010 and macOS Big Sur)
Solution: Download a very old driver for OS X10.6 for HP and it worked. https://support.hp.com/us-en/drivers/selfservice/closure/hp-deskjet-1010-printer-series/5157543/model/5157545?ssfFlag=true&sku=
Download will got a ‘HP Easy Start.app’, install it.
* Parallels Desktop for Mac compatibility with macOS 11 Big Sur – Known and Resolved Issues
Solution: Remove Parallels, use back to VMware, ‘VMware_Fusion_Pro_12.1.0_Build_17195230__macwk.com’
It working great for Windows XP. (verified date 2021-01-14)
Opportunities:
Threats:
Your Mac Sounds will broken, one of the sound broken after I upgraded to Big Sur :( very likely caused by the system upgrade action.
SuiteScript 2.0 Error: SSS_INVALID_SRCH_FILTER_EXPR_TYPE-CarlZeng
这样的时刻:话不多说,就一句-CarlZeng
“两会来了,Internet颤抖了;”
(至少要抖上18天)