PlayMakerActions for OpenCVforUnity 1.0.0 is now available.
- Author: Enox Software
- Category: News
- Tags: OpenCV for Unity
PlayMakerActions for OpenCVforUnity 1.0.0 is now available.
https://www.assetstore.unity3d.com/#!/content/94516
Related posts
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.5.0 Release!
Version 2.5.0 [Common]Added TransformECCExample, HumanSegmentationExample and ImageClassificationPPResnetExample.v [Common]Update TextOCRWebCamExample. [Common]Changed the setup procedure to use the SetupToolsWindow. [Common]Change the namespase under “OpenCVForUnity/Editor” folder from “OpenCVForUnity” to “OpenCVForUnity.Editor”. [Common]Added the ExampleAssetsDownloaderWindow that automatically downloads the necessary files to Examples. [Common]Added “OpenCVForUnity” folder under “StreamingAssets” folder. [Common]Added function to automatically move the StreamingAssets folder. [WebGL]Added Unity2022.2 or later support.
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
Mat Basic Processing1
These codes are included in the OpenCVForUnity Example Unity scenes. (MatBasicProcessingExample) Initialization Example Code: Execution Result: mat1=[1, 2, 3; 4, 5, 6; 7, 8, 9] mat2=[0.8660254037844387, -0.4999999999999999; 0.4999999999999999, 0.8660254037844387] mat3=[1, 1, 1, 1, 1; 1, 1, 1, 1, 1; 1, 1, 1, 1, 1; 1, 1, 1, 1, 1; 1, 1, 1, 1, 1] mat4=[0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0; 0, 0, 0, 0, 0] mat5=[1, 0, 0, 0, 0; 0, 1, 0, 0, 0; 0, 0, 1, 0, 0; 0, 0, 0, 1, 0; 0, 0, 0, 0, 1] mat6=[5, 5, 5; 5, 5, 5; 5, 5, 5] mat7=[246, 156; 192, 7; 165, 231] mat8=[124, 140; 125, 122; 131, 133] mat9.dims=4 mat9.rows=-1 //When the matrix is more than 2-dimensional, the returned size is (-1, -1). mat9.cols=-1 Multi Channel Example Code: Execution Result: mat1 dim:2 elemSize1:8 channels:1 mat2 dim:2 elemSize1:8 channels:10 mat3 dim:4 elemSize1:8 channels:1 Dump Example Code: Execution Result: mat1=Mat [ 3*3*CV_8UC1, isCont=True, isSubmat=False, nativeObj=0x793787296, dataAddr=0x794435328 ] mat1.dump()=[ 1, 1, 1; 1, 1, 1; 1, 1, 1] mat2=Mat [ 3*3*CV_8UC4, isCont=True, isSubmat=False, nativeObj=0x793789648, dataAddr=0x799875584 ] mat2.dump()=[ 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4; 1, 2, 3, 4, 1, 2, 3, 4, 1, 2, 3, 4; 1, 2, 3, 4, 1, […]
- Author: Enox Software
- Category: Tips
- Tags: OpenCV for Unity