Skip to content

ocr-config . and training #8

@MyraBaba

Description

@MyraBaba

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions