Mat Basic Processing2
These codes are included in the OpenCVForUnity Example Unity scenes. (MatBasicProcessingExample) Shallow copy and deep copy Example Code: Execution Result: mat1=[1, 2, 3; 4, 5, 6; 7, 8, 9] m_shallow=[1, 2, 3; 4, 5, 6; 7, 8, 9] m_deep1=[1, 2, 3; 4, 5, 6; 7, 8, 9] m_deep2=[1, 2, 3; 4, 5, 6; 7, 8, 9] mat1=[100, 2, 3; 4, 5, 6; 7, 8, 9] m_shallow=[100, 2, 3; 4, 5, 6; 7, 8, 9] m_deep1=[1, 2, 3; 4, 5, 6; 7, 8, 9] m_deep2=[1, 2, 3; 4, 5, 6; 7, 8, 9] mat1.Equals(m_shallow)=True mat1.Equals(m_deep1)=False mat1.Equals(m_deep2)=False Merge Example Code: Execution Result: m_merged=[1, 1.1, 1.2, 2, 2.1, 2.2; 3, 3.1, 3.2, 4, 4.1, 4.2] MixChannels Example Code: Execution Result: m_mixed1=[1, 1.1, 2, 2.1; 3, 3.1, 4, 4.1] m_mixed2=[1.2, 1.1, 2.2, 2.1; 3.2, 3.1, 4.2, 4.1] Split Example Code: Execution Result: [1, 4, 7; 10, 13, 16] [2, 5, 8; 11, 14, 17] [3, 6, 9; 12, 15, 18] Reduce Example Code: Execution Result: m1=[1, 5, 3; 4, 2, 6; 7, 8, 9] v1(sum)=[12, 15, 18] v2(avg)=[4, 5, 6] v3(min)=[1, 2, 3] v4(max)=[7, 8, 9] m1=[1, 5, 3; 4, 2, 6; 7, 8, 9] v1(sum)=[9; 12; 24] v2(avg)=[3; 4; 8] v3(min)=[1; 2; 7] v4(max)=[5; 6; 9] RandShuffle Example Code: Execution Result: m1(original)=[1, 2, 3, 4, 5; 6, 7, 8, 9, 10; 11, 12, […]
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, […]
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.
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.
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.)
OpenCV for Unity ver2.2.2 Release!
Version 2.2.2[Common]Added TextRecognitionExample.
OpenCV for Unity ver2.2.1 Release!
Version 2.2.1[Common]Updated to OpenCV3.3.0.[Common]Added dnn module.(win,mac,ios,android platform)[Common]Added img_hash, reg, text module.(all platform)[Common]Added MobileNetSSDExample, MobileNetSSDWebCamTextureExample, TensorFlowWebCamTextureExample, ThinPlateSplineShapeTransformerExample, TextDetectionExample, VideoWriterExample.[Common]WindowsStoreApp8.1 & WindowsPhone8.1 support have been deprecated.
FaceMask Example 1.0.3 is now available.
FaceMask Example 1.0.3 is now available.https://t.co/Bep5EOPGgD