zhaipro/easy12306
zhaipro/easy12306 has 2,909 GitHub stars and 722 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 19:58 UTC. Last push 2021-03-04.
使用机器学习算法完成对12306验证码的自动识别
Measured star growth
- in 24h
- 0
- in 7 days
- Collecting history
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Originaleasy12306
两个必要的数据集:
- 文字识别,model.h5
- 图片识别,12306.image.model.h5
识别器数据的下载地址:
python3 main.py <img.jpg>
我把设计思路写在维基中了:https://github.com/zhaipro/easy12306/wiki
如何?

~$ python3 main.py 2.jpg 2> /dev/null
电子秤
风铃 # 要找的是以上两样东西
0 0 电子秤 # 第一行第一列就是电子秤
0 1 绿豆
0 2 蒸笼
0 3 蒸笼
1 0 风铃
1 1 电子秤
1 2 网球拍
1 3 网球拍
识别前所未见的图片

具体的编号:texts.txt
~$ python3 mlearn_for_image.py 8.jpg
[0.8991613] # 可信度
[0] # 0 表示的就是打字机
什么?
只是想拿来识别12306的验证码?可以回顾3.0.0,使用相似图搜索。
Explore related projects
tensorflow/tensorflow
An Open Source Machine Learning Framework for Everyone
201,367 starshuggingface/transformers
🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal models, for both inference and training.
168,609 starsAUTOMATIC1111/stable-diffusion-webui
Stable Diffusion web UI
165,264 starsComfy-Org/ComfyUI
The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.
145,310 stars