Open topic with navigation

# Obtain Images for Training

Vehicle model recognition performs best when vehicles are moving towards the camera, and the front of the vehicle is visible in the video.

To obtain training images, you can run vehicle model identification on a sample video and output the result images to the image encoder. The vehicle model analysis engine requires as input either the `DataWithSource` or `ResultWithSource` track from a number plate analysis task. Before you output images using the image encoder, configure a `Crop` transform task so that the images are cropped to the region identified by the vehicle model analysis engine.

For example, you could use the following configuration:

    [Ingest]
    IngestEngine=libav

    [libav]
    Type=libav

    [Analysis]
    AnalysisEngine0=ANPR
    AnalysisEngine1=VehicleModel

    [ANPR]
    Type=numberplate
    Location=uk

    [VehicleModel]
    Type=vehiclemodel
    Input=ANPR.DataWithSource

    [Transform]
    TransformEngine0=Crop

    [Crop]
    Type=Crop
    Input=VehicleModel.ResultWithSource

    [Encoding]
    EncodingEngine0=VehicleImages

    [VehicleImages]
    Type=ImageEncoder
    ImageInput=Crop.Output
    OutputPath=./training/image-%segment.sequence%.png

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE 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 AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm