OpenCV for Unity ver2.5.3 Release!
- Author: Enox Software
- Category: Update
- Tags: OpenCV for Unity
Version 2.5.3
[Common]Added HandPoseEstimationExample and FacialExpressionRecognitionExample.
Related posts
PlayMakerActions for OpenCVforUnity 1.0.0 is now available.
PlayMakerActions for OpenCVforUnity 1.0.0 is now available.https://www.assetstore.unity3d.com/#!/content/94516
- Author: Enox Software
- Category: News
- Tags: OpenCV for Unity
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