Giter Site home page Giter Site logo

captcha-recognition's Introduction

captcha-recognition's People

Contributors

czczup avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

captcha-recognition's Issues

汉字识别

TIM图片20200706155048

像这样验证码,需要在4组选项,每组4个汉字中,选择一组匹配的汉字.
应该经过哪些步骤的处理?

请问下运行generate_tfrecord时出现这个错误怎么解决

C:\Users\86182\Desktop\Captcha-Recognition-master\venv\Scripts\python.exe C:\Users\86182\Desktop\Captcha-Recognition-master\level1\generate_tfrecord.py
2024-04-18 16:40:44.886591: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-04-18 16:40:46.200939: I tensorflow/core/util/port.cc:113] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
Traceback (most recent call last):
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\generate_tfrecord.py", line 89, in
_convert_dataset('train', training_filenames, class_names_to_ids, conf.TFRECORD_PATH)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\generate_tfrecord.py", line 62, in _convert_dataset
tfrecord_writer = tf.python_io.TFRecordWriter(output_filename)
^^^^^^^^^^^^
AttributeError: module 'tensorflow' has no attribute 'python_io'

模型训练问题

请问下我的第二类第三类模型为啥训练了两三天还没训练完

生成pb模型

level2的例子中,我想用ckpt文件生成pb模型,但是需要指定输出名字。我是用ArgMax显示不存在。 使用FC2/wx_plus_b结果好像对不上。

请问一下运行denoise时出现这种错误怎么解决

[ WARN:[email protected]] global loadsave.cpp:248 cv::findDecoder imread_('./image/train/0000.jpg'): can't open/read file: check file path/integrity
Process Process-1:
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 134, in remove_batch
remove_noise(i)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 116, in remove_noise
image = RGB_clean(image)
^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 31, in RGB_clean
B, G, R = [int(i) for i in get_threshold(image)]
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 17, in get_threshold
pixels = np.array([image[y-1, x-1], image[y-1, x], image[y-1, x+1],
~~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
[ WARN:[email protected]] global loadsave.cpp:248 cv::findDecoder imread
('./image/train/2000.jpg'): can't open/read file: check file path/integrity
Process Process-2:
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 134, in remove_batch
remove_noise(i)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 116, in remove_noise
image = RGB_clean(image)
^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 31, in RGB_clean
B, G, R = [int(i) for i in get_threshold(image)]
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 17, in get_threshold
pixels = np.array([image[y-1, x-1], image[y-1, x], image[y-1, x+1],
~~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
[ WARN:[email protected]] global loadsave.cpp:248 cv::findDecoder imread
('./image/train/4000.jpg'): can't open/read file: check file path/integrity
Process Process-3:
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 134, in remove_batch
remove_noise(i)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 116, in remove_noise
image = RGB_clean(image)
^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 31, in RGB_clean
B, G, R = [int(i) for i in get_threshold(image)]
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 17, in get_threshold
pixels = np.array([image[y-1, x-1], image[y-1, x], image[y-1, x+1],
~~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
[ WARN:[email protected]] global loadsave.cpp:248 cv::findDecoder imread
('./image/train/6000.jpg'): can't open/read file: check file path/integrity
Process Process-4:
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self.kwargs)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 134, in remove_batch
remove_noise(i)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 116, in remove_noise
image = RGB_clean(image)
^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 31, in RGB_clean
B, G, R = [int(i) for i in get_threshold(image)]
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 17, in get_threshold
pixels = np.array([image[y-1, x-1], image[y-1, x], image[y-1, x+1],
~~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable
[ WARN:[email protected]] global loadsave.cpp:248 cv::findDecoder imread
('./image/train/8000.jpg'): can't open/read file: check file path/integrity
Process Process-5:
Traceback (most recent call last):
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "C:\Program Files\Python312\Lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 134, in remove_batch
remove_noise(i)
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 116, in remove_noise
image = RGB_clean(image)
^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 31, in RGB_clean
B, G, R = [int(i) for i in get_threshold(image)]
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\86182\Desktop\Captcha-Recognition-master\level1\denoise_opencv.py", line 17, in get_threshold
pixels = np.array([image[y-1, x-1], image[y-1, x], image[y-1, x+1],
~~~~~^^^^^^^^^^
TypeError: 'NoneType' object is not subscriptable

test报错

The passed save_path is not a valid checkpoint: ./model/model_level3.ckpt-800
运行test.py报错

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.