OpenCV for Unity ver2.1.8 Release!

Version 2.1.8[Common]Added PCAExample.[Common]Updated WebCamTextureToMatHelper.cs and OptimizationWebCamTextureToMatHelper.cs(Changed several method names.).

OpenCV for Unity ver2.1.7 Release!

Version 2.1.7[Common]Improved Utils.getFilePath() and Utils.getFilePathAsync().[Common]Improved WebCamTextureAsyncDetectFaceExample.cs.[Common] Fixed the const value of Calib3d class.

OpenCV for Unity ver2.1.5 Release!

Version 2.1.5[Common]Updated to OpenCV3.2.0.[Common]Added fuzzy, phase_unwrapping, saliency, shape, tracking module.[Common]Added TrackingSample.[iOS]Added for build size reduction.[Android]Added for build size reduction.

OpenCV for Unity ver2.1.4 Release!

Version 2.1.4 [Common]Changed the scene name.(“Sample” to “Example”) ] [Common]Fixed ArUcoTexture2DExample and ArUcoWebCamTextureExample. [Common]Added ConnectedComponentsExample. [Common]Added GreenScreenExample.

OpenCV for Unity ver2.1.1 Release!

Version 2.1.1[Common]Fixed OpenCVForUnityMenuItem.cs.(No valid name for platform: 11 Error)[Common]Added Utils.textureToTexture2D() method.[Common]Added Mat class operators. [Common] Added PolygonFilterSample.

Way to translation of Mat class operators defined in C++

This is a list of implemented matrix operations that can be combined in arbitrary complex expressions (here A, B stand for matrices ( Mat ), s for a scalar ( Scalar ), alpha for a real-valued scalar ( double )): In c#, it is not possible to explicitly overload compound assignment operators such as “A *= B“. Instead, binary operator overloading is used implicitly. Therefore, whenever an operator is used, a new mat is created and assigned.  c++OpenCVForUnity(C#)Addition, subtraction, negation: A+B, A-B, A+s, A-s, s+A, s-A, -AA + BM1 + M2Core.add (M1, M2, M_dst)A – BM1 – M2Core.subtract (M1, M2, M_dst)A + sM1 + sCore.add (M1, s, M_dst)A – sM1 – sCore.subtract (M1, s, M_dst)-A-M1Core.multiply (M1, Scalar.all (-1), M_dst)Scaling: A*alpha A/alphaA * αM1 * 3Core.multiply (M1, Scalar.all (3), M_dst)A / αM1 / 3Core.divide (M1, Scalar.all (3), M_dst)Per-element multiplication and division: A.mul(B), A/B, alpha/AA.mul(B)M1.mul(M2)M1.mul (M2)A / BM1 / M2Core.divide (M1, M2, M_dst)α / A3 / M1Core.divide (new Mat (M1.size (), M1.type (), Scalar.all (3)), M1, M_dst)Matrix multiplication: A*BA * BM1 * M2Core.gemm (M1, M2, 1, new Mat (), 0, M_dst)Comparison: A cmpop B, A cmpop alpha, alpha cmpop A, where cmpop is one of :  >, >=, ==, !=, <=, <. The result of comparison is an 8-bit single channel mask whose elements are set to 255 (if the particular element or pair of elements satisfy the condition) or […]