How to validate the record with picture or Camera

kmkaotkmkaot Member Posts: 261
dear Friends,

I have photo/picture in Employee card and I want take picture and validate the employee card or get employee record like employee.GET(Picture);

Will you help me with code?/

warm Regards
Kris

Answers

  • EvREvR Member Posts: 178
    I've done this using MSFT's cognitive services.
    https://www.microsoft.com/cognitive-services/en-us/face-api/documentation/Tutorials/FaceAPIinCSharpTutorial

    Not going to give you copy/paste code samples. That should get you where you need to be.
  • kmkaotkmkaot Member Posts: 261
    Thanks , very nice,

    Could tell me how to use this API in Microsoft Dynamics nav 2016,
    Please
    warm regards
    Kris
  • EvREvR Member Posts: 178
    You could use the API directly from c/al code with dotnet variables. But I think you'll need too many extension methods and overloads which will confuse the compiler.
    The easiest way would be to write your own .net assembly that takes an array of existing pictures from nav, along with the employee codes. And then match the input picture with the array in your custom assembly and return the correct employee code to NAV if there's a match.
  • Wisa123Wisa123 Member Posts: 308
    I would love to see this working in action.
    If you don't mind keep us up to date and maybe share code.
    Austrian NAV/BC Dev
Sign In or Register to comment.