OpenCV for Unity  2.6.2
Enox Software / Please refer to OpenCV official document ( http://docs.opencv.org/4.10.0/index.html ) for the details of the argument of the method.
Classes | Enumerations
OpenCVForUnity.UnityUtils.Helper Namespace Reference

Classes

interface  ICameraSource2MatHelper
 
interface  IImageSource2MatHelper
 
class  Image2MatHelper
 Image 2 mat helper. v 1.0.0 More...
 
class  ImageOptimizationHelper
 Image optimization helper. v 1.1.0 More...
 
interface  ISource2MatHelper
 
interface  IVideoSource2MatHelper
 
class  MultiSource2MatHelper
 MultiSource 2 mat helper. v 1.0.0 More...
 
class  Source2MatHelperErrorUnityEvent
 
class  Source2MatHelperUtils
 
class  UnityVideoPlayer2MatHelper
 UnityVideoPlayer 2 mat helper. v 1.0.0 More...
 
class  VideoCapture2MatHelper
 VideoCapture 2 mat helper. v 1.0.0 More...
 
class  VideoCaptureCameraInput2MatHelper
 VideoCaptureCameraInput 2 mat helper. v 1.0.0 Depends on OpenCVForUnity version 2.6.1 (WebCamTexture2MatHelper v 1.0.0) or later. (Use the WebCamDevice.isFrontFacing and WebCamTexture.videoRotationAngle properties to flip the camera input image in VideoCaptue to the correct orientation.) More...
 
class  VideoCaptureCameraInputToMatHelper
 VideoCaptureCameraInput to mat helper. v 1.0.1 Depends on OpenCVForUnity version 2.4.4 (WebCamTextureToMatHelper v 1.1.3) or later. (Use the WebCamDevice.isFrontFacing and WebCamTexture.videoRotationAngle properties to flip the camera input image in VideoCaptue to the correct orientation.) More...
 
class  VideoCaptureToMatHelper
 VideoCapture to mat helper. v 1.0.4 More...
 
class  WebCamTexture2MatHelper
 WebCamTexture 2 mat helper. v 1.0.0 More...
 
class  WebCamTextureToMatHelper
 WebCamTexture to mat helper. v 1.1.6 More...
 

Enumerations

enum  Source2MatHelperColorFormat : int {
  Source2MatHelperColorFormat.GRAY = 0, Source2MatHelperColorFormat.RGB, Source2MatHelperColorFormat.BGR, Source2MatHelperColorFormat.RGBA,
  Source2MatHelperColorFormat.BGRA
}
 
enum  Source2MatHelperErrorCode : int {
  Source2MatHelperErrorCode.UNKNOWN = 0, Source2MatHelperErrorCode.CAMERA_DEVICE_NOT_EXIST, Source2MatHelperErrorCode.CAMERA_PERMISSION_DENIED, Source2MatHelperErrorCode.VIDEO_FILE_NOT_EXIST,
  Source2MatHelperErrorCode.VIDEO_FILE_CANT_OPEN, Source2MatHelperErrorCode.IMAGE_FILE_NOT_EXIST, Source2MatHelperErrorCode.IMAGE_FILE_CANT_OPEN, Source2MatHelperErrorCode.TIMEOUT
}
 

Enumeration Type Documentation

◆ Source2MatHelperColorFormat

Enumerator
GRAY 
RGB 
BGR 
RGBA 
BGRA 

◆ Source2MatHelperErrorCode

Enumerator
UNKNOWN 
CAMERA_DEVICE_NOT_EXIST 
CAMERA_PERMISSION_DENIED 
VIDEO_FILE_NOT_EXIST 
VIDEO_FILE_CANT_OPEN 
IMAGE_FILE_NOT_EXIST 
IMAGE_FILE_CANT_OPEN 
TIMEOUT