Click or drag to resize

InceptionRecognize Method

https://www.emgu.com
Load the file, ran it through the mobile net graph and return the recognition results

Namespace:  Emgu.TF.Lite.Models
Assembly:  Emgu.TF.Lite.Models (in Emgu.TF.Lite.Models.dll) Version: 2.19.0.1709+574f567263f3c76bb77304b9eeb79ab6660ba101
Syntax
public InceptionRecognitionResult[] Recognize(
	string imageFile,
	int width = 299,
	int height = 299,
	float mean = 0f,
	float scale = 0.003921569f,
	bool flipUpsideDown = false,
	bool swapBR = true
)

Parameters

imageFile
Type: SystemString
The image to be loaded
width (Optional)
Type: SystemInt32
The width of the input tensor
height (Optional)
Type: SystemInt32
The height of the input tensor
mean (Optional)
Type: SystemSingle
The mean to be subtracted when converting the image to input tensor
scale (Optional)
Type: SystemSingle
The scale to be multiplied when converting the image to input tensor
flipUpsideDown (Optional)
Type: SystemBoolean
If true, the image will be flipped upside down when it is converted to input tensor
swapBR (Optional)
Type: SystemBoolean
If true, the blue and red channel will be swapped when converting the image to input tensor

Return Value

Type: InceptionRecognitionResult
The recognition result sorted by probability
See Also