turicreate.one_shot_object_detector.util.preview_synthetic_training_data

turicreate.one_shot_object_detector.util.preview_synthetic_training_data(data, target, backgrounds=None, verbose=True, **kwargs)

A utility function to visualize the synthetically generated data.

Parameters:
data : SFrame | tc.Image

A single starter image or an SFrame that contains the starter images along with their corresponding labels. These image(s) can be in either RGB or RGBA format. They should not be padded.

target : string

Name of the target (when data is a single image) or the target column name (when data is an SFrame of images).

backgrounds : optional SArray

A list of backgrounds used for synthetic data generation. When set to None, a set of default backgrounds are downloaded and used.

verbose : bool optional

If True, print progress updates and details.

Returns:
out : SFrame

An SFrame of sythetically generated annotated training data.