public class flandmark extends flandmark
| Modifier and Type | Class and Description |
|---|---|
static class |
flandmark.FLANDMARK_Data |
static class |
flandmark.FLANDMARK_LBP |
static class |
flandmark.FLANDMARK_Model |
static class |
flandmark.FLANDMARK_Options |
static class |
flandmark.FLANDMARK_PSI |
static class |
flandmark.FLANDMARK_PSI_SPARSE |
static class |
flandmark.FLANDMARK_PSIG |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_BW
enum EError_T
|
static int |
ERROR_BW_MARGIN
enum EError_T
|
static int |
ERROR_DATA_IMAGES
enum EError_T
|
static int |
ERROR_DATA_LBP
enum EError_T
|
static int |
ERROR_DATA_MAPTABLE
enum EError_T
|
static int |
ERROR_DATA_OPTIONS_PSIG
enum EError_T
|
static int |
ERROR_DATA_OPTIONS_S
enum EError_T
|
static int |
ERROR_M
enum EError_T
|
static int |
ERROR_W
enum EError_T
|
static int |
NO_ERR
enum EError_T
|
static int |
UNKNOWN_ERROR
enum EError_T
|
| Constructor and Description |
|---|
flandmark() |
| Modifier and Type | Method and Description |
|---|---|
static void |
flandmark_argmax(double[] smax,
flandmark.FLANDMARK_Options options,
int[] mapTable,
flandmark.FLANDMARK_PSI_SPARSE Psi_sparse,
double[] q,
double[] g) |
static void |
flandmark_argmax(DoubleBuffer smax,
flandmark.FLANDMARK_Options options,
IntBuffer mapTable,
flandmark.FLANDMARK_PSI_SPARSE Psi_sparse,
DoubleBuffer q,
DoubleBuffer g) |
static void |
flandmark_argmax(DoublePointer smax,
flandmark.FLANDMARK_Options options,
IntPointer mapTable,
flandmark.FLANDMARK_PSI_SPARSE Psi_sparse,
DoublePointer q,
DoublePointer g) |
static void |
flandmark_argmax(DoublePointer smax,
flandmark.FLANDMARK_Options options,
IntPointer mapTable,
flandmark.FLANDMARK_PSI_SPARSE Psi_sparse,
PointerPointer q,
PointerPointer g)
Function argmax
|
static int |
flandmark_check_model(flandmark.FLANDMARK_Model model,
flandmark.FLANDMARK_Model tst)
Function flandmark_checkModel
This function checks if both given FLANDMARK_Model data structres are equal
\param[in] model
\param[in] tst
\return
|
static int |
flandmark_detect_base(byte[] face_image,
flandmark.FLANDMARK_Model model,
double[] landmarks) |
static int |
flandmark_detect_base(ByteBuffer face_image,
flandmark.FLANDMARK_Model model,
DoubleBuffer landmarks) |
static int |
flandmark_detect_base(BytePointer face_image,
flandmark.FLANDMARK_Model model,
DoublePointer landmarks)
Function flandmark_detect_base
Estimates positions of facial landmarks in the normalized image frame.
|
static int |
flandmark_detect(opencv_core.IplImage img,
int[] bbox,
flandmark.FLANDMARK_Model model,
double[] landmarks) |
static int |
flandmark_detect(opencv_core.IplImage img,
int[] bbox,
flandmark.FLANDMARK_Model model,
double[] landmarks,
int[] bw_margin) |
static int |
flandmark_detect(opencv_core.IplImage img,
IntBuffer bbox,
flandmark.FLANDMARK_Model model,
DoubleBuffer landmarks) |
static int |
flandmark_detect(opencv_core.IplImage img,
IntBuffer bbox,
flandmark.FLANDMARK_Model model,
DoubleBuffer landmarks,
IntBuffer bw_margin) |
static int |
flandmark_detect(opencv_core.IplImage img,
IntPointer bbox,
flandmark.FLANDMARK_Model model,
DoublePointer landmarks) |
static int |
flandmark_detect(opencv_core.IplImage img,
IntPointer bbox,
flandmark.FLANDMARK_Model model,
DoublePointer landmarks,
IntPointer bw_margin)
Function flandmark_detect
Estimates positions of facial landmarks given the image and the bounding box of the detected face
|
static void |
flandmark_free(flandmark.FLANDMARK_Model model)
Function flandmark_free
This function dealocates the FLANDMARK_Model data structure
\param[in] model
|
static int |
flandmark_get_normalized_image_frame(opencv_core.IplImage input,
int[] bbox,
double[] bb,
byte[] face_img,
flandmark.FLANDMARK_Model model) |
static int |
flandmark_get_normalized_image_frame(opencv_core.IplImage input,
IntBuffer bbox,
DoubleBuffer bb,
ByteBuffer face_img,
flandmark.FLANDMARK_Model model) |
static int |
flandmark_get_normalized_image_frame(opencv_core.IplImage input,
IntPointer bbox,
DoublePointer bb,
BytePointer face_img,
flandmark.FLANDMARK_Model model)
Function getNormalizedImageFrame
|
static void |
flandmark_get_psi_mat_sparse(flandmark.FLANDMARK_PSI_SPARSE Psi,
flandmark.FLANDMARK_Model model,
int lbpidx)
Computes LBP features representing it as sparse matrix (i.e.
|
static void |
flandmark_get_psi_mat(flandmark.FLANDMARK_PSI Psi,
flandmark.FLANDMARK_Model model,
int lbpidx)
\param[out] Psi
\param[in] model
\param[in] lbpidx
|
static int |
flandmark_imcrop(opencv_core.IplImage input,
opencv_core.IplImage output,
opencv_core.CvRect region)
Function imcrop
|
static flandmark.FLANDMARK_Model |
flandmark_init(BytePointer filename)
Function flandmark_init
Given the path to the file containing the model in binary form, this function will return a pointer to this model.
|
static flandmark.FLANDMARK_Model |
flandmark_init(String filename) |
static void |
flandmark_maximize_gdotprod(double[] maximum,
double[] idx,
double[] first,
double[] second,
int[] third,
int cols,
int tsize) |
static void |
flandmark_maximize_gdotprod(DoubleBuffer maximum,
DoubleBuffer idx,
DoubleBuffer first,
DoubleBuffer second,
IntBuffer third,
int cols,
int tsize) |
static void |
flandmark_maximize_gdotprod(DoublePointer maximum,
DoublePointer idx,
DoublePointer first,
DoublePointer second,
IntPointer third,
int cols,
int tsize)
Function maximizedotprod
\param[in]
\param[in]
\param[out]
|
static void |
flandmark_write_model(BytePointer filename,
flandmark.FLANDMARK_Model model)
Function flandmark_write model
This function writes given FLANDMARK_model data structure to a file specified by its path.
|
static void |
flandmark_write_model(String filename,
flandmark.FLANDMARK_Model model) |
static void |
liblbp_pyr_addvec(long[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_addvec(LongBuffer vec,
int vec_nDim,
IntBuffer img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_addvec(LongPointer vec,
int vec_nDim,
IntPointer img,
short img_nRows,
short img_nCols) |
static double |
liblbp_pyr_dotprod(double[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols) |
static double |
liblbp_pyr_dotprod(DoubleBuffer vec,
int vec_nDim,
IntBuffer img,
short img_nRows,
short img_nCols) |
static double |
liblbp_pyr_dotprod(DoublePointer vec,
int vec_nDim,
IntPointer img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_features_sparse(int[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_features_sparse(IntBuffer vec,
int vec_nDim,
IntBuffer img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_features_sparse(IntPointer vec,
int vec_nDim,
IntPointer img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_features(byte[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_features(ByteBuffer vec,
int vec_nDim,
IntBuffer img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_features(BytePointer vec,
int vec_nDim,
IntPointer img,
short img_nRows,
short img_nCols) |
static int |
liblbp_pyr_get_dim(short img_nRows,
short img_nCols,
short nPyramids) |
static void |
liblbp_pyr_subvec(long[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_subvec(LongBuffer vec,
int vec_nDim,
IntBuffer img,
short img_nRows,
short img_nCols) |
static void |
liblbp_pyr_subvec(LongPointer vec,
int vec_nDim,
IntPointer img,
short img_nRows,
short img_nCols) |
public static final int NO_ERR
public static final int ERROR_M
public static final int ERROR_BW
public static final int ERROR_BW_MARGIN
public static final int ERROR_W
public static final int ERROR_DATA_IMAGES
public static final int ERROR_DATA_MAPTABLE
public static final int ERROR_DATA_LBP
public static final int ERROR_DATA_OPTIONS_S
public static final int ERROR_DATA_OPTIONS_PSIG
public static final int UNKNOWN_ERROR
public static flandmark.FLANDMARK_Model flandmark_init(BytePointer filename)
public static flandmark.FLANDMARK_Model flandmark_init(String filename)
public static void flandmark_write_model(BytePointer filename, flandmark.FLANDMARK_Model model)
public static void flandmark_write_model(String filename, flandmark.FLANDMARK_Model model)
public static int flandmark_check_model(flandmark.FLANDMARK_Model model, flandmark.FLANDMARK_Model tst)
public static void flandmark_free(flandmark.FLANDMARK_Model model)
public static void flandmark_get_psi_mat(flandmark.FLANDMARK_PSI Psi, flandmark.FLANDMARK_Model model, int lbpidx)
public static void flandmark_get_psi_mat_sparse(flandmark.FLANDMARK_PSI_SPARSE Psi, flandmark.FLANDMARK_Model model, int lbpidx)
public static void flandmark_maximize_gdotprod(DoublePointer maximum, DoublePointer idx, DoublePointer first, DoublePointer second, IntPointer third, int cols, int tsize)
public static void flandmark_maximize_gdotprod(DoubleBuffer maximum, DoubleBuffer idx, DoubleBuffer first, DoubleBuffer second, IntBuffer third, int cols, int tsize)
public static void flandmark_maximize_gdotprod(double[] maximum,
double[] idx,
double[] first,
double[] second,
int[] third,
int cols,
int tsize)
public static int flandmark_get_normalized_image_frame(opencv_core.IplImage input, IntPointer bbox, DoublePointer bb, BytePointer face_img, flandmark.FLANDMARK_Model model)
public static int flandmark_get_normalized_image_frame(opencv_core.IplImage input, IntBuffer bbox, DoubleBuffer bb, ByteBuffer face_img, flandmark.FLANDMARK_Model model)
public static int flandmark_get_normalized_image_frame(opencv_core.IplImage input, int[] bbox, double[] bb, byte[] face_img, flandmark.FLANDMARK_Model model)
public static int flandmark_imcrop(opencv_core.IplImage input, opencv_core.IplImage output, opencv_core.CvRect region)
public static void flandmark_argmax(DoublePointer smax, flandmark.FLANDMARK_Options options, IntPointer mapTable, flandmark.FLANDMARK_PSI_SPARSE Psi_sparse, PointerPointer q, PointerPointer g)
public static void flandmark_argmax(DoublePointer smax, flandmark.FLANDMARK_Options options, IntPointer mapTable, flandmark.FLANDMARK_PSI_SPARSE Psi_sparse, DoublePointer q, DoublePointer g)
public static void flandmark_argmax(DoubleBuffer smax, flandmark.FLANDMARK_Options options, IntBuffer mapTable, flandmark.FLANDMARK_PSI_SPARSE Psi_sparse, DoubleBuffer q, DoubleBuffer g)
public static void flandmark_argmax(double[] smax,
flandmark.FLANDMARK_Options options,
int[] mapTable,
flandmark.FLANDMARK_PSI_SPARSE Psi_sparse,
double[] q,
double[] g)
public static int flandmark_detect_base(BytePointer face_image, flandmark.FLANDMARK_Model model, DoublePointer landmarks)
public static int flandmark_detect_base(ByteBuffer face_image, flandmark.FLANDMARK_Model model, DoubleBuffer landmarks)
public static int flandmark_detect_base(byte[] face_image,
flandmark.FLANDMARK_Model model,
double[] landmarks)
public static int flandmark_detect(opencv_core.IplImage img, IntPointer bbox, flandmark.FLANDMARK_Model model, DoublePointer landmarks, IntPointer bw_margin)
public static int flandmark_detect(opencv_core.IplImage img, IntPointer bbox, flandmark.FLANDMARK_Model model, DoublePointer landmarks)
public static int flandmark_detect(opencv_core.IplImage img, IntBuffer bbox, flandmark.FLANDMARK_Model model, DoubleBuffer landmarks, IntBuffer bw_margin)
public static int flandmark_detect(opencv_core.IplImage img, IntBuffer bbox, flandmark.FLANDMARK_Model model, DoubleBuffer landmarks)
public static int flandmark_detect(opencv_core.IplImage img, int[] bbox, flandmark.FLANDMARK_Model model, double[] landmarks, int[] bw_margin)
public static int flandmark_detect(opencv_core.IplImage img, int[] bbox, flandmark.FLANDMARK_Model model, double[] landmarks)
public static void liblbp_pyr_features_sparse(IntPointer vec, int vec_nDim, IntPointer img, short img_nRows, short img_nCols)
public static void liblbp_pyr_features_sparse(IntBuffer vec, int vec_nDim, IntBuffer img, short img_nRows, short img_nCols)
public static void liblbp_pyr_features_sparse(int[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols)
public static void liblbp_pyr_features(BytePointer vec, int vec_nDim, IntPointer img, short img_nRows, short img_nCols)
public static void liblbp_pyr_features(ByteBuffer vec, int vec_nDim, IntBuffer img, short img_nRows, short img_nCols)
public static void liblbp_pyr_features(byte[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols)
public static double liblbp_pyr_dotprod(DoublePointer vec, int vec_nDim, IntPointer img, short img_nRows, short img_nCols)
public static double liblbp_pyr_dotprod(DoubleBuffer vec, int vec_nDim, IntBuffer img, short img_nRows, short img_nCols)
public static double liblbp_pyr_dotprod(double[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols)
public static void liblbp_pyr_addvec(LongPointer vec, int vec_nDim, IntPointer img, short img_nRows, short img_nCols)
public static void liblbp_pyr_addvec(LongBuffer vec, int vec_nDim, IntBuffer img, short img_nRows, short img_nCols)
public static void liblbp_pyr_addvec(long[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols)
public static void liblbp_pyr_subvec(LongPointer vec, int vec_nDim, IntPointer img, short img_nRows, short img_nCols)
public static void liblbp_pyr_subvec(LongBuffer vec, int vec_nDim, IntBuffer img, short img_nRows, short img_nCols)
public static void liblbp_pyr_subvec(long[] vec,
int vec_nDim,
int[] img,
short img_nRows,
short img_nCols)
public static int liblbp_pyr_get_dim(short img_nRows,
short img_nCols,
short nPyramids)
Copyright © 2014. All Rights Reserved.