Skip to content
/ Java12306 Public

Java实现12306登录验证码识别(可多标签识别)

Notifications You must be signed in to change notification settings

vua/Java12306

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java12306

Java调用tensorflow pb模型进行图像分类做验证码识别,其它基本图像处理由java完成

模型.pb文件

模型文件已上传可以直接clone

  • 字符分类使用lenet(src/main/resource/model/lennt-top.pb)

  • 图片分类使用mobilenet(src/main/resource/model/mobilenet-pic.pb)

maven依赖

<!-- https://mvnrepository.com/artifact/org.tensorflow/tensorflow -->
<dependency>
    <groupId>org.tensorflow</groupId>
    <artifactId>tensorflow</artifactId>
    <version>1.14.0</version>
</dependency>

使用方法

  • 执行 com.cooooode.java12306.service.VerifyService 的mian方法
Usage: java VerifyService image image_path
    or java VerifyService base64 base64_code

Online Demo

demo演示地址 (服务已关闭)

demo源码地址

Sample

抢票自动化测试

demo源码地址

About

Java实现12306登录验证码识别(可多标签识别)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages