Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ocr-config . and training #8

Open
MyraBaba opened this issue Oct 5, 2017 · 2 comments
Open

ocr-config . and training #8

MyraBaba opened this issue Oct 5, 2017 · 2 comments

Comments

@MyraBaba
Copy link

MyraBaba commented Oct 5, 2017

I have below errors:


Traceback (most recent call last):
  File "/Users/alpullu/PycharmProjects/ImageTextRecognition/main.py", line 42, in <module>
    data = OcrData('ocr-config.py')
  File "/Users/alpullu/PycharmProjects/ImageTextRecognition/data.py", line 55, in __init__
    self.load()
  File "/Users/alpullu/PycharmProjects/ImageTextRecognition/data.py", line 185, in load
    print 'Loaded {} images each {} pixels'.format(self.ocr['images'].shape[0], self.img_size)
TypeError: 'Pipeline' object has no attribute '__getitem__'

data = OcrData('ocr-config.py')

can you give a full example :) for training and ocr-config parameters and their respective files ?

thx

@chitransh1998
Copy link

Hey I needed the same help for my project.
@MyraBaba did you get any replies for the same?
If yes then please help me with it.
Thankyou:)

@MyraBaba
Copy link
Author

unfortunately didn't get any feedback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants