上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 125 下一页
摘要: 一、环境准备 安装 Go 访问 https://golang.org/dl/ 下载并安装适合你系统的 Go 语言环境。 安装 Tesseract 确保系统已安装 Tesseract OCR: macOS: brew install tesseract Ubuntu: sudo apt install 阅读全文
posted @ 2025-05-08 22:49 ttocr、com 阅读(23) 评论(0) 推荐(0)
摘要: 验证码识别是将图像中的字符序列转为文本的一项任务,适合用深度学习方法来建模。本文介绍如何使用 Keras 构建一个 CNN+LSTM+CTC 模型,实现变长验证码的识别。 安装依赖 pip install tensorflow pillow numpy captcha2. 生成验证码图像数据 我们使 阅读全文
posted @ 2025-05-08 22:46 ttocr、com 阅读(29) 评论(0) 推荐(0)
摘要: 验证码识别是将图像中的字符序列转为文本的一项任务,适合用深度学习方法来建模。本文介绍如何使用 Keras 构建一个 CNN+LSTM+CTC 模型,实现变长验证码的识别。 安装依赖 pip install tensorflow pillow numpy captcha2. 生成验证码图像数据 我们使 阅读全文
posted @ 2025-05-08 17:40 ttocr、com 阅读(17) 评论(0) 推荐(0)
摘要: 图像验证码识别是一种典型的图像转文本任务。本文将带你构建一个基于 CNN + BiLSTM + CTC 的验证码识别模型,支持不定长字符识别,具有较强泛化能力。 环境依赖 pip install torch torchvision pillow captcha2. 生成验证码图片 我们使用 ​​ca 阅读全文
posted @ 2025-05-08 17:36 ttocr、com 阅读(49) 评论(0) 推荐(0)
摘要: 本文将介绍如何使用 Python 和 PyTorch 构建一个简单的图像验证码识别系统。主要包括数据生成、模型训练和预测三个部分。 安装依赖 pip install torch torchvision pillow captcha numpy 2. 生成验证码图片 from captcha.imag 阅读全文
posted @ 2025-05-07 16:21 ttocr、com 阅读(15) 评论(0) 推荐(0)
摘要: 本文将展示如何使用 PyTorch Lightning 构建一个端到端的验证码识别模型。相比原始 PyTorch,Lightning 可以让你更专注于模型逻辑和实验。 安装依赖 pip install pytorch-lightning torch torchvision captcha pillo 阅读全文
posted @ 2025-05-07 15:56 ttocr、com 阅读(27) 评论(0) 推荐(0)
摘要: 本教程将演示如何使用 Python 和 Keras 框架,构建一个简单但有效的图像验证码识别系统。整个流程包括数据生成、模型搭建、训练以及预测。 环境依赖 确保安装了以下库: pip install tensorflow pillow numpy matplotlib captcha2. 生成验证码 阅读全文
posted @ 2025-05-07 15:52 ttocr、com 阅读(18) 评论(0) 推荐(0)
摘要: 本示例展示如何用 ML.NET 加载经过训练的深度学习模型,并在 .NET 应用中实现图像验证码识别。 一、准备工作 安装依赖 在你的 C# 项目中安装以下 NuGet 包: dotnet add package Microsoft.ML dotnet add package Microsoft.M 阅读全文
posted @ 2025-05-06 13:01 ttocr、com 阅读(156) 评论(0) 推荐(0)
摘要: 本教程介绍如何在 Go 中加载一个训练好的 TensorFlow 模型,对验证码图像进行识别,适用于构建轻量级识别服务或 CLI 工具。 一、环境准备 安装 TensorFlow Go TensorFlow 官方提供 Go API,但需安装 C 语言版本的 TensorFlow 依赖: 安装 Ten 阅读全文
posted @ 2025-05-06 12:58 ttocr、com 阅读(22) 评论(0) 推荐(0)
摘要: 本示例展示如何在 Node.js 环境中加载训练好的 TensorFlow 模型,并对图像验证码进行识别。 一、环境准备 安装依赖 npm init -y npm install @tensorflow/tfjs-node jimp• ​​@tensorflow/tfjs-node​​: Tenso 阅读全文
posted @ 2025-05-06 12:52 ttocr、com 阅读(65) 评论(0) 推荐(0)
上一页 1 ··· 75 76 77 78 79 80 81 82 83 ··· 125 下一页