Like B Birajdar said, this is not a trivial thing so it will also not be cheap if you want a quick solution.
If you want an idea of what is involved, then
this[
^] is a reasonably good page to read. It is for a specific commercial product, but it shows clearly why you will likely need a commercial back-end sdk if you want this to happen in any reasonable amount of time.