SamEdwardes/spacypdfreader

Support image(s) to spacy

Opened this issue · 0 comments

Support the ability to convert image(s) into a spaCy Doc object. For example:

import spacy
from spacypdfreader import image_reader

nlp = spacy.load("en_core_web_sm")
doc = image_reader(["tests/data/test_img_01.jpg"], nlp)