摘要:
先安装必须的库 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 阅读全文
posted @ 2020-02-12 21:25
McKay
阅读(885)
评论(3)
推荐(0)
摘要:
我们先生成些验证码图片 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 阅读全文
posted @ 2020-02-12 20:35
McKay
阅读(862)
评论(1)
推荐(0)
摘要:
继上篇文章后,这次使用卷积网络做实验(上篇用的是普通2层网络) import time import tensorflow as tf import numpy as np import cv2 as cv def generate_image(a, rnd_size=100): image = n 阅读全文
posted @ 2020-02-12 19:55
McKay
阅读(595)
评论(0)
推荐(0)
摘要:
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 阅读全文
posted @ 2020-02-12 14:45
McKay
阅读(557)
评论(0)
推荐(0)

浙公网安备 33010602011771号