OpenCV for Unity ver2.2.8 Release!
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
Version 2.2.8
[Common]Updated to WebCamTextureToMatHelper.cs v1.0.7. [Common]Added MatBasicProcessingExample. [Common]Fixed WebCamTextureToMatExample, WebCamTextureToMatHelperExample, ArUcoExample. [Common]Added flip flag to Utils.fastMatToTexture2D() method and Utils.fastTexture2DToMat() method. [Common]Added throwException flag to Utils.setDebugMode() method.Related posts
Add WebGL platform Supports!
A new target platform has been added to our Unity Asset “OpenCVForUnity” and “DlibFaceLandmarkDetector“. 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. Demo Application Click To Start Development Tips 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.
- Author: Enox Software
- Category: News
- Tags: OpenCV for Unity
OpenCV for Unity ver2.6.4 Release!
Version 2.6.4 [Common] Added various data access methods to the Mat class, including ptr(), at(), AsSpan(), and AsSpanRowRange(). [Common] Updated get() and set() methods in the Mat class to support Span and generics, and updated MatUtils.copyFromMat() and MatUtils.copyToMat() to support Span. [Common] Added structs and ValueTuples corresponding to the data formats of basic OpenCV classes, and created overloads for methods that use these basic classes as arguments, allowing the use of structs and ValueTuples instead. This update simplifies code, enables more efficient memory usage, and improves data access speed. [Common] Added Utils.getFilePathAsyncTask() and Utils.getMultipleFilePathsAsyncTask() methods. It is an asynchronous Task return version of the existing Utils.getFilePathsAsync() method. It can be seamlessly integrated with other asynchronous code. [Common] Added Utils.texture2DToMatRaw() and Utils.matToTexture2DRaw() methods. [Common] Added methods for conversion between Mat and RenderTexture using ComputeShader (Utils.matToRenderTexture(), Utils.renderTextureToMat()). [Common] Added the WebCamTexture2MatAsyncGPUHelper class. [Common] Updated the DebugMatUtils class to support displaying Texture2D and RenderTexture. [Common] Added a face blurring feature to FaceDetectorYNExample. [iOS] Fixed an issue where AddToEmbeddedBinaries was processed redundantly with each incremental build.
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
OpenCV for Unity ver2.1.9 Release!
Version 2.1.9[WebGL]Fixed Utils.getFilePathAsync() method.
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity