use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class EM method getCovs.
//
// C++: void getCovs(vector_Mat& covs)
//
// javadoc: EM::getCovs(covs)
public void getCovs(List<Mat> covs) {
Mat covs_mat = new Mat();
getCovs_0(nativeObj, covs_mat.nativeObj);
Converters.Mat_to_vector_Mat(covs_mat, covs);
covs_mat.release();
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class CascadeClassifier method detectMultiScale2.
//
// C++: void detectMultiScale(Mat image, vector_Rect& objects, vector_int& numDetections, double scaleFactor = 1.1, int minNeighbors = 3, int flags = 0, Size minSize = Size(), Size maxSize = Size())
//
// javadoc: CascadeClassifier::detectMultiScale(image, objects, numDetections, scaleFactor, minNeighbors, flags, minSize, maxSize)
public void detectMultiScale2(Mat image, MatOfRect objects, MatOfInt numDetections, double scaleFactor, int minNeighbors, int flags, Size minSize, Size maxSize) {
Mat objects_mat = objects;
Mat numDetections_mat = numDetections;
detectMultiScale2_0(nativeObj, image.nativeObj, objects_mat.nativeObj, numDetections_mat.nativeObj, scaleFactor, minNeighbors, flags, minSize.width, minSize.height, maxSize.width, maxSize.height);
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class HOGDescriptor method detect.
// javadoc: HOGDescriptor::detect(img, foundLocations, weights)
public void detect(Mat img, MatOfPoint foundLocations, MatOfDouble weights) {
Mat foundLocations_mat = foundLocations;
Mat weights_mat = weights;
detect_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, weights_mat.nativeObj);
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class HOGDescriptor method compute.
// javadoc: HOGDescriptor::compute(img, descriptors)
public void compute(Mat img, MatOfFloat descriptors) {
Mat descriptors_mat = descriptors;
compute_1(nativeObj, img.nativeObj, descriptors_mat.nativeObj);
return;
}
use of org.opencv.core.Mat in project Relic_Main by TeamOverdrive.
the class HOGDescriptor method detectMultiScale.
// javadoc: HOGDescriptor::detectMultiScale(img, foundLocations, foundWeights)
public void detectMultiScale(Mat img, MatOfRect foundLocations, MatOfDouble foundWeights) {
Mat foundLocations_mat = foundLocations;
Mat foundWeights_mat = foundWeights;
detectMultiScale_1(nativeObj, img.nativeObj, foundLocations_mat.nativeObj, foundWeights_mat.nativeObj);
return;
}
Aggregations