FME Transformers: 2024.2

Categories
Rasters
Related Transformers
RasterObjectDetector
RasterObjectDetectorSampleGenerator
RasterObjectDetectorSamplePreparer

RasterObjectDetectionModelTrainer

Trains a custom raster object detection model based on the positive and negative samples.

Typical Uses

Trains a custom raster object detection model based on the positive and negative datasets. The resulting model file can be used to detect the desired object using RasterObjectDetector. For convenience, you may get the input datasets from RasterObjectDetectorSamplePreparer that takes multiple positive samples and a number of negative samples for preparation. Or you may generate artificial samples using RasterObjectDetectorSampleGenerator (note that artificially generated samples usually perform worse than hand-picked ones)

Note that the transformer calls an external (opencv_traincascade) process to perform the model training. At the moment, if translation is suspended or stopped, the opencv_traincascade process is going to remain running and will need to be killed manually.

Configuration

Input Ports

Output Ports

Parameters

Editing Transformer Parameters

Transformer parameters can be set by directly entering values, using expressions, or referencing other elements in the workspace such as attribute values or user parameters. Various editors and context menus are available to assist. To see what is available, click beside the applicable parameter.

For more information, see Transformer Parameter Menu Options.

FME Community

The FME Community has a wealth of FME knowledge with over 20,000 active members worldwide. Get help with FME, share knowledge, and connect with users globally.

Search for all results about the RasterObjectDetectionModelTrainer on the FME Community.