Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, October 7, 2021 3:22:56 PM(UTC)

RDS76  
RDS76

Groups: Registered
Posts: 2


Problem:
A truck driver has to take a picture of a document with his phone.
Need to detect if picture contains all 4 corners of a document ad if not warn driver to take another picture
Question: how to detect that picture contains all 4 corners of a document.
I am using Imaging SDK V 21 with Xamarin for Android.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, October 8, 2021 11:38:10 AM(UTC)
Matthew Bresson

Groups: Registered, Tech Support, Administrators
Posts: 105

Was thanked: 3 time(s) in 3 post(s)

Hello Radu,

We do offer this functionality using the Xamarin Camera Control accompanied by the FrameReceived(or PictureReceived) event and the DetectDocumentCommand class.
https://www.leadtools.co...tectdocumentcommand.html
https://www.leadtools.co...aview-framereceived.html
The DetectDocumentCommand class is used to detect and return the points of a document's edges in frame.

Essentially for each frame or picture received by the Xamarin Camera Control, you can take the RasterImage and pass it inside the DetectDocumentCommand class, and if the points are not null that means the document should be in frame. If it is null you can then add a message saying the picture needs to be retaken.

If you have any questions on the information above information, please feel free to reach back out to me.

Thanks,
Matt Bresson
Developer Support Engineer
LEAD Technologies, Inc.
LEADTOOLS
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.065 seconds.