public class

FritzVisionStyleTransfer

extends Object
java.lang.Object
   ↳ ai.fritz.fritzvisionstyle.FritzVisionStyleTransfer

Class Overview

FritzVisionStyleTransfer gets the predictor for the specified style.

Each ArtisticStyle has it's own predictor.

Summary

Public Constructors
FritzVisionStyleTransfer()
Public Methods
static FritzVisionStylePredictor getCustomPredictor(CustomModel settings, FritzVisionStylePredictorOptions options)
Get a custom style transfer predictor.
static FritzVisionStylePredictor getCustomPredictor(CustomModel settings)
Gets a custom predictor.
static FritzVisionStylePredictor getPredictor(ArtisticStyle artisticStyle)
Get the predictor by the artistic style.
static FritzVisionStylePredictor getPredictor(ArtisticStyle artisticStyle, FritzVisionStylePredictorOptions options)
Get the predictor by the artistic style.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public FritzVisionStyleTransfer ()

Public Methods

public static FritzVisionStylePredictor getCustomPredictor (CustomModel settings, FritzVisionStylePredictorOptions options)

Get a custom style transfer predictor.

Must pass in the path to a TensorFlow protobuf file.

public static FritzVisionStylePredictor getCustomPredictor (CustomModel settings)

Gets a custom predictor.

Defaults to the normal resolution.

public static FritzVisionStylePredictor getPredictor (ArtisticStyle artisticStyle)

Get the predictor by the artistic style.

Defaults to normal resolution.

Returns
  • a predictor for the given style.

public static FritzVisionStylePredictor getPredictor (ArtisticStyle artisticStyle, FritzVisionStylePredictorOptions options)

Get the predictor by the artistic style.

Defaults to normal resolution.

Returns
  • a predictor for the given style.