Content Management and Capture

 View Only

Error with DetermineOMRThreshold() action

  • 1.  Error with DetermineOMRThreshold() action

    Posted 23 hours ago

    Hi,

    I am getting below error with the action DetermineOMRThreshold() for Check Boxes on the form.

    Exception in GetBlackPixelCountBMP counting pixels. Reason: Parameter must be positive and < Height.
    Parameter name: y Details: System.ArgumentOutOfRangeException: Parameter must be positive and < Height.
    Parameter name: y
       at System.Drawing.Bitmap.GetPixel(Int32 x, Int32 y)
       at SharedRecognitionTools.Actions.GetBlackPixelCountBMP(Bitmap bmp, Int32 width, Int32 height, Int32 left, Int32 top, Int32 right, Int32 bottom).

    I am trying different values for the Threshold and Background, but getting the same error. 

    Need help in resolving the error. Attached is the rrs log.

    Thanks

    Raj Chenna



    ------------------------------
    Raj Chenna
    ------------------------------