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, […]
OpenCV for Unity ver2.2.7 Release!
Version 2.2.7 [Common]Updated to OpenCV3.4.1. [Common]Added OpenPoseExample, KalmanFilterExample, ArUcoCameraCalibrationExample. [Common]Fixed VideoWriterExample, VideoCaptureExample, ImwriteScreenCaptureExample, CamShiftExample, TrackingExample, HandPoseEstimationExample, ArUcoCreateMarkerExample, ArUcoExample, ArUcoWebCamTextureExample. [Common] Updated to WebCamTextureToMatHelper.cs v1.0.6.
Dlib FaceLandmark Detector ver1.1.9 Release!
Version 1.1.9 [Android]Added arm64-v8a Architecture. /
OpenCV for Unity ver2.2.6 Release!
Version 2.2.6 [Android]Added arm64-v8a Architecture. [Common]Added ImwriteScreenCaptureExample.
OpenCV for Unity ver2.2.5 Release!
Version 2.2.5[Common] Updated to WebCamTextureToMatHelper.cs v1.0.4.[Common] Fixed MobileNetSSDExample and MobileNetSSDWebCamTextureExample.
Dlib FaceLandmark Detector ver1.1.8 Release!
Version 1.1.8[Common]Updated WebCamTextureExample.(support Portrait ScreenOrientation)[Common]Updated to WebCamTextureToMatHelper.cs v1.0.4.
OpenCV for Unity ver2.2.4 Release!
Version 2.2.4[Common]Updated to OpenCV3.3.1.[Common]Added ResnetSSDFaceDetectionExample, YoloObjectDetectionExample, YoloObjectDetectionWebCamTextureExample.
OpenCV for Unity ver2.2.3 Release!
Version 2.2.3[Common]Updated to WebCamTextureToMatHelper.cs v1.0.3.[iOS]opencv2.framework is changed from static framework to embededd framework. (Target minimum iOS Version must be set to 8.0 or higher.)
Dlib FaceLandmark Detector ver1.1.7 Release!
Version 1.1.7[Common]Updated “human_face_68_sp.dat” and “human_face_68_sp_for_mobile.dat”.
Dlib FaceLandmark Detector ver1.1.6 Release!
Version 1.1.6[Common]Updated to dlib19.7.[Common]Updated to WebCamTextureToMatHelper.cs v1.0.3.[Common]Updated “human_face_68_sp.dat” and “human_face_68_sp_for_mobile.dat”.