Click or drag to resize

Cv2ImRead Method

Loads an image from a file.

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public static Mat ImRead(
	string fileName,
	ImreadModes flags = ImreadModes.Color
)

Parameters

fileName
Type: SystemString
Name of file to be loaded.
flags (Optional)
Type: OpenCvSharpImreadModes
Specifies color type of the loaded image

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.Cv2.ImRead(System.String,OpenCvSharp.ImreadModes)"]

See Also