public class OpenCVHelper
extends java.lang.Object
コンストラクタと説明 |
---|
OpenCVHelper() |
修飾子とタイプ | メソッドと説明 |
---|---|
static double |
getFocusScore(byte[] grayimage,
int width,
int heght) |
static double |
getFocusScore(FaceDetectResult result) |
static double |
getFocusScore(org.opencv.core.Mat grayimage) |
static double |
getFocusScore(java.lang.String filepath,
int width,
int heght) |
static double |
getFocusScorefromJpegBuf(byte[] jpegdata,
int width,
int heght) |
static double |
MotionDetect(byte[] grayimage)
動態検出
|
static org.opencv.core.Mat |
TrimImage(org.opencv.core.Mat image,
int top,
int left,
int width,
int heght) |
public static double getFocusScore(java.lang.String filepath, int width, int heght)
public static double getFocusScorefromJpegBuf(byte[] jpegdata, int width, int heght)
public static org.opencv.core.Mat TrimImage(org.opencv.core.Mat image, int top, int left, int width, int heght)
public static double getFocusScore(FaceDetectResult result)
public static double getFocusScore(byte[] grayimage, int width, int heght)
public static double getFocusScore(org.opencv.core.Mat grayimage)
public static double MotionDetect(byte[] grayimage)
grayimage
- グレースケール画像 (640x480)