#1
Posted
:
Thursday, October 7, 2021 3:22:56 PM(UTC)
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.
#2
Posted
:
Friday, October 8, 2021 11:38:10 AM(UTC)
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.htmlhttps://www.leadtools.co...aview-framereceived.htmlThe 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.
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.