Example Configuration

The following is an example configuration that demonstrates how to detect text in ingested images. The configuration includes a transformation task to draw the region(s) and an encoding task to output the resulting image(s).

[Session]
Engine0=Ingest
Engine1=DetectText
Engine2=DrawRegion
Engine3=EncodeImage
Engine4=Output

[Ingest]
Type=Image

[DetectText]
Type=TextDetection
DetectionThreshold=50

[DrawRegion]
Type=Draw
Input=DetectText.ResultWithSource
Color=Red
Thickness=3

[EncodeImage]
Type=ImageEncoder
ImageInput=DrawRegion.Output
OutputPath=output/%session.token%/%segment.sequence%-%source.filename%

[Output]
Type=Response
Input=DetectText.Result