Add WebGL platform Supports!
With this update, it is now possible to develop WebGL applications that users can easily play with web browsers.
Although it is currently in beta version, it seems that the main functions are working without problems.
It works with Unity 5.3 or later.
Click To Start
- Put a file that you want to use for the Utils.getFilePathAsync() in the “Aseets/StreamingAssets/” folder. In Case of WebGL platform, you need to use the Utils.getFilePathAsync() instead of the Utils.getFilePath(). (The haarcascade_frontalface_alt.xml is for OpenCVForUnityExample’s scenes. Please copy only when necessary)
- On the WebGL platform (asm.js), the calculation result of Float type may be significantly different from other platforms. When using the OpenCV’s method that use the Mat class (CvType is CV_32F) as an argument, you need to pay attention to the calculation precision.
Please try experiencing WebGL development.