Open topic with navigation

# Read Barcodes

To read barcodes

1. Create a new configuration to send to Media Server with the `process` action, or open an existing configuration that you want to modify.

2. In the `[Session]` section, add a new analysis task by setting the `EngineN` parameter. You can give the task any name, for example:

       [Session]
       Engine0=Ingest
       Engine1=Barcodes

3. Create a new configuration section to contain the task settings and set the following parameters:

   `Type` | The analysis engine to use. Set this parameter to `barcode`.
   `Input` | (Optional) The image track to process. If you do not specify an input track, Media Server processes the first track of the correct type that is produced by the ingest engine.
   `Orientation` | (Optional) The orientation of barcodes in the ingested media. If barcodes might appear at an orientation other than upright, set this parameter to `any`. Media Server will automatically detect the orientation (from 90-degree rotations, not arbitrary angles).
   `Region` | (Optional) To search for barcodes in a region of the image, instead of the entire image, specify the region to search.
   `RegionUnit` | (Optional) By default, the `Region` parameter specifies the size and position of a region using percentages of the frame dimensions. Set the `RegionUnit` parameter to `pixel` if you want to use pixels instead.

   For example:

       [Barcodes]
       Type=barcode
       Orientation=any

   For more information about the parameters that you can use to configure this task, refer to the Media Server Reference.

4. Save and close the configuration file. Micro Focus recommends that you save your configuration files in the location specified by the `ConfigDirectory` parameter.

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm