Page 1 of 1

Get size and position of image (jpg)

Posted: Mon Mar 06, 2017 1:07 pm
by GHWels
Hello!

I want to get the size, the Position, angle of each image
(e.g. passport on white background)
in a jpg file (picture made with the camera suface or a scanfile)
I did not find a sample

Thank you for your help
mfg GH

Re: Get size and position of image (jpg)

Posted: Tue Mar 07, 2017 10:25 am
by Alex
Hello Gunther,
I want to get the size, the Position, angle of each image
(e.g. passport on white background)
in a jpg file (picture made with the camera suface or a scanfile)
I did not find a sample
The image rotation angle can be found using the Vintasoft.Imaging.ImageProcessing.Info.GetRotationAngleCommand command:
http://www.vintasoft.com/docs/vsimaging ... mmand.html

The image border rectangle can be found using the Vintasoft.Imaging.ImageProcessing.Info.GetBorderRectCommand command:
http://www.vintasoft.com/docs/vsimaging ... mmand.html

Please send us (to support@vintasoft.com) a sample image and we will provide you an example, which allows to detect the border rectangle around the rectangular object (passport) on white background.

Best regards, Alexander