How to create text scanner with php and phone camera?

Hello,

How to create app in mobile phone?

App idea: The mobile camera finds the text. If a word is found in the database, a variable for that word appears on the screen.

EXAMPLE:
Text on photo: PHP (recursive acronym for PHP: Hypertext Preprocessor ) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML.

If found in database development
$development = “I found it!”;
TEXT ON SCREEN: I found it!

I don’t know where to start. Please give me info.

you’re gonna have to use something like the google vision api here are the docs mate…

https://cloud.google.com/vision/docs/ocr