摘要:
先安装必须的库 tensorflow_gpu==1.15.0 numpy opencv_python github: https://github.com/bai-shang/crnn_ctc_ocr_tf 下载数据集: http://www.robots.ox.ac.uk/~vgg/data/te 阅读全文
摘要:
我们先生成些验证码图片 import cv2 as cv import numpy as np import os def create_digit_image(dir_path): image = np.ones(shape=[24, 72], dtype=np.uint8) image = im 阅读全文
摘要:
继上篇文章后,这次使用卷积网络做实验(上篇用的是普通2层网络) import time import tensorflow as tf import numpy as np import cv2 as cv def generate_image(a, rnd_size=100): image = n 阅读全文
摘要:
pip install numpy -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com pip install tensorflow-gpu==1.15.0 -i http://pypi.douban.com/simple 阅读全文