Sets the input width of a frame in pixels.


int mira_SetInputWidth(mrkernelpmr, int width);


Parameters:

  • pmr: A pointer to the runtime kernel returned by mira_Init.
  • width: The new input width of a frame in pixels.


Return value:

MIRA_OK (0) or an error code.


Description:

mira_SetInputWidth will change the input width of a frame, this is useful in case a model was created with the full spatial range, but the input will now only use a smaller spatial region of interest. It requires that a model has been loaded using mira_LoadModel.