FaceMatchLiteRtModel
data class FaceMatchLiteRtModel(val modelData: ByteString, val imageSquareSize: Int, val embeddingsArraySize: Int)
Data class for the the platform independent LiteRT model handling.
Parameters
modelData
The LiteRT model file data need to be extracted on the client side to the ByteString from the FlatBuffer mode file. The compatible model file for LiteRT can be obtained from GitHub project or converted from other models available online (see https://ai.google.dev/edge/litert for more details on that).
imageSquareSize
The input image (square) size in pixels. Dictated by the particular Model capabilities.
embeddingsArraySize
The size of the embeddings array produced by the particular Model.