This pipeline implements text detection (EAST) followed by optical character recognition of the detected text. It implements issue #124.
This example uses the Gen2 Pipeline Builder, so make sure to install the requirements below to make sure the appropriate Gen2 API version.
python3 -m pip install -r requirements.txt
After installing the requirements, running this pipeline is as simple as:
python3 main.py
Upon running, you can point this at text of interest to get the detection and the resultant text in the detected areas (and the locations of the text in pixel space).
Note that the more text in the frame, the slower the network will run - as it is running OCR on every detected region of text.
And you will see this variance in the examples below: