Answer the question
In order to leave comments, you need to log in
PHP - circle found text on jpg
Hello!
The situation is as follows - there is a database with full texts of books.
The table with full texts has the following structure:
book_id, page_number, page text
All books also lie on the server and are divided into separate jpg pages.
After searching the database for any key phrase, I get the id of the pages that contain the desired query. And this request needs to be highlighted on the JPG itself, so that a person can immediately see the result.
Here is an example:
books.google.ru/books?hl=en&id=JngJuw9__xsC&q=myths#v=snippet&q=%D0%BC%D0%B8%D1%84%D1%8B&f=false
Any ideas how this can be implemented technically?
Drawing a translucent polygon on a JPG is no problem, but how do you find out the coordinates of the points inside which the phrase is located?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question