DEV Community

reactjslearner
reactjslearner

Posted on

JS, HTML code integration in one of the navigation pages in android app code

Hi,

I have an android application developed which is basically a virtual try on for jewelry.

Till now the tech stack i used is react-native and for the main logic implementation used python whereas java acts as controller between react native and python.

But now the challenge is for appending the jewelry i used to record a video and store it in local drive so that python would process that and will return video again with appended earring.

Now i came to know about this JAVASCRIPT implementation of FACE LANDMARKS DETECTION(Github link:https://github.com/WebDevSimplified/Face-Detection-JavaScript), where it will
stream a live video and i modified the code accordingly so that it will append the earring to the live video canvas.

The problem i am facing is as a fresher to front end, i am not getting how to integrate the above mentioned js project in my current android application.

I tried creating new java script file and pasted the code in the above mentioned project and gave this page as navigation....but haven't succeeded.

I am looking for the help where i could integrate the java script files and html files after some particular screen in my android project.

Thanks in advance.

Top comments (0)