コミュニティ

coordinates of regions 回答済み

Hi. Im using flexicapture SDK 11 and extracting by code the coordinates of the "Region.BoundingRectangle"

But Im guessing that those extracted coordinates are relative to the PREPROCESSED/rotated image, so when i try to use those coordinates to the ORIGINAL image (exported by the processor) there's a little offset as the image is rotated

Can i do one of both? export the images after the preprocessing is applied, or geting the preprocess used values (exploring "page.ImageRotation" property maybe?)

UPDATE: found the angle in page.Image.SkewAngle . However there is still some offset, perhaps due to clipping the blank margins of the preprocessed image. Is there any property where i could get that?

 

この記事は役に立ちましたか?

0人中0人がこの記事が役に立ったと言っています

コメント

1件のコメント

  • Avatar
    Permanently deleted user

    Finally solved it using ConvertCoordinates()

    page.Image.ConvertCoordinates(ImageTypeEnum.IT_Modified, ImageTypeEnum.IT_Base, ref x, ref y);
    
    0

サインインしてコメントを残してください。