text: # This file was automatically generated by SWIG (http://www.swig.org).
  # Version 3.0.8
  #
  # Do not make changes to this file unless you know what you are doing--modify
  # the SWIG interface file instead.
  
  
  
  
  
  from sys import version_info
  if version_info >= (2, 6, 0):
      def swig_import_helper():
          from os.path import dirname
          import imp
          fp = None
          try:
              fp, pathname, description = imp.find_module('_openncc', [dirname(__file__)])
          except ImportError:
              import _openncc
              return _openncc
          if fp is not None:
              try:
                  _mod = imp.load_module('_openncc', fp, pathname, description)
              finally:
                  fp.close()
              return _mod
      _openncc = swig_import_helper()
      del swig_import_helper
  else:
      import _openncc
  del version_info
  try:
      _swig_property = property
  except NameError:
      pass  # Python < 2.2 doesn't have 'property'.
  
  
  def _swig_setattr_nondynamic(self, class_type, name, value, static=1):
      if (name == "thisown"):
          return self.this.own(value)
      if (name == "this"):
          if type(value).__name__ == 'SwigPyObject':
              self.__dict__[name] = value
              return
      method = class_type.__swig_setmethods__.get(name, None)
      if method:
          return method(self, value)
      if (not static):
          if _newclass:
              object.__setattr__(self, name, value)
          else:
              self.__dict__[name] = value
      else:
          raise AttributeError("You cannot add attributes to %s" % self)
  
  
  def _swig_setattr(self, class_type, name, value):
      return _swig_setattr_nondynamic(self, class_type, name, value, 0)
  
  
  def _swig_getattr_nondynamic(self, class_type, name, static=1):
      if (name == "thisown"):
          return self.this.own()
      method = class_type.__swig_getmethods__.get(name, None)
      if method:
          return method(self)
      if (not static):
          return object.__getattr__(self, name)
      else:
          raise AttributeError(name)
  
  def _swig_getattr(self, class_type, name):
      return _swig_getattr_nondynamic(self, class_type, name, 0)
  
  
  def _swig_repr(self):
      try:
          strthis = "proxy of " + self.this.__repr__()
      except Exception:
          strthis = ""
      return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
  
  try:
      _object = object
      _newclass = 1
  except AttributeError:
      class _object:
          pass
      _newclass = 0
  
  
  
  _openncc.YUV420p_swigconstant(_openncc)
  YUV420p = _openncc.YUV420p
  
  _openncc.RAW14_swigconstant(_openncc)
  RAW14 = _openncc.RAW14
  
  _openncc.H26X_swigconstant(_openncc)
  H26X = _openncc.H26X
  
  _openncc.JPEG_swigconstant(_openncc)
  JPEG = _openncc.JPEG
  
  _openncc.METEDATA_swigconstant(_openncc)
  METEDATA = _openncc.METEDATA
  
  _openncc.MONO_swigconstant(_openncc)
  MONO = _openncc.MONO
  
  _openncc.DEPTH_swigconstant(_openncc)
  DEPTH = _openncc.DEPTH
  
  _openncc.OUTPUT_INDEX_SIZE_swigconstant(_openncc)
  OUTPUT_INDEX_SIZE = _openncc.OUTPUT_INDEX_SIZE
  
  _openncc.USB_SUCCESS_swigconstant(_openncc)
  USB_SUCCESS = _openncc.USB_SUCCESS
  
  _openncc.USB_ERROR_IO_swigconstant(_openncc)
  USB_ERROR_IO = _openncc.USB_ERROR_IO
  
  _openncc.USB_ERROR_INVALID_PARAM_swigconstant(_openncc)
  USB_ERROR_INVALID_PARAM = _openncc.USB_ERROR_INVALID_PARAM
  
  _openncc.USB_ERROR_ACCESS_swigconstant(_openncc)
  USB_ERROR_ACCESS = _openncc.USB_ERROR_ACCESS
  
  _openncc.USB_ERROR_NO_DEVICE_swigconstant(_openncc)
  USB_ERROR_NO_DEVICE = _openncc.USB_ERROR_NO_DEVICE
  
  _openncc.USB_ERROR_NOT_FOUND_swigconstant(_openncc)
  USB_ERROR_NOT_FOUND = _openncc.USB_ERROR_NOT_FOUND
  
  _openncc.USB_ERROR_BUSY_swigconstant(_openncc)
  USB_ERROR_BUSY = _openncc.USB_ERROR_BUSY
  
  _openncc.USB_ERROR_TIMEOUT_swigconstant(_openncc)
  USB_ERROR_TIMEOUT = _openncc.USB_ERROR_TIMEOUT
  
  _openncc.USB_ERROR_OVERFLOW_swigconstant(_openncc)
  USB_ERROR_OVERFLOW = _openncc.USB_ERROR_OVERFLOW
  
  _openncc.USB_ERROR_PIPE_swigconstant(_openncc)
  USB_ERROR_PIPE = _openncc.USB_ERROR_PIPE
  
  _openncc.USB_ERROR_INTERRUPTED_swigconstant(_openncc)
  USB_ERROR_INTERRUPTED = _openncc.USB_ERROR_INTERRUPTED
  
  _openncc.USB_ERROR_NO_MEM_swigconstant(_openncc)
  USB_ERROR_NO_MEM = _openncc.USB_ERROR_NO_MEM
  
  _openncc.USB_ERROR_NOT_SUPPORTED_swigconstant(_openncc)
  USB_ERROR_NOT_SUPPORTED = _openncc.USB_ERROR_NOT_SUPPORTED
  
  _openncc.USB_ERROR_OTHER_swigconstant(_openncc)
  USB_ERROR_OTHER = _openncc.USB_ERROR_OTHER
  
  _openncc.IMG_FORMAT_GRAY_swigconstant(_openncc)
  IMG_FORMAT_GRAY = _openncc.IMG_FORMAT_GRAY
  
  _openncc.IMG_FORMAT_I420_swigconstant(_openncc)
  IMG_FORMAT_I420 = _openncc.IMG_FORMAT_I420
  
  _openncc.IMG_FORMAT_I422_swigconstant(_openncc)
  IMG_FORMAT_I422 = _openncc.IMG_FORMAT_I422
  
  _openncc.IMG_FORMAT_I444_swigconstant(_openncc)
  IMG_FORMAT_I444 = _openncc.IMG_FORMAT_I444
  
  _openncc.IMG_FORMAT_YUV444_swigconstant(_openncc)
  IMG_FORMAT_YUV444 = _openncc.IMG_FORMAT_YUV444
  
  _openncc.IMG_FORMAT_RGB_swigconstant(_openncc)
  IMG_FORMAT_RGB = _openncc.IMG_FORMAT_RGB
  
  _openncc.IMG_FORMAT_RGB_PLANAR_swigconstant(_openncc)
  IMG_FORMAT_RGB_PLANAR = _openncc.IMG_FORMAT_RGB_PLANAR
  
  _openncc.IMG_FORMAT_BGR_swigconstant(_openncc)
  IMG_FORMAT_BGR = _openncc.IMG_FORMAT_BGR
  
  _openncc.IMG_FORMAT_BGR_PLANAR_swigconstant(_openncc)
  IMG_FORMAT_BGR_PLANAR = _openncc.IMG_FORMAT_BGR_PLANAR
  
  _openncc.ENCODE_H264_MODE_swigconstant(_openncc)
  ENCODE_H264_MODE = _openncc.ENCODE_H264_MODE
  
  _openncc.ENCODE_H265_MODE_swigconstant(_openncc)
  ENCODE_H265_MODE = _openncc.ENCODE_H265_MODE
  class CameraInfo(_object):
      __swig_setmethods__ = {}
      __setattr__ = lambda self, name, value: _swig_setattr(self, CameraInfo, name, value)
      __swig_getmethods__ = {}
      __getattr__ = lambda self, name: _swig_getattr(self, CameraInfo, name)
      __repr__ = _swig_repr
      __swig_setmethods__["imageWidth"] = _openncc.CameraInfo_imageWidth_set
      __swig_getmethods__["imageWidth"] = _openncc.CameraInfo_imageWidth_get
      if _newclass:
          imageWidth = _swig_property(_openncc.CameraInfo_imageWidth_get, _openncc.CameraInfo_imageWidth_set)
      __swig_setmethods__["imageHeight"] = _openncc.CameraInfo_imageHeight_set
      __swig_getmethods__["imageHeight"] = _openncc.CameraInfo_imageHeight_get
      if _newclass:
          imageHeight = _swig_property(_openncc.CameraInfo_imageHeight_get, _openncc.CameraInfo_imageHeight_set)
      __swig_setmethods__["startX"] = _openncc.CameraInfo_startX_set
      __swig_getmethods__["startX"] = _openncc.CameraInfo_startX_get
      if _newclass:
          startX = _swig_property(_openncc.CameraInfo_startX_get, _openncc.CameraInfo_startX_set)
      __swig_setmethods__["startY"] = _openncc.CameraInfo_startY_set
      __swig_getmethods__["startY"] = _openncc.CameraInfo_startY_get
      if _newclass:
          startY = _swig_property(_openncc.CameraInfo_startY_get, _openncc.CameraInfo_startY_set)
      __swig_setmethods__["endX"] = _openncc.CameraInfo_endX_set
      __swig_getmethods__["endX"] = _openncc.CameraInfo_endX_get
      if _newclass:
          endX = _swig_property(_openncc.CameraInfo_endX_get, _openncc.CameraInfo_endX_set)
      __swig_setmethods__["endY"] = _openncc.CameraInfo_endY_set
      __swig_getmethods__["endY"] = _openncc.CameraInfo_endY_get
      if _newclass:
          endY = _swig_property(_openncc.CameraInfo_endY_get, _openncc.CameraInfo_endY_set)
      __swig_setmethods__["inputDimWidth"] = _openncc.CameraInfo_inputDimWidth_set
      __swig_getmethods__["inputDimWidth"] = _openncc.CameraInfo_inputDimWidth_get
      if _newclass:
          inputDimWidth = _swig_property(_openncc.CameraInfo_inputDimWidth_get, _openncc.CameraInfo_inputDimWidth_set)
      __swig_setmethods__["inputDimHeight"] = _openncc.CameraInfo_inputDimHeight_set
      __swig_getmethods__["inputDimHeight"] = _openncc.CameraInfo_inputDimHeight_get
      if _newclass:
          inputDimHeight = _swig_property(_openncc.CameraInfo_inputDimHeight_get, _openncc.CameraInfo_inputDimHeight_set)
      __swig_setmethods__["inputFormat"] = _openncc.CameraInfo_inputFormat_set
      __swig_getmethods__["inputFormat"] = _openncc.CameraInfo_inputFormat_get
      if _newclass:
          inputFormat = _swig_property(_openncc.CameraInfo_inputFormat_get, _openncc.CameraInfo_inputFormat_set)
      __swig_setmethods__["meanValue"] = _openncc.CameraInfo_meanValue_set
      __swig_getmethods__["meanValue"] = _openncc.CameraInfo_meanValue_get
      if _newclass:
          meanValue = _swig_property(_openncc.CameraInfo_meanValue_get, _openncc.CameraInfo_meanValue_set)
      __swig_setmethods__["stdValue"] = _openncc.CameraInfo_stdValue_set
      __swig_getmethods__["stdValue"] = _openncc.CameraInfo_stdValue_get
      if _newclass:
          stdValue = _swig_property(_openncc.CameraInfo_stdValue_get, _openncc.CameraInfo_stdValue_set)
      __swig_setmethods__["isOutputYUV"] = _openncc.CameraInfo_isOutputYUV_set
      __swig_getmethods__["isOutputYUV"] = _openncc.CameraInfo_isOutputYUV_get
      if _newclass:
          isOutputYUV = _swig_property(_openncc.CameraInfo_isOutputYUV_get, _openncc.CameraInfo_isOutputYUV_set)
      __swig_setmethods__["isOutputH26X"] = _openncc.CameraInfo_isOutputH26X_set
      __swig_getmethods__["isOutputH26X"] = _openncc.CameraInfo_isOutputH26X_get
      if _newclass:
          isOutputH26X = _swig_property(_openncc.CameraInfo_isOutputH26X_get, _openncc.CameraInfo_isOutputH26X_set)
      __swig_setmethods__["isOutputJPEG"] = _openncc.CameraInfo_isOutputJPEG_set
      __swig_getmethods__["isOutputJPEG"] = _openncc.CameraInfo_isOutputJPEG_get
      if _newclass:
          isOutputJPEG = _swig_property(_openncc.CameraInfo_isOutputJPEG_get, _openncc.CameraInfo_isOutputJPEG_set)
      __swig_setmethods__["mode"] = _openncc.CameraInfo_mode_set
      __swig_getmethods__["mode"] = _openncc.CameraInfo_mode_get
      if _newclass:
          mode = _swig_property(_openncc.CameraInfo_mode_get, _openncc.CameraInfo_mode_set)
  
      def __init__(self):
          this = _openncc.new_CameraInfo()
          try:
              self.this.append(this)
          except Exception:
              self.this = this
      __swig_destroy__ = _openncc.delete_CameraInfo
      __del__ = lambda self: None
  CameraInfo_swigregister = _openncc.CameraInfo_swigregister
  CameraInfo_swigregister(CameraInfo)
  
  
  _openncc.MAX_LABEL_SIZE_swigconstant(_openncc)
  MAX_LABEL_SIZE = _openncc.MAX_LABEL_SIZE
  
  _openncc.MAX_EXTINPUT_SIZE_swigconstant(_openncc)
  MAX_EXTINPUT_SIZE = _openncc.MAX_EXTINPUT_SIZE
  
  _openncc.MAX_OBJ_swigconstant(_openncc)
  MAX_OBJ = _openncc.MAX_OBJ
  class Network1Par(_object):
      __swig_setmethods__ = {}
      __setattr__ = lambda self, name, value: _swig_setattr(self, Network1Par, name, value)
      __swig_getmethods__ = {}
      __getattr__ = lambda self, name: _swig_getattr(self, Network1Par, name)
      __repr__ = _swig_repr
      __swig_setmethods__["imageWidth"] = _openncc.Network1Par_imageWidth_set
      __swig_getmethods__["imageWidth"] = _openncc.Network1Par_imageWidth_get
      if _newclass:
          imageWidth = _swig_property(_openncc.Network1Par_imageWidth_get, _openncc.Network1Par_imageWidth_set)
      __swig_setmethods__["imageHeight"] = _openncc.Network1Par_imageHeight_set
      __swig_getmethods__["imageHeight"] = _openncc.Network1Par_imageHeight_get
      if _newclass:
          imageHeight = _swig_property(_openncc.Network1Par_imageHeight_get, _openncc.Network1Par_imageHeight_set)
      __swig_setmethods__["startX"] = _openncc.Network1Par_startX_set
      __swig_getmethods__["startX"] = _openncc.Network1Par_startX_get
      if _newclass:
          startX = _swig_property(_openncc.Network1Par_startX_get, _openncc.Network1Par_startX_set)
      __swig_setmethods__["startY"] = _openncc.Network1Par_startY_set
      __swig_getmethods__["startY"] = _openncc.Network1Par_startY_get
      if _newclass:
          startY = _swig_property(_openncc.Network1Par_startY_get, _openncc.Network1Par_startY_set)
      __swig_setmethods__["endX"] = _openncc.Network1Par_endX_set
      __swig_getmethods__["endX"] = _openncc.Network1Par_endX_get
      if _newclass:
          endX = _swig_property(_openncc.Network1Par_endX_get, _openncc.Network1Par_endX_set)
      __swig_setmethods__["endY"] = _openncc.Network1Par_endY_set
      __swig_getmethods__["endY"] = _openncc.Network1Par_endY_get
      if _newclass:
          endY = _swig_property(_openncc.Network1Par_endY_get, _openncc.Network1Par_endY_set)
      __swig_setmethods__["inputDimWidth"] = _openncc.Network1Par_inputDimWidth_set
      __swig_getmethods__["inputDimWidth"] = _openncc.Network1Par_inputDimWidth_get
      if _newclass:
          inputDimWidth = _swig_property(_openncc.Network1Par_inputDimWidth_get, _openncc.Network1Par_inputDimWidth_set)
      __swig_setmethods__["inputDimHeight"] = _openncc.Network1Par_inputDimHeight_set
      __swig_getmethods__["inputDimHeight"] = _openncc.Network1Par_inputDimHeight_get
      if _newclass:
          inputDimHeight = _swig_property(_openncc.Network1Par_inputDimHeight_get, _openncc.Network1Par_inputDimHeight_set)
      __swig_setmethods__["inputFormat"] = _openncc.Network1Par_inputFormat_set
      __swig_getmethods__["inputFormat"] = _openncc.Network1Par_inputFormat_get
      if _newclass:
          inputFormat = _swig_property(_openncc.Network1Par_inputFormat_get, _openncc.Network1Par_inputFormat_set)
      __swig_setmethods__["meanValue"] = _openncc.Network1Par_meanValue_set
      __swig_getmethods__["meanValue"] = _openncc.Network1Par_meanValue_get
      if _newclass:
          meanValue = _swig_property(_openncc.Network1Par_meanValue_get, _openncc.Network1Par_meanValue_set)
      __swig_setmethods__["stdValue"] = _openncc.Network1Par_stdValue_set
      __swig_getmethods__["stdValue"] = _openncc.Network1Par_stdValue_get
      if _newclass:
          stdValue = _swig_property(_openncc.Network1Par_stdValue_get, _openncc.Network1Par_stdValue_set)
      __swig_setmethods__["isOutputYUV"] = _openncc.Network1Par_isOutputYUV_set
      __swig_getmethods__["isOutputYUV"] = _openncc.Network1Par_isOutputYUV_get
      if _newclass:
          isOutputYUV = _swig_property(_openncc.Network1Par_isOutputYUV_get, _openncc.Network1Par_isOutputYUV_set)
      __swig_setmethods__["isOutputH26X"] = _openncc.Network1Par_isOutputH26X_set
      __swig_getmethods__["isOutputH26X"] = _openncc.Network1Par_isOutputH26X_get
      if _newclass:
          isOutputH26X = _swig_property(_openncc.Network1Par_isOutputH26X_get, _openncc.Network1Par_isOutputH26X_set)
      __swig_setmethods__["isOutputJPEG"] = _openncc.Network1Par_isOutputJPEG_set
      __swig_getmethods__["isOutputJPEG"] = _openncc.Network1Par_isOutputJPEG_get
      if _newclass:
          isOutputJPEG = _swig_property(_openncc.Network1Par_isOutputJPEG_get, _openncc.Network1Par_isOutputJPEG_set)
      __swig_setmethods__["mode"] = _openncc.Network1Par_mode_set
      __swig_getmethods__["mode"] = _openncc.Network1Par_mode_get
      if _newclass:
          mode = _swig_property(_openncc.Network1Par_mode_get, _openncc.Network1Par_mode_set)
      __swig_setmethods__["extInputs"] = _openncc.Network1Par_extInputs_set
      __swig_getmethods__["extInputs"] = _openncc.Network1Par_extInputs_get
      if _newclass:
          extInputs = _swig_property(_openncc.Network1Par_extInputs_get, _openncc.Network1Par_extInputs_set)
      __swig_setmethods__["modelCascade"] = _openncc.Network1Par_modelCascade_set
      __swig_getmethods__["modelCascade"] = _openncc.Network1Par_modelCascade_get
      if _newclass:
          modelCascade = _swig_property(_openncc.Network1Par_modelCascade_get, _openncc.Network1Par_modelCascade_set)
      __swig_setmethods__["inferenceACC"] = _openncc.Network1Par_inferenceACC_set
      __swig_getmethods__["inferenceACC"] = _openncc.Network1Par_inferenceACC_get
      if _newclass:
          inferenceACC = _swig_property(_openncc.Network1Par_inferenceACC_get, _openncc.Network1Par_inferenceACC_set)
  
      def __init__(self):
          this = _openncc.new_Network1Par()
          try:
              self.this.append(this)
          except Exception:
              self.this = this
      __swig_destroy__ = _openncc.delete_Network1Par
      __del__ = lambda self: None
  Network1Par_swigregister = _openncc.Network1Par_swigregister
  Network1Par_swigregister(Network1Par)
  
  class Network2Par(_object):
      __swig_setmethods__ = {}
      __setattr__ = lambda self, name, value: _swig_setattr(self, Network2Par, name, value)
      __swig_getmethods__ = {}
      __getattr__ = lambda self, name: _swig_getattr(self, Network2Par, name)
      __repr__ = _swig_repr
      __swig_setmethods__["startXAdj"] = _openncc.Network2Par_startXAdj_set
      __swig_getmethods__["startXAdj"] = _openncc.Network2Par_startXAdj_get
      if _newclass:
          startXAdj = _swig_property(_openncc.Network2Par_startXAdj_get, _openncc.Network2Par_startXAdj_set)
      __swig_setmethods__["startYAdj"] = _openncc.Network2Par_startYAdj_set
      __swig_getmethods__["startYAdj"] = _openncc.Network2Par_startYAdj_get
      if _newclass:
          startYAdj = _swig_property(_openncc.Network2Par_startYAdj_get, _openncc.Network2Par_startYAdj_set)
      __swig_setmethods__["endXAdj"] = _openncc.Network2Par_endXAdj_set
      __swig_getmethods__["endXAdj"] = _openncc.Network2Par_endXAdj_get
      if _newclass:
          endXAdj = _swig_property(_openncc.Network2Par_endXAdj_get, _openncc.Network2Par_endXAdj_set)
      __swig_setmethods__["endYAdj"] = _openncc.Network2Par_endYAdj_set
      __swig_getmethods__["endYAdj"] = _openncc.Network2Par_endYAdj_get
      if _newclass:
          endYAdj = _swig_property(_openncc.Network2Par_endYAdj_get, _openncc.Network2Par_endYAdj_set)
      __swig_setmethods__["labelMask"] = _openncc.Network2Par_labelMask_set
      __swig_getmethods__["labelMask"] = _openncc.Network2Par_labelMask_get
      if _newclass:
          labelMask = _swig_property(_openncc.Network2Par_labelMask_get, _openncc.Network2Par_labelMask_set)
      __swig_setmethods__["minConf"] = _openncc.Network2Par_minConf_set
      __swig_getmethods__["minConf"] = _openncc.Network2Par_minConf_get
      if _newclass:
          minConf = _swig_property(_openncc.Network2Par_minConf_get, _openncc.Network2Par_minConf_set)
      __swig_setmethods__["inputDimWidth"] = _openncc.Network2Par_inputDimWidth_set
      __swig_getmethods__["inputDimWidth"] = _openncc.Network2Par_inputDimWidth_get
      if _newclass:
          inputDimWidth = _swig_property(_openncc.Network2Par_inputDimWidth_get, _openncc.Network2Par_inputDimWidth_set)
      __swig_setmethods__["inputDimHeight"] = _openncc.Network2Par_inputDimHeight_set
      __swig_getmethods__["inputDimHeight"] = _openncc.Network2Par_inputDimHeight_get
      if _newclass:
          inputDimHeight = _swig_property(_openncc.Network2Par_inputDimHeight_get, _openncc.Network2Par_inputDimHeight_set)
      __swig_setmethods__["inputFormat"] = _openncc.Network2Par_inputFormat_set
      __swig_getmethods__["inputFormat"] = _openncc.Network2Par_inputFormat_get
      if _newclass:
          inputFormat = _swig_property(_openncc.Network2Par_inputFormat_get, _openncc.Network2Par_inputFormat_set)
      __swig_setmethods__["meanValue"] = _openncc.Network2Par_meanValue_set
      __swig_getmethods__["meanValue"] = _openncc.Network2Par_meanValue_get
      if _newclass:
          meanValue = _swig_property(_openncc.Network2Par_meanValue_get, _openncc.Network2Par_meanValue_set)
      __swig_setmethods__["stdValue"] = _openncc.Network2Par_stdValue_set
      __swig_getmethods__["stdValue"] = _openncc.Network2Par_stdValue_get
      if _newclass:
          stdValue = _swig_property(_openncc.Network2Par_stdValue_get, _openncc.Network2Par_stdValue_set)
      __swig_setmethods__["extInputs"] = _openncc.Network2Par_extInputs_set
      __swig_getmethods__["extInputs"] = _openncc.Network2Par_extInputs_get
      if _newclass:
          extInputs = _swig_property(_openncc.Network2Par_extInputs_get, _openncc.Network2Par_extInputs_set)
      __swig_setmethods__["modelCascade"] = _openncc.Network2Par_modelCascade_set
      __swig_getmethods__["modelCascade"] = _openncc.Network2Par_modelCascade_get
      if _newclass:
          modelCascade = _swig_property(_openncc.Network2Par_modelCascade_get, _openncc.Network2Par_modelCascade_set)
  
      def __init__(self):
          this = _openncc.new_Network2Par()
          try:
              self.this.append(this)
          except Exception:
              self.this = this
      __swig_destroy__ = _openncc.delete_Network2Par
      __del__ = lambda self: None
  Network2Par_swigregister = _openncc.Network2Par_swigregister
  Network2Par_swigregister(Network2Par)
  
  class frameSpecOut(_object):
      __swig_setmethods__ = {}
      __setattr__ = lambda self, name, value: _swig_setattr(self, frameSpecOut, name, value)
      __swig_getmethods__ = {}
      __getattr__ = lambda self, name: _swig_getattr(self, frameSpecOut, name)
      __repr__ = _swig_repr
      __swig_setmethods__["type"] = _openncc.frameSpecOut_type_set
      __swig_getmethods__["type"] = _openncc.frameSpecOut_type_get
      if _newclass:
          type = _swig_property(_openncc.frameSpecOut_type_get, _openncc.frameSpecOut_type_set)
      __swig_setmethods__["seqNo"] = _openncc.frameSpecOut_seqNo_set
      __swig_getmethods__["seqNo"] = _openncc.frameSpecOut_seqNo_get
      if _newclass:
          seqNo = _swig_property(_openncc.frameSpecOut_seqNo_get, _openncc.frameSpecOut_seqNo_set)
      __swig_setmethods__["size"] = _openncc.frameSpecOut_size_set
      __swig_getmethods__["size"] = _openncc.frameSpecOut_size_get
      if _newclass:
          size = _swig_property(_openncc.frameSpecOut_size_get, _openncc.frameSpecOut_size_set)
      __swig_setmethods__["res"] = _openncc.frameSpecOut_res_set
      __swig_getmethods__["res"] = _openncc.frameSpecOut_res_get
      if _newclass:
          res = _swig_property(_openncc.frameSpecOut_res_get, _openncc.frameSpecOut_res_set)
  
      def __init__(self):
          this = _openncc.new_frameSpecOut()
          try:
              self.this.append(this)
          except Exception:
              self.this = this
      __swig_destroy__ = _openncc.delete_frameSpecOut
      __del__ = lambda self: None
  frameSpecOut_swigregister = _openncc.frameSpecOut_swigregister
  frameSpecOut_swigregister(frameSpecOut)
  
  
  def GetYuvData(pbuf: 'char *') -> "int":
      return _openncc.GetYuvData(pbuf)
  GetYuvData = _openncc.GetYuvData
  
  def GetMetaData(pbuf: 'char *') -> "int":
      return _openncc.GetMetaData(pbuf)
  GetMetaData = _openncc.GetMetaData
  
  def GetH26xData(pbuf: 'char *') -> "int":
      return _openncc.GetH26xData(pbuf)
  GetH26xData = _openncc.GetH26xData
  
  def GetJpegData(pbuf: 'char *') -> "int":
      return _openncc.GetJpegData(pbuf)
  GetJpegData = _openncc.GetJpegData
  
  def get_sdk_version() -> "char *":
      return _openncc.get_sdk_version()
  get_sdk_version = _openncc.get_sdk_version
  
  def load_fw(bootExe: 'char const *', firmware: 'char const *') -> "int":
      return _openncc.load_fw(bootExe, firmware)
  load_fw = _openncc.load_fw
  
  def load_fwExt(bootExe: 'char const *', firmware: 'char const *', pid: 'int') -> "int":
      return _openncc.load_fwExt(bootExe, firmware, pid)
  load_fwExt = _openncc.load_fwExt
  
  def sdk_init(cb: 'vscRecvCb', param: 'void *', blob_path: 'char const *', cam: 'CameraInfo', cam_Len: 'int') -> "int":
      return _openncc.sdk_init(cb, param, blob_path, cam, cam_Len)
  sdk_init = _openncc.sdk_init
  
  def sdk_init_ex(cb: 'vscRecvCb', param: 'void *', blob_path: 'char const *', cam: 'Network1Par', cam_Len: 'int') -> "int":
      return _openncc.sdk_init_ex(cb, param, blob_path, cam, cam_Len)
  sdk_init_ex = _openncc.sdk_init_ex
  
  def sdk_net2_init(cb: 'vscRecvCb', param: 'void *', blob_path: 'char const *', par: 'Network1Par', par_Len: 'int', blob2_path: 'char const *', par2: 'Network2Par', par2_Len: 'int') -> "int":
      return _openncc.sdk_net2_init(cb, param, blob_path, par, par_Len, blob2_path, par2, par2_Len)
  sdk_net2_init = _openncc.sdk_net2_init
  
  def sdk_uninit() -> "void":
      return _openncc.sdk_uninit()
  sdk_uninit = _openncc.sdk_uninit
  
  def get_usb_version() -> "int":
      return _openncc.get_usb_version()
  get_usb_version = _openncc.get_usb_version
  
  def get_err_no() -> "int":
      return _openncc.get_err_no()
  get_err_no = _openncc.get_err_no
  
  def get_init_error(size: 'int') -> "char *":
      return _openncc.get_init_error(size)
  get_init_error = _openncc.get_init_error
  
  def read_yuv_data(pbuf: 'char *', size: 'int *', blocked: 'int') -> "int":
      return _openncc.read_yuv_data(pbuf, size, blocked)
  read_yuv_data = _openncc.read_yuv_data
  
  def read_26x_data(pbuf: 'char *', size: 'int *', blocked: 'int') -> "int":
      return _openncc.read_26x_data(pbuf, size, blocked)
  read_26x_data = _openncc.read_26x_data
  
  def read_jpg_data(pbuf: 'char *', size: 'int *', blocked: 'int') -> "int":
      return _openncc.read_jpg_data(pbuf, size, blocked)
  read_jpg_data = _openncc.read_jpg_data
  
  def read_meta_data(pbuf: 'char *', size: 'int *', blocked: 'int') -> "int":
      return _openncc.read_meta_data(pbuf, size, blocked)
  read_meta_data = _openncc.read_meta_data
  
  def down_image_data(data: 'char const *', len: 'int') -> "int":
      return _openncc.down_image_data(data, len)
  down_image_data = _openncc.down_image_data
  
  def get_meta_size() -> "int":
      return _openncc.get_meta_size()
  get_meta_size = _openncc.get_meta_size
  
  def GetMetaDataExt(pbuf: 'char *') -> "int *, int *, int *":
      return _openncc.GetMetaDataExt(pbuf)
  GetMetaDataExt = _openncc.GetMetaDataExt
  
  def sdk_net3_init(cb: 'vscRecvCb', param: 'void *', blob_path: 'char const *', par: 'Network1Par', par_Len: 'int', blob2_path: 'char const *', par2: 'Network2Par', par2_Len: 'int', blob3_path: 'char const *', par3: 'Network2Par', par3_Len: 'int') -> "int":
      return _openncc.sdk_net3_init(cb, param, blob_path, par, par_Len, blob2_path, par2, par2_Len, blob3_path, par3, par3_Len)
  sdk_net3_init = _openncc.sdk_net3_init
  
  _openncc.MAX_MODE_SIZE_swigconstant(_openncc)
  MAX_MODE_SIZE = _openncc.MAX_MODE_SIZE
  
  _openncc.CAMERA_CONTROL__AE_AUTO__FLASH_MODE__OFF_swigconstant(_openncc)
  CAMERA_CONTROL__AE_AUTO__FLASH_MODE__OFF = _openncc.CAMERA_CONTROL__AE_AUTO__FLASH_MODE__OFF
  
  _openncc.CAMERA_CONTROL__AE_AUTO__FLASH_MODE__AUTO_swigconstant(_openncc)
  CAMERA_CONTROL__AE_AUTO__FLASH_MODE__AUTO = _openncc.CAMERA_CONTROL__AE_AUTO__FLASH_MODE__AUTO
  
  _openncc.CAMERA_CONTROL__AWB_MODE__OFF_swigconstant(_openncc)
  CAMERA_CONTROL__AWB_MODE__OFF = _openncc.CAMERA_CONTROL__AWB_MODE__OFF
  
  _openncc.CAMERA_CONTROL__AWB_MODE__AUTO_swigconstant(_openncc)
  CAMERA_CONTROL__AWB_MODE__AUTO = _openncc.CAMERA_CONTROL__AWB_MODE__AUTO
  
  _openncc.CAMERA_CONTROL__AF_MODE_OFF_swigconstant(_openncc)
  CAMERA_CONTROL__AF_MODE_OFF = _openncc.CAMERA_CONTROL__AF_MODE_OFF
  
  _openncc.CAMERA_CONTROL__AF_MODE_AUTO_swigconstant(_openncc)
  CAMERA_CONTROL__AF_MODE_AUTO = _openncc.CAMERA_CONTROL__AF_MODE_AUTO
  
  _openncc.VIDEO_OUT_DISABLE_swigconstant(_openncc)
  VIDEO_OUT_DISABLE = _openncc.VIDEO_OUT_DISABLE
  
  _openncc.VIDEO_OUT_SINGLE_swigconstant(_openncc)
  VIDEO_OUT_SINGLE = _openncc.VIDEO_OUT_SINGLE
  
  _openncc.VIDEO_OUT_CONTINUOUS_swigconstant(_openncc)
  VIDEO_OUT_CONTINUOUS = _openncc.VIDEO_OUT_CONTINUOUS
  
  _openncc.PWM_OUT_DISABLE_swigconstant(_openncc)
  PWM_OUT_DISABLE = _openncc.PWM_OUT_DISABLE
  
  _openncc.PWM_OUT_ENABLE_swigconstant(_openncc)
  PWM_OUT_ENABLE = _openncc.PWM_OUT_ENABLE
  class SensorModesConfig(_object):
      __swig_setmethods__ = {}
      __setattr__ = lambda self, name, value: _swig_setattr(self, SensorModesConfig, name, value)
      __swig_getmethods__ = {}
      __getattr__ = lambda self, name: _swig_getattr(self, SensorModesConfig, name)
      __repr__ = _swig_repr
      __swig_setmethods__["moduleName"] = _openncc.SensorModesConfig_moduleName_set
      __swig_getmethods__["moduleName"] = _openncc.SensorModesConfig_moduleName_get
      if _newclass:
          moduleName = _swig_property(_openncc.SensorModesConfig_moduleName_get, _openncc.SensorModesConfig_moduleName_set)
      __swig_setmethods__["camWidth"] = _openncc.SensorModesConfig_camWidth_set
      __swig_getmethods__["camWidth"] = _openncc.SensorModesConfig_camWidth_get
      if _newclass:
          camWidth = _swig_property(_openncc.SensorModesConfig_camWidth_get, _openncc.SensorModesConfig_camWidth_set)
      __swig_setmethods__["camHeight"] = _openncc.SensorModesConfig_camHeight_set
      __swig_getmethods__["camHeight"] = _openncc.SensorModesConfig_camHeight_get
      if _newclass:
          camHeight = _swig_property(_openncc.SensorModesConfig_camHeight_get, _openncc.SensorModesConfig_camHeight_set)
      __swig_setmethods__["camFps"] = _openncc.SensorModesConfig_camFps_set
      __swig_getmethods__["camFps"] = _openncc.SensorModesConfig_camFps_get
      if _newclass:
          camFps = _swig_property(_openncc.SensorModesConfig_camFps_get, _openncc.SensorModesConfig_camFps_set)
      __swig_setmethods__["AFmode"] = _openncc.SensorModesConfig_AFmode_set
      __swig_getmethods__["AFmode"] = _openncc.SensorModesConfig_AFmode_get
      if _newclass:
          AFmode = _swig_property(_openncc.SensorModesConfig_AFmode_get, _openncc.SensorModesConfig_AFmode_set)
      __swig_setmethods__["maxEXP"] = _openncc.SensorModesConfig_maxEXP_set
      __swig_getmethods__["maxEXP"] = _openncc.SensorModesConfig_maxEXP_get
      if _newclass:
          maxEXP = _swig_property(_openncc.SensorModesConfig_maxEXP_get, _openncc.SensorModesConfig_maxEXP_set)
      __swig_setmethods__["minGain"] = _openncc.SensorModesConfig_minGain_set
      __swig_getmethods__["minGain"] = _openncc.SensorModesConfig_minGain_get
      if _newclass:
          minGain = _swig_property(_openncc.SensorModesConfig_minGain_get, _openncc.SensorModesConfig_minGain_set)
      __swig_setmethods__["maxGain"] = _openncc.SensorModesConfig_maxGain_set
      __swig_getmethods__["maxGain"] = _openncc.SensorModesConfig_maxGain_get
      if _newclass:
          maxGain = _swig_property(_openncc.SensorModesConfig_maxGain_get, _openncc.SensorModesConfig_maxGain_set)
  
      def __init__(self):
          this = _openncc.new_SensorModesConfig()
          try:
              self.this.append(this)
          except Exception:
              self.this = this
      __swig_destroy__ = _openncc.delete_SensorModesConfig
      __del__ = lambda self: None
  SensorModesConfig_swigregister = _openncc.SensorModesConfig_swigregister
  SensorModesConfig_swigregister(SensorModesConfig)
  
  class Encrypt_t(_object):
      __swig_setmethods__ = {}
      __setattr__ = lambda self, name, value: _swig_setattr(self, Encrypt_t, name, value)
      __swig_getmethods__ = {}
      __getattr__ = lambda self, name: _swig_getattr(self, Encrypt_t, name)
      __repr__ = _swig_repr
      __swig_setmethods__["key_version"] = _openncc.Encrypt_t_key_version_set
      __swig_getmethods__["key_version"] = _openncc.Encrypt_t_key_version_get
      if _newclass:
          key_version = _swig_property(_openncc.Encrypt_t_key_version_get, _openncc.Encrypt_t_key_version_set)
      __swig_setmethods__["lock"] = _openncc.Encrypt_t_lock_set
      __swig_getmethods__["lock"] = _openncc.Encrypt_t_lock_get
      if _newclass:
          lock = _swig_property(_openncc.Encrypt_t_lock_get, _openncc.Encrypt_t_lock_set)
      __swig_setmethods__["hw_config"] = _openncc.Encrypt_t_hw_config_set
      __swig_getmethods__["hw_config"] = _openncc.Encrypt_t_hw_config_get
      if _newclass:
          hw_config = _swig_property(_openncc.Encrypt_t_hw_config_get, _openncc.Encrypt_t_hw_config_set)
      __swig_setmethods__["accelerate_num"] = _openncc.Encrypt_t_accelerate_num_set
      __swig_getmethods__["accelerate_num"] = _openncc.Encrypt_t_accelerate_num_get
      if _newclass:
          accelerate_num = _swig_property(_openncc.Encrypt_t_accelerate_num_get, _openncc.Encrypt_t_accelerate_num_set)
      __swig_setmethods__["hw_version"] = _openncc.Encrypt_t_hw_version_set
      __swig_getmethods__["hw_version"] = _openncc.Encrypt_t_hw_version_get
      if _newclass:
          hw_version = _swig_property(_openncc.Encrypt_t_hw_version_get, _openncc.Encrypt_t_hw_version_set)
      __swig_setmethods__["hw_version_reserve"] = _openncc.Encrypt_t_hw_version_reserve_set
      __swig_getmethods__["hw_version_reserve"] = _openncc.Encrypt_t_hw_version_reserve_get
      if _newclass:
          hw_version_reserve = _swig_property(_openncc.Encrypt_t_hw_version_reserve_get, _openncc.Encrypt_t_hw_version_reserve_set)
      __swig_setmethods__["batch_num"] = _openncc.Encrypt_t_batch_num_set
      __swig_getmethods__["batch_num"] = _openncc.Encrypt_t_batch_num_get
      if _newclass:
          batch_num = _swig_property(_openncc.Encrypt_t_batch_num_get, _openncc.Encrypt_t_batch_num_set)
      __swig_setmethods__["reserve"] = _openncc.Encrypt_t_reserve_set
      __swig_getmethods__["reserve"] = _openncc.Encrypt_t_reserve_get
      if _newclass:
          reserve = _swig_property(_openncc.Encrypt_t_reserve_get, _openncc.Encrypt_t_reserve_set)
  
      def __init__(self):
          this = _openncc.new_Encrypt_t()
          try:
              self.this.append(this)
          except Exception:
              self.this = this
      __swig_destroy__ = _openncc.delete_Encrypt_t
      __del__ = lambda self: None
  Encrypt_t_swigregister = _openncc.Encrypt_t_swigregister
  Encrypt_t_swigregister(Encrypt_t)
  
  class SensorModesList(_object):
      __swig_setmethods__ = {}
      __setattr__ = lambda self, name, value: _swig_setattr(self, SensorModesList, name, value)
      __swig_getmethods__ = {}
      __getattr__ = lambda self, name: _swig_getattr(self, SensorModesList, name)
      __repr__ = _swig_repr
      __swig_setmethods__["num"] = _openncc.SensorModesList_num_set
      __swig_getmethods__["num"] = _openncc.SensorModesList_num_get
      if _newclass:
          num = _swig_property(_openncc.SensorModesList_num_get, _openncc.SensorModesList_num_set)
      __swig_setmethods__["mode"] = _openncc.SensorModesList_mode_set
      __swig_getmethods__["mode"] = _openncc.SensorModesList_mode_get
      if _newclass:
          mode = _swig_property(_openncc.SensorModesList_mode_get, _openncc.SensorModesList_mode_set)
  
      def __init__(self):
          this = _openncc.new_SensorModesList()
          try:
              self.this.append(this)
          except Exception:
              self.this = this
      __swig_destroy__ = _openncc.delete_SensorModesList
      __del__ = lambda self: None
  SensorModesList_swigregister = _openncc.SensorModesList_swigregister
  SensorModesList_swigregister(SensorModesList)
  
  class CameraSensor(_object):
      __swig_setmethods__ = {}
      __setattr__ = lambda self, name, value: _swig_setattr(self, CameraSensor, name, value)
      __swig_getmethods__ = {}
      __getattr__ = lambda self, name: _swig_getattr(self, CameraSensor, name)
      __repr__ = _swig_repr
  
      def __init__(self):
          this = _openncc.new_CameraSensor()
          try:
              self.this.append(this)
          except Exception:
              self.this = this
      __swig_destroy__ = _openncc.delete_CameraSensor
      __del__ = lambda self: None
  
      def GetFirstSensor(self, sensor: 'SensorModesConfig') -> "int":
          return _openncc.CameraSensor_GetFirstSensor(self, sensor)
  
      def GetNextSensor(self, sensor: 'SensorModesConfig') -> "int":
          return _openncc.CameraSensor_GetNextSensor(self, sensor)
  CameraSensor_swigregister = _openncc.CameraSensor_swigregister
  CameraSensor_swigregister(CameraSensor)
  
  
  def camera_control_get_features(list: 'SensorModesList') -> "int":
      return _openncc.camera_control_get_features(list)
  camera_control_get_features = _openncc.camera_control_get_features
  
  def camera_control_get_sensorinfo(info: 'SensorModesConfig', num: 'int') -> "int":
      return _openncc.camera_control_get_sensorinfo(info, num)
  camera_control_get_sensorinfo = _openncc.camera_control_get_sensorinfo
  
  def camera_control_af_mode(af_mode: 'camera_ctrl_af_mode') -> "int":
      return _openncc.camera_control_af_mode(af_mode)
  camera_control_af_mode = _openncc.camera_control_af_mode
  
  def camera_control_lens_move(lens_position: 'uint32_t') -> "int":
      return _openncc.camera_control_lens_move(lens_position)
  camera_control_lens_move = _openncc.camera_control_lens_move
  
  def camera_control_focus_trigger() -> "int":
      return _openncc.camera_control_focus_trigger()
  camera_control_focus_trigger = _openncc.camera_control_focus_trigger
  
  def camera_control_ae_mode(flash_mode: 'camera_ctrl_ae_mode') -> "int":
      return _openncc.camera_control_ae_mode(flash_mode)
  camera_control_ae_mode = _openncc.camera_control_ae_mode
  
  def camera_control_ae_set_exp(exp_compensation: 'uint32_t') -> "int":
      return _openncc.camera_control_ae_set_exp(exp_compensation)
  camera_control_ae_set_exp = _openncc.camera_control_ae_set_exp
  
  def camera_control_ae_set_gain(iso_val: 'uint32_t') -> "int":
      return _openncc.camera_control_ae_set_gain(iso_val)
  camera_control_ae_set_gain = _openncc.camera_control_ae_set_gain
  
  def camera_control_awb_mode(awb_mode: 'camera_ctrl_awb_mode') -> "int":
      return _openncc.camera_control_awb_mode(awb_mode)
  camera_control_awb_mode = _openncc.camera_control_awb_mode
  
  def camera_video_out(video_type: 'int', mode: 'camera_ctrl_video_out') -> "int":
      return _openncc.camera_video_out(video_type, mode)
  camera_video_out = _openncc.camera_video_out
  
  def camera_select_sensor(sensorid: 'int') -> "int":
      return _openncc.camera_select_sensor(sensorid)
  camera_select_sensor = _openncc.camera_select_sensor
  
  def device_control_get_fw_version(fw: 'char *', len: 'int') -> "int":
      return _openncc.device_control_get_fw_version(fw, len)
  device_control_get_fw_version = _openncc.device_control_get_fw_version
  
  def device_control_get_device_id(id: 'uint8_t *', size: 'int') -> "int":
      return _openncc.device_control_get_device_id(id, size)
  device_control_get_device_id = _openncc.device_control_get_device_id
  
  def camera_get_ncc_id() -> "char *":
      return _openncc.camera_get_ncc_id()
  camera_get_ncc_id = _openncc.camera_get_ncc_id
  
  def camera_get_fw_version() -> "char *":
      return _openncc.camera_get_fw_version()
  camera_get_fw_version = _openncc.camera_get_fw_version
  
  def device_control_get_device_info(info: 'Encrypt_t') -> "int":
      return _openncc.device_control_get_device_info(info)
  device_control_get_device_info = _openncc.device_control_get_device_info
  
  def device_control_set_device_info(info: 'Encrypt_t') -> "int":
      return _openncc.device_control_set_device_info(info)
  device_control_set_device_info = _openncc.device_control_set_device_info
  
  def camera_control_set_bps(value: 'int') -> "int":
      return _openncc.camera_control_set_bps(value)
  camera_control_set_bps = _openncc.camera_control_set_bps
  
  _openncc.F32_RND_NEAREST_EVEN_swigconstant(_openncc)
  F32_RND_NEAREST_EVEN = _openncc.F32_RND_NEAREST_EVEN
  
  _openncc.F32_RND_MINUS_INF_swigconstant(_openncc)
  F32_RND_MINUS_INF = _openncc.F32_RND_MINUS_INF
  
  _openncc.F32_RND_PLUS_INF_swigconstant(_openncc)
  F32_RND_PLUS_INF = _openncc.F32_RND_PLUS_INF
  
  _openncc.F32_RND_TO_ZERO_swigconstant(_openncc)
  F32_RND_TO_ZERO = _openncc.F32_RND_TO_ZERO
  
  _openncc.F32_DETECT_TINY_AFTER_RND_swigconstant(_openncc)
  F32_DETECT_TINY_AFTER_RND = _openncc.F32_DETECT_TINY_AFTER_RND
  
  _openncc.F32_DETECT_TINY_BEFORE_RND_swigconstant(_openncc)
  F32_DETECT_TINY_BEFORE_RND = _openncc.F32_DETECT_TINY_BEFORE_RND
  
  _openncc.F32_EX_INEXACT_swigconstant(_openncc)
  F32_EX_INEXACT = _openncc.F32_EX_INEXACT
  
  _openncc.F32_EX_DIV_BY_ZERO_swigconstant(_openncc)
  F32_EX_DIV_BY_ZERO = _openncc.F32_EX_DIV_BY_ZERO
  
  _openncc.F32_EX_INVALID_swigconstant(_openncc)
  F32_EX_INVALID = _openncc.F32_EX_INVALID
  
  _openncc.F32_EX_UNDERFLOW_swigconstant(_openncc)
  F32_EX_UNDERFLOW = _openncc.F32_EX_UNDERFLOW
  
  _openncc.F32_EX_OVERFLOW_swigconstant(_openncc)
  F32_EX_OVERFLOW = _openncc.F32_EX_OVERFLOW
  
  _openncc.F32_NAN_DEFAULT_swigconstant(_openncc)
  F32_NAN_DEFAULT = _openncc.F32_NAN_DEFAULT
  
  def f32Tof16(x: 'float') -> "unsigned int":
      return _openncc.f32Tof16(x)
  f32Tof16 = _openncc.f32Tof16
  
  def f16Tof32(x: 'unsigned int') -> "float":
      return _openncc.f16Tof32(x)
  f16Tof32 = _openncc.f16Tof32
  # This file is compatible with both classic and new-style classes.
  
  
  