OpenCV for Unity 2.6.4
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.
Loading...
Searching...
No Matches
OpenCVForUnity.UnityUtils.Helper Namespace Reference

Classes

class  AsyncGPUReadback2MatHelper
 A helper component class for efficiently converting Unity Texture objects, such as RenderTexture and external texture format Texture2D, to OpenCV Mat format using AsyncGPUReadback. More...
 
interface  ICameraSource2MatHelper
 
interface  IImageSource2MatHelper
 
class  Image2MatHelper
 A helper component class for loading an image file using OpenCV's Imgcodecs.imread method and converting it to an OpenCV Mat format. More...
 
class  ImageOptimizationHelper
 Image optimization helper. v 1.1.0. More...
 
interface  ISource2MatHelper
 
interface  ITextureSource2MatHelper
 
interface  IVideoSource2MatHelper
 
class  MultiSource2MatHelper
 A versatile helper component class for obtaining frames as OpenCV Mat objects from multiple sources, allowing dynamic switching between different ISource2MatHelper classes. More...
 
class  Source2MatHelperErrorUnityEvent
 
class  Source2MatHelperUtils
 
class  UnityVideoPlayer2MatHelper
 A helper component class for obtaining video frames from a file using Unity's VideoPlayer and converting them to OpenCV Mat format. More...
 
class  VideoCapture2MatHelper
 A helper component class for obtaining video frames from a file using OpenCV's VideoCapture and converting them to OpenCV Mat format. More...
 
class  VideoCaptureCameraInput2MatHelper
 A helper component class for obtaining camera frames from OpenCV's VideoCapture and converting them to OpenCV Mat format in real-time. 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  WebCamTexture2MatAsyncGPUHelper
 A helper component class for efficiently obtaining camera frames from WebCamTexture and converting them to OpenCV Mat format in real-time using AsyncGPUReadback. More...
 
class  WebCamTexture2MatHelper
 A helper component class for obtaining camera frames from WebCamTexture and converting them to OpenCV Mat format in real-time. More...
 
class  WebCamTextureToMatHelper
 WebCamTexture to mat helper. v 1.1.6. More...
 

Enumerations

enum  Source2MatHelperColorFormat : int {
  GRAY = 0 ,
  RGB ,
  BGR ,
  RGBA ,
  BGRA
}
 
enum  Source2MatHelperErrorCode : int {
  UNKNOWN = 0 ,
  CAMERA_DEVICE_NOT_EXIST ,
  CAMERA_PERMISSION_DENIED ,
  VIDEO_FILE_NOT_EXIST ,
  VIDEO_FILE_CANT_OPEN ,
  IMAGE_FILE_NOT_EXIST ,
  IMAGE_FILE_CANT_OPEN ,
  SOURCE_TEXTURE_IS_NULL ,
  SOURCE_TEXTURE_FORMAT_IS_NOT_SPPORTED ,
  ASYNC_GPU_READBACK_IS_NOT_SPPORTED ,
  RENDERTEXTURE_GRAPHICS_FORMAT_IS_NOT_SPPORTED ,
  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 
SOURCE_TEXTURE_IS_NULL 
SOURCE_TEXTURE_FORMAT_IS_NOT_SPPORTED 
ASYNC_GPU_READBACK_IS_NOT_SPPORTED 
RENDERTEXTURE_GRAPHICS_FORMAT_IS_NOT_SPPORTED 
TIMEOUT