OpenCV for Unity ver2.1.4 Release!
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
Version 2.1.4
[Common]Changed the scene name.(“Sample” to “Example”) ] [Common]Fixed ArUcoTexture2DExample and ArUcoWebCamTextureExample. [Common]Added ConnectedComponentsExample. [Common]Added GreenScreenExample.Related posts
Dlib FaceLandmark Detector ver1.2.9 Release!
Version 1.2.9 [Common]Added optimization code using NativeArray class. ( require PlayerSettings.allowUnsafeCode flag, “DLIB_USE_UNSAFE_CODE” ScriptingDefineSymbol and Unity2018.2 or later. ) [Common]Added support for Unicode file path ( objectDetectorFilePath and shapePredictorFilePath ). [Common]Added ImageOptimizationHelper to ARHeadWebCamTextureExample. [Common]Added some converter methods to OpenCVForUnityUtils.cs.
- Author: Enox Software
- Category: Update
- Tags: Dlib FaceLandmark Detector
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, […]
- Author: Enox Software
- Category: Tips
- Tags: OpenCV for Unity
OpenCV for Unity ver3.0.0 Release!
Version 3.0.0 [Common]Updated OpenCV to version 4.12.0. [Common]Updated FpsMonitor to version 1.0.4. [visionOS]Updated platform support for VisionOS on Unity 2022.3.18f1 and later (beta). [Android]Updated native library libopencvforunity.so for Android to be compatible with 16KB page size. [Common]Added SafeDrawFrameAxes method to OpenCVARUtils. [Common]Added GetFilePathCoroutine, GetFilePathAsync, and GetFilePathTaskAsync methods to OpenCVEnv. [Common]Added IsDebugMode and IsThrowException methods to OpenCVDebug. [Common]Added TextureToMatAsync, RenderTextureToMatAsync, and MatToRenderTextureAsync methods to OpenCVMatUtils. [Common]Added OpenCVForUnityProjectSizeReducerWindow in EditorWindow. [Common]Added a feature to skip unnecessary downloads in OpenCVForUnityExampleAssetsDownloaderWindow. [Common]Added ImshowDNNBlob method to DebugMat. [Common]Added WeChatQRCodeDetectorImageExample and WeChatQRCodeDetectorExample. [Common]Added HomographyToFindAKnownObjectExample. [Common]Added ObjectDetectionDAMOYOLOExample. [Common]Removed FaceDetectionResnetSSDExample due to incompatibility with the latest OpenCV. [Common]Changed namespaces under org/unity from UnityUtils to UnityIntegration, split Utils class into function-specific classes, and marked old classes as deprecated. [Common]Changed Operator in Mat class to deprecated.
- Author: Enox Software
- Category: Update