2024年5月4日发(作者:)

OpenCV for Unity 1.2.3

iOS & Android support

Win & Mac Standalone support(if Unity4,Pro only)

Support for preview in the Editor(if Unity4,Pro only)

Work with Unity Free & Pro

System Requirements

Build Win Standalone & Preview Editor : Windows7 or later

Build Mac Standalone & Preview Editor : OSX 10.8 or later

OpenCV for Unity is an Assets Plugin for using OpenCV from within Unity.

 Since this package is a clone of OpenCV Java, you can use as it is all the API

Reference OpenCV Java 2.4.11 (link). (“d” and “SURF and SIFT

of es2d” are excluded)

 You can image processing in real-time by using the WebCamTexture capabilities of

Unity. (real-time face detection works smoothly in iPhone 5)

 Provides a method to interconversion of Unity's Texture2D and OpenCV's Mat.

 Includes many classes from OpenCVForUnity, and implements IDisposable. You

can manage the resources with the "using" statement.

Please download Demo Application for Android and watch Setup Tutorial Video(Unity4

Unity5).

API Reference OpenCV for Unity

SampleCode using OpenCV for Unity is available.

 MarkerBased AR Sample

 FaceTracker Sample

 Voforia with OpenCV for Unity Sample

 Kinect with OpenCV for Unity Sample

If you want to try the Beta7 Version of “OpenCV for Untiy” based on “OpenCV3.0.0”

, unzip the , please replace the “OpenCVForUnity”

folder.“OpenCV for Untiy” based on “OpenCV3.0.0” support support Unity4.

Version changes

1.2.3 [Common] Add Beta7 Version of “OpenCV for Untiy” based on “OpenCV3.0.0”.

[Common]Add

1.2.2 [iOS]Move

WrapPerspectiveSample,

“OpenCVForUnity/

HandPoseEstimationSample,

to

MultiObjectTrackingBasedOnColorSample.

iOSforXcode/ork”

“OpenCVForUnity/Plugins/iOS/”folder. [iOS]Fix WebCamTexture bug of SampleScene

in Unity5.2.

1.2.1 [Common] Add Beta5 Version of “OpenCV for Untiy” based on “OpenCV3.0.0”(Add

Linux support). [Common]Rewrite SampleScene.

1.2.0 [Common]Add Utils. getGraphicsDeviceType(). [Common]Add SampleScene

Setup Tutorial Video for Unity5.

1.1.9 [Common]Add CamShiftSample.(Object Tracking) [Common]Add

.( This script set plugin import settings automatically

from MenuItem.)

1.1.8 [iOS] Fix problem when working with Metaio(UnityAppController problem).

[iOS]Change file name from “OpenCVForUnity/Plugins/iOS/” to

“OpenCVForUnity/Plugins/iOS/”.[Common]Add

[izable] to basic class.

to

[iOS]Move “OpenCVForUnity/

iOSforXcode/iOS_”

Unity5).

1.1.7 [Common] Update to OpenCV2.4.11. [Common] Add Beta Version of “OpenCV for

Untiy” based on “OpenCV3.0.0”(support Unity5).

1.1.6 [Common]Fix (Compile Error had happened only in the case of

Unity4 Non Pro License).

1.1.5 [Common]Add Beta Version of “OpenCV for Untiy” based on “OpenCV3.0.0-

rc1”(support Unity5). [Android]Fix ePath().

[iOS]Change folder

[Common]Add

name from WebCamTextureAsyncDetectFaceSample.

“OpenCVForUnity/iOS for Xcode/” to

iOS_.

1.1.4 [Common]Add FaceRecognizer subclass. [Common]Add

“OpenCVForUnity/Editor”folder.

[Common] Add Beta2 Version of “OpenCV for Untiy” based on “OpenCV3.0.0”(support

“OpenCVForUnity/iOSforXcode/”.Add