The demo shows an example of using a single neural network to detect printed text rotated at any angle in various environment. The corresponding pre-trained model is delivered with the product:
text-detection-0001
, which is a detection network for finding text.On the start-up, the application reads command line parameters and loads one network to the Inference Engine for execution. Upon getting an image, it performs inference of text detection and prints the result as four points (x1
, y1
), (x2
, y2
), (x3
, y3
), (x4
, y4
) for each text bounding box.
Running the application with the -h
option yields the following usage message:
Running the application with the empty list of options yields the usage message given above and an error message.
To run the demo, you can use the following pre-trained and optimized model delivered with the package:
<INSTALL_DIR>/deployment_tools/intel_models/text-detection-0001
For example, use the following command line command to run the application:
The demo uses OpenCV to display the resulting frame with detections rendered as bounding boxes.