org.opencv.video.Video.CamShift_0()方法的使用及代码示例

x33g5p2x  于2022-02-01 转载在 其他  
字(7.8k)|赞(0)|评价(0)|浏览(118)

本文整理了Java中org.opencv.video.Video.CamShift_0()方法的一些代码示例,展示了Video.CamShift_0()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Video.CamShift_0()方法的具体详情如下:
包路径:org.opencv.video.Video
类名称:Video
方法名:CamShift_0

Video.CamShift_0介绍

暂无

代码示例

代码示例来源:origin: SOFTPOWER1991/OpenCVCheck

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: kongqw/OpenCVForAndroid

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: InnoFang/Android-Code-Demos

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: tz28/Chinese-number-gestures-recognition

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: farkam135/GoIV

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: DuckDeck/AndroidDemo

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: ctodobom/OpenCV-3.1.0-Android

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: akshika47/OpencvAndroid

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: leadrien/opencv_native_androidstudio

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: imistyrain/EasyPR4Android

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: SouvDc/face-detection

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: hschott/Camdroid

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: raulh82vlc/Image-Detection-Samples

public static RotatedRect CamShift(Mat probImage, Rect window, TermCriteria criteria)
{
  double[] window_out = new double[4];
  RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
  if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; } 
  return retVal;
}

代码示例来源:origin: jtsky/EasyPR_Android

RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; }
return retVal;

代码示例来源:origin: abhn/marvel

RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; }
return retVal;

代码示例来源:origin: ytai/IOIOPlotter

RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; }
return retVal;

代码示例来源:origin: nu.pattern/opencv

RotatedRect retVal = new RotatedRect(CamShift_0(probImage.nativeObj, window.x, window.y, window.width, window.height, window_out, criteria.type, criteria.maxCount, criteria.epsilon));
if(window!=null){ window.x = (int)window_out[0]; window.y = (int)window_out[1]; window.width = (int)window_out[2]; window.height = (int)window_out[3]; }
return retVal;

相关文章