We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello I can't get coordinates for my text "green-color-2-2-2". My Script returns "Red green-color-2-2-2"
import pdfquery import sys sys.setrecursionlimit(2000) pdfpath = sys.argv[1] inputstr = sys.argv[2] page = int(sys.argv[3]) pdf = pdfquery.PDFQuery(pdfpath) pdf.load(page) label = pdf.pq('LTTextLineHorizontal:contains("'+inputstr+'")')[0].layout print(label)
response
<LTTextLineHorizontal 167.320,142.577,244.579,157.770 u'Red green-color-2-2-2\n'>
How to get the text I need?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello
I can't get coordinates for my text "green-color-2-2-2". My Script returns "Red green-color-2-2-2"
response
How to get the text I need?
The text was updated successfully, but these errors were encountered: