ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Sheet detection on picture
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

mauriciopt

Portugal
34 Posts

Posted - Apr 09 2020 :  10:28:43  Show Profile  Reply
Hi,

I receive a picture taken by phone device of a sheet in a table (the sheet is a printed invoice). I would like to remove edges from foto in order to keep only the sheet.
Is it possible?

I' m a registered user of ImageEn + IEVision compoenents.

Thanks,
Mauricio

Mauricio
http://sourceforge.net/projects/tcycomponents/

xequte

38222 Posts

Posted - Apr 09 2020 :  22:34:21  Show Profile  Reply
Hi Mauricio

Can you post an example image.

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

mauriciopt

Portugal
34 Posts

Posted - Apr 14 2020 :  05:37:36  Show Profile  Reply
Hi,

in attachment, picture of my sheet.
I want to detect the sheet in the middle (left, right, top and bottom margin).
Regards,



Mauricio
http://sourceforge.net/projects/tcycomponents/
Go to Top of Page

xequte

38222 Posts

Posted - Apr 15 2020 :  17:26:52  Show Profile  Reply
Hi Mauricio

You could try AutoCrop, but I think there is too much going on in the background for it to work well here.

https://www.imageen.com/help/TImageEnProc.AutoCrop.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

mauriciopt

Portugal
34 Posts

Posted - May 06 2020 :  04:35:11  Show Profile  Reply
Hi,

i have tested but not working.
How can i use face recognition code to recognize my sheet?

Regards,

Mauricio
http://sourceforge.net/projects/tcycomponents/
Go to Top of Page

xequte

38222 Posts

Posted - May 07 2020 :  01:51:31  Show Profile  Reply
Hi Mauricio

I don't think that will work. You could try something convert it to monochrome with an appropriate cut-off. That might give you enough to determine the edges of the page (assuming a dark background like above)...

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

mauriciopt

Portugal
34 Posts

Posted - May 13 2020 :  11:34:50  Show Profile  Reply
Hi again,

unfortunately, the background may change (black, white or more difficult, any environment from picture taken by phone device).
Anyway, thanks for your time.

Regards,


Mauricio
http://sourceforge.net/projects/tcycomponents/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: