OpenCV for Unity ver1.2.9 Release!
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
Version: 1.2.9
[Common]Added fastTexture2DToMat() and fastMatToTexture2D().
[Common] Renewed the samples using WebCamTextureToMatHelper.(Supports all screen orientation.)
[Common] Added Beta13 Version of “OpenCV for Untiy” based on “OpenCV3.0.0”.
Related posts
OpenCV for Unity ver2.5.2 Release!
2.5.2 [Common]Added YOLOv4ObjectDetectionExample, YOLOv7ObjectDetectionExample, YOLOXObjectDetectionExample and NanoDetPlusObjectDetectionExample. [Common]Updated HandPoseEstimationExample, ArUcoExample, ArUcoWebCamExample and ArUcoCameraCalibrationExample.
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
OpenCV for Unity ver1.2.8 Release!
Version: 1.2.8 [iOS]Fixed malloc_error that occurs in Unity5.3.1p2. [Common]Added Beta12 Version of “OpenCV for Untiy” based on “OpenCV3.0.0”.
- 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=[221, 142; 83, 166; 251, 29] mat8=[120, 103; 113, 114; 127, 142] 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=0x2099858798224, dataAddr=0x2103909637248 ] mat1.dump()=[ 1, 1, 1; 1, 1, 1; 1, 1, 1] mat2=Mat [ 3*3*CV_8UC4, isCont=True, isSubmat=False, nativeObj=0x2099858796096, dataAddr=0x2099199193152 ] 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