Function cvcudaMinAreaRectCreate

Function Documentation

NVCVStatus cvcudaMinAreaRectCreate(NVCVOperatorHandle *handle, int maxContourNum)

Constructs and an instance of the MinAreaRect operator.

Parameters:
  • maxContourNum[in] max numbers of contour

  • handle[out] Where the image instance handle will be written to.

    • Must not be NULL.

Return values:
  • NVCV_ERROR_INVALID_ARGUMENT – Handle is null.

  • NVCV_ERROR_OUT_OF_MEMORY – Not enough memory to create the operator.

  • NVCV_SUCCESS – Operation executed successfully.