OpenCV for Unity ver2.2.6 Release!
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
Version 2.2.6
[Android]Added arm64-v8a Architecture. [Common]Added ImwriteScreenCaptureExample.Related posts
OpenCV for Unity ver1.2.7 Release!
Version: 1.2.7 [Common] Added Beta11 Version of “OpenCV for Untiy” based on “OpenCV3.0.0”(Added mjpeg format support in VideoCapture class).
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
Dlib FaceLandmark Detector ver2.0.0 Release!
Version 2.0.0 [Common]Updated FpsMonitor to version 1.0.4. [visionOS]Updated beta support for the VisionOS platform on Unity 2022.3.18f1 and later. [Android]Updated native library libdlibfacelandmarkdetector.so for Android to be compatible with 16KB page size. [Common]Removed CatDetectionExample. [Common]Changed namespace of the Utils class from UnityUtils to UnityIntegration, split into function-specific classes, and marked old classes as deprecated. [Common]Changed moved the OpenCVForUnityUtils class bundled with DlibFaceLandmarkDetectorWithOpenCVExample to the main Dlib module as DlibOpenCVUtils. [Common]Changed return types of DetectValueTuple and DetectLandmark to List. [Common]Changed removed the Extra folder. [Common]Changed increased the resolution of video files used for examples. [Common]Added overloads of GetDetectResult and GetDetectLandmarkResult methods that accept Span. [Common]Added overloads of the DrawFaceLandmark method that support ReadOnlySpan, ReadOnlySpan, and ReadOnlySpan. [Common]Added IsDebugMode and IsThrowException methods to DlibDebug. [Common]Added GetFilePathCoroutine, GetFilePathAsync, and GetFilePathTaskAsync methods to DlibEnv.
- Author: Enox Software
- Category: Update
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