Example Configuration
The following diagram shows a simple configuration for performing OCR on a video stream and sending the results to IDOL Server. The setup includes an ingest engine, an analysis engine, and an output engine. These are usually the minimum required for any configuration.
- Media Server receives a
Process
action, which starts a new session. The Video ingest engine receives video from the source specified in the action. It produces an image track and audio track. - The image track is used as the input for the OCR analysis engine.
- The audio track cannot be used by the OCR analysis engine so is discarded.
- The OCR engine produces several output tracks. The Result track contains the OCR results and is used as the input for the IDOL output task.
- The other tracks produced by the OCR engine are not required and so are discarded.
- The IDOL output engine indexes the data produced by Media Server into IDOL.
A Media Server configuration that matches this process is shown below.
- The
OCR
task includes the parameterInput=Default_Image
, which specifies that the input for the OCR task is the first image track from the ingest engine. Setting this parameter is optional, because the default value of theInput
parameter for engines that require images isDefault_Image
. - The
IDOLOutput
task includes the parameterInput=OCR.Result
. This specifies that the input for the IDOL output task is theResult
track from theOCR
task.
[Session] Engine0=Ingest Engine1=OCR Engine2=IDOLOutput [Ingest] Type=Video [OCR] Type=OCR Input=Default_Image [IDOLOutput] Input=OCR.Result Type=IDOL Mode=time OutputInterval=60s XslTemplate=./xsl/toIDX.xsl