ImageProcessor(deviceId=0)

Function Usage

Constructor of the ImageProcessor class. If the construction fails due to insufficient memory or an unidentified processor, a runtime exception occurs.

Input Parameter Description

Parameter

Type

Description

deviceId

int

Processor deployed for image processing. The default value is 0.

Value range: [0, Number of identified processors - 1].

Output Parameter Description

ImageProcessor objects.