and for the logic part, we have creating a DLL using OpenCV + dlib. It is called from Unity as a DLL.