Esempio n. 1
0
 /// <summary>
 /// Sets the specified property of video capturing
 /// </summary>
 /// <param name="property">Property identifier</param>
 /// <param name="value">Value of the property</param>
 public void SetCaptureProperty(CvEnum.CAP_PROP property, double value)
 {
     /*
      * if (_captureModuleType == CaptureModuleType.FFMPEG)
      * CvInvoke.cvSetCaptureProperty_FFMPEG(Ptr, property, value);
      * else*/
     CvInvoke.cvSetCaptureProperty(Ptr, property, value);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets the specified property of video capturing
 /// </summary>
 /// <param name="property">Property identifier</param>
 /// <param name="value">Value of the property</param>
 public void SetCaptureProperty(CvEnum.CAP_PROP property, double value)
 {
     CvInvoke.cvSetCaptureProperty(Ptr, property, value);
 }
Esempio n. 3
0
 /// <summary>
 /// Obtain the capture property
 /// </summary>
 /// <param name="index">The index for the property</param>
 /// <returns>The value of the specific property</returns>
 public double GetCaptureProperty(CvEnum.CAP_PROP index)
 {
     return(CvInvoke.cvGetCaptureProperty(_ptr, index));
 }
Esempio n. 4
0
 public static extern void cvSetCaptureProperty(IntPtr capture, CvEnum.CAP_PROP property_id, double value);
Esempio n. 5
0
 public static extern double cvGetCaptureProperty(IntPtr capture, CvEnum.CAP_PROP prop);
Esempio n. 6
0
 /// <summary>
 /// Obtain the capture property
 /// </summary>
 /// <param name="index">The index for the property</param>
 /// <returns>The value of the specific property</returns>
 public double GetCaptureProperty(CvEnum.CAP_PROP index)
 {
     return /*_captureModuleType == CaptureModuleType.FFMPEG ? CvInvoke.cvGetCaptureProperty_FFMPEG(Ptr, index) :*/ (CvInvoke.cvGetCaptureProperty(_ptr, index));
 }