摘要: 在日常的OCR应用中,我们经常会遇到识别错误的问题。比如将"香蕉"识别为"香焦",或者将"Child"误识为"Chi1d"。这些看似微小的错误却可能导致后续的数据处理出现严重偏差。今天我想分享一个OCR纠错的思路——基于形状感知的智能匹配算法。 传统方法的局限性 传统的OCR纠错通常依赖于标准的编辑 阅读全文
posted @ 2025-12-18 10:09 骑白马走三关 阅读(6) 评论(0) 推荐(0)
摘要: SLF4J初始化机制深度解析 目录 核心流程概览 初始化状态机 绑定机制剖析 版本兼容设计 临时日志处理 核心流程概览 graph TD A[用户调用 LoggerFactory.getLogger] --> B{检查INITIALIZATION_STATE} B -- UNINITIALIZED 阅读全文
posted @ 2025-06-18 16:59 骑白马走三关 阅读(70) 评论(0) 推荐(0)
摘要: ··· ERROR 2059 (HY000): Authentication plugin 'caching_sha2_password' cannot be loaded: /usr/lib64/mysql/plugin/caching_sha2_password.so: cannot open 阅读全文
posted @ 2025-04-25 17:07 骑白马走三关 阅读(16) 评论(0) 推荐(0)
摘要: 监控某个groupId下所有topic的消费进度 InputStream inputStream = ClasspathUtils.streamFromClasspath("consumer.properties"); Properties properties = new Properties() 阅读全文
posted @ 2025-04-13 21:40 骑白马走三关 阅读(13) 评论(0) 推荐(0)
摘要: @Bean public RestTemplate restTemplate() throws Exception { // 创建一个信任所有证书的 TrustManager TrustStrategy acceptAll = (x509Certificates, s) -> true; SSLCo 阅读全文
posted @ 2025-03-04 16:15 骑白马走三关 阅读(70) 评论(0) 推荐(0)
摘要: @Bean public Client feignClient() throws Exception { SSLContext sslContext = SSLContext.getInstance("TLS"); X509TrustManager tm = new TrustAllManager( 阅读全文
posted @ 2025-03-04 16:13 骑白马走三关 阅读(53) 评论(0) 推荐(0)
摘要: <!--maven自定义打包插件--> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> <version>3.5.0</version> <conf 阅读全文
posted @ 2025-03-04 16:12 骑白马走三关 阅读(42) 评论(0) 推荐(0)
摘要: 主类MyPeriodQueryDbSource import org.apache.flink.api.connector.source.*; import org.apache.flink.core.io.SimpleVersionedSerializer; import java.util.Pr 阅读全文
posted @ 2024-12-30 11:27 骑白马走三关 阅读(112) 评论(0) 推荐(0)
摘要: 1.下载 # dev.mysql.com>Download>下载MySQL Community (GPL) Downloads 2.配置my.ini [mysqld] # 一定要加这个,默认启动端口是3306,一般不会用默认端口 port=50013 # 设置mysql的安装目录,一定要\\,否则不 阅读全文
posted @ 2024-10-16 13:43 骑白马走三关 阅读(162) 评论(0) 推荐(1)
摘要: Hadoop3.3.6 创建hadoop用户 useradd hadoop su - hadoop ssh-keygen -t rsa cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys chmod 0600 ~/.ssh/authorized_keys 阅读全文
posted @ 2023-11-03 13:50 骑白马走三关 阅读(121) 评论(0) 推荐(0)