Home
last modified time | relevance | path

Searched refs:detector (Results 1 – 25 of 114) sorted by relevance

12345

/external/webrtc/webrtc/modules/audio_coding/neteq/
Ddelay_peak_detector_unittest.cc20 DelayPeakDetector* detector = new DelayPeakDetector(); in TEST() local
21 EXPECT_FALSE(detector->peak_found()); in TEST()
22 delete detector; in TEST()
26 DelayPeakDetector detector; in TEST() local
27 EXPECT_EQ(-1, detector.MaxPeakHeight()); in TEST()
28 EXPECT_EQ(-1, detector.MaxPeakPeriod()); in TEST()
35 DelayPeakDetector detector; in TEST() local
37 detector.SetPacketAudioLength(kPacketSizeMs); in TEST()
69 EXPECT_FALSE(detector.Update(iat_packets, kTargetBufferLevel)); in TEST()
71 EXPECT_TRUE(detector.Update(iat_packets, kTargetBufferLevel)); in TEST()
[all …]
/external/opencv3/modules/imgproc/test/
Dtest_lsd.cpp113 Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_ADV); in TEST_F() local
114 detector->detect(test_image, lines); in TEST_F()
126 Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_ADV); in TEST_F() local
127 detector->detect(test_image, lines); in TEST_F()
140 Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_ADV); in TEST_F() local
141 detector->detect(test_image, lines); in TEST_F()
153 Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_ADV); in TEST_F() local
154 detector->detect(test_image, lines); in TEST_F()
166 Ptr<LineSegmentDetector> detector = createLineSegmentDetector(LSD_REFINE_STD); in TEST_F() local
167 detector->detect(test_image, lines); in TEST_F()
[all …]
/external/opencv3/modules/features2d/misc/java/test/
DFASTFeatureDetectorTest.java19 FeatureDetector detector; field in FASTFeatureDetectorTest
38 detector = FeatureDetector.create(FeatureDetector.FAST); in setUp()
44 assertNotNull(detector); in testCreate()
59 detector.detect(img, keypoints); in testDetectMatListOfKeyPoint()
73 detector.detect(img, keypoints, mask); in testDetectMatListOfKeyPointMat()
79 assertFalse(detector.empty()); in testEmpty()
86 detector.read(filename); in testRead()
90 detector.detect(grayChess, keypoints1); in testRead()
93 detector.read(filename); in testRead()
97 detector.detect(grayChess, keypoints2); in testRead()
[all …]
DSURFFeatureDetectorTest.java23 FeatureDetector detector; field in SURFFeatureDetectorTest
57 detector = FeatureDetector.create(FeatureDetector.SURF); in setUp()
68 assertNotNull(detector); in testCreate()
74 detector.read(filename); in testDetectListOfMatListOfListOfKeyPoint()
83 detector.detect(crosses, keypoints); in testDetectListOfMatListOfListOfKeyPoint()
101 detector.read(filename); in testDetectMatListOfKeyPoint()
106 detector.detect(cross, keypoints); in testDetectMatListOfKeyPoint()
116 detector.read(filename); in testDetectMatListOfKeyPointMat()
122 detector.detect(img, keypoints, mask); in testDetectMatListOfKeyPointMat()
130 assertFalse(detector.empty()); in testEmpty()
[all …]
DSTARFeatureDetectorTest.java19 FeatureDetector detector; field in STARFeatureDetectorTest
47 detector = FeatureDetector.create(FeatureDetector.STAR); in setUp()
63 assertNotNull(detector); in testCreate()
78 detector.detect(img, keypoints); in testDetectMatListOfKeyPoint()
88 detector.detect(img, keypoints, mask); in testDetectMatListOfKeyPointMat()
94 assertFalse(detector.empty()); in testEmpty()
101 detector.detect(img, keypoints1); in testRead()
105 detector.read(filename); in testRead()
108 detector.detect(img, keypoints2); in testRead()
116 detector.write(filename); in testWrite()
[all …]
DFeatures2dTest.java84 FeatureDetector detector = FeatureDetector.create(FeatureDetector.SURF); in testPTOD() local
90 detector.read(detectorCfgFile); in testPTOD()
102 detector.detect(imgTrain, trainKeypoints); in testPTOD()
103 detector.detect(imgQuery, queryKeypoints); in testPTOD()
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/
DContentTypeDetectorTest.java37 private ContentTypeDetector detector; field in ContentTypeDetectorTest
42 assertEquals(ContentTypeDetector.UNKNOWN, detector.getType()); in testEmptyStream()
50 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile()
57 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile11()
64 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile12()
71 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile13()
78 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile14()
85 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile15()
92 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile16()
99 assertEquals(ContentTypeDetector.CLASSFILE, detector.getType()); in testClassFile17()
[all …]
/external/opencv3/modules/features2d/perf/
Dperf_orb.cpp25 Ptr<ORB> detector = ORB::create(1500, 1.3f, 1); in PERF_TEST_P() local
28 TEST_CYCLE() detector->detect(frame, points, mask); in PERF_TEST_P()
45 Ptr<ORB> detector = ORB::create(1500, 1.3f, 1); in PERF_TEST_P() local
47 detector->detect(frame, points, mask); in PERF_TEST_P()
52 TEST_CYCLE() detector->compute(frame, points, descriptors); in PERF_TEST_P()
67 Ptr<ORB> detector = ORB::create(1500, 1.3f, 1); in PERF_TEST_P() local
72 TEST_CYCLE() detector->detectAndCompute(frame, mask, points, descriptors, false); in PERF_TEST_P()
/external/opencv3/modules/features2d/perf/opencl/
Dperf_orb.cpp25 Ptr<ORB> detector = ORB::create(1500, 1.3f, 1); in OCL_PERF_TEST_P() local
28 OCL_TEST_CYCLE() detector->detect(frame, points, mask); in OCL_PERF_TEST_P()
47 Ptr<ORB> detector = ORB::create(1500, 1.3f, 1); in OCL_PERF_TEST_P() local
49 detector->detect(frame, points, mask); in OCL_PERF_TEST_P()
54 OCL_TEST_CYCLE() detector->compute(frame, points, descriptors); in OCL_PERF_TEST_P()
77 Ptr<ORB> detector = ORB::create(1500, 1.3f, 1); in OCL_PERF_TEST_P() local
82 OCL_TEST_CYCLE() detector->detectAndCompute(frame, mask, points, descriptors, false); in OCL_PERF_TEST_P()
/external/opencv3/modules/cudaobjdetect/src/
Dhog.cpp138 virtual void setSVMDetector(InputArray detector);
247 const Mat detector = _detector.getMat(); in setSVMDetector() local
249 CV_Assert( detector.type() == CV_32FC1 ); in setSVMDetector()
250 CV_Assert( detector.rows == 1 ); in setSVMDetector()
251 CV_Assert( detector.cols == descriptor_size || detector.cols == descriptor_size + 1 ); in setSVMDetector()
253 …std::vector<float> detector_reordered(detector.ptr<float>(), detector.ptr<float>() + detector.cols… in setSVMDetector()
262 … const float* src = detector.ptr<float>() + (j * blocks_per_win.height + i) * block_hist_size; in setSVMDetector()
270 free_coef_ = detector.cols > descriptor_size ? detector.at<float>(0, descriptor_size) : 0; in setSVMDetector()
548 static float detector[] = { in getPeopleDetector48x96() local
881 return Mat(1, static_cast<int>(sizeof(detector)/sizeof(detector[0])), CV_32FC1, detector); in getPeopleDetector48x96()
[all …]
/external/opencv3/samples/python2/
Dfind_obj.py28 detector = cv2.xfeatures2d.SIFT_create()
31 detector = cv2.xfeatures2d.SURF_create(800)
34 detector = cv2.ORB_create(400)
37 detector = cv2.AKAZE_create()
40 detector = cv2.BRISK_create()
55 return detector, matcher
149 detector, matcher = init_feature(feature_name) variable
159 if detector is None:
165 kp1, desc1 = detector.detectAndCompute(img1, None)
166 kp2, desc2 = detector.detectAndCompute(img2, None)
Dasift.py66 def affine_detect(detector, img, mask=None, pool=None): argument
84 keypoints, descrs = detector.detectAndCompute(timg, tmask)
121 detector, matcher = init_feature(feature_name) variable
131 if detector is None:
138 kp1, desc1 = affine_detect(detector, img1, pool=pool)
139 kp2, desc2 = affine_detect(detector, img2, pool=pool)
/external/webrtc/webrtc/modules/remote_bitrate_estimator/
Dremote_bitrate_estimator_single_stream.cc41 detector(options) {} in Detector()
45 OveruseDetector detector; member
95 const BandwidthUsage prior_state = estimator->detector.State(); in IncomingPacket()
104 estimator->detector.State()); in IncomingPacket()
105 estimator->detector.Detect(estimator->estimator.offset(), in IncomingPacket()
109 if (estimator->detector.State() == kBwOverusing) { in IncomingPacket()
161 if (it->second->detector.State() > bw_state) { in UpdateEstimate()
162 bw_state = it->second->detector.State(); in UpdateEstimate()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/instr/
DInstrumenter.java176 final ContentTypeDetector detector = new ContentTypeDetector(input); in instrumentAll() local
177 switch (detector.getType()) { in instrumentAll()
179 instrument(detector.getInputStream(), output, name); in instrumentAll()
182 return instrumentZip(detector.getInputStream(), output, name); in instrumentAll()
184 return instrumentGzip(detector.getInputStream(), output, name); in instrumentAll()
186 return instrumentPack200(detector.getInputStream(), output, name); in instrumentAll()
188 copy(detector.getInputStream(), output); in instrumentAll()
/external/jacoco/org.jacoco.core/src/org/jacoco/core/analysis/
DAnalyzer.java172 final ContentTypeDetector detector = new ContentTypeDetector(input); in analyzeAll() local
173 switch (detector.getType()) { in analyzeAll()
175 analyzeClass(detector.getInputStream(), name); in analyzeAll()
178 return analyzeZip(detector.getInputStream(), name); in analyzeAll()
180 return analyzeGzip(detector.getInputStream(), name); in analyzeAll()
182 return analyzePack200(detector.getInputStream(), name); in analyzeAll()
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/
DActorGestureListener.java34 private final GestureDetector detector; field in ActorGestureListener
45detector = new GestureDetector(halfTapSquareSize, tapCountInterval, longPressDuration, maxFlingDel… in ActorGestureListener()
105 detector.touchDown(event.getStageX(), event.getStageY(), event.getPointer(), event.getButton()); in handle()
113 detector.touchUp(event.getStageX(), event.getStageY(), event.getPointer(), event.getButton()); in handle()
120 detector.touchDragged(event.getStageX(), event.getStageY(), event.getPointer()); in handle()
155 return detector; in getGestureDetector()
/external/opencv3/modules/cudaimgproc/test/
Dtest_gftt.cpp79 …cv::Ptr<cv::cuda::CornersDetector> detector = cv::cuda::createGoodFeaturesToTrackDetector(image.ty… in CUDA_TEST_P() local
82 detector->detect(loadMat(image), d_pts); in CUDA_TEST_P()
120 …cv::Ptr<cv::cuda::CornersDetector> detector = cv::cuda::createGoodFeaturesToTrackDetector(src.type… in CUDA_TEST_P() local
122 detector->detect(src, corners); in CUDA_TEST_P()
/external/pdfium/xfa/src/fxbarcode/datamatrix/
DBC_DataMatrixReader.cpp49 CBC_DataMatrixDetector detector(cdr); in Decode() local
50 detector.Init(e); in Decode()
52 CBC_QRDetectorResult* ddr = detector.Detect(e); in Decode()
/external/opencv3/modules/features2d/test/
Dtest_brisk.cpp75 Ptr<FeatureDetector> detector = BRISK::create(); in run() local
79 detector->detect(image1, keypoints1); in run()
80 detector->detect(image2, keypoints2); in run()
Dtest_keypoints.cpp60 detector(_detector) {} in CV_FeatureDetectorKeypointsTest()
65 CV_Assert(detector); in run()
78 detector->detect(image, keypoints); in run()
116 Ptr<FeatureDetector> detector; member in CV_FeatureDetectorKeypointsTest
/external/opencv3/doc/tutorials/features2d/trackingmotion/generic_corner_detector/
Dgeneric_corner_detector.markdown1 Creating yor own corner detector {#tutorial_generic_corner_detector}
13 - To implement our own version of the Harris detector as well as the Shi-Tomasi detector, by using
/external/opencv3/doc/tutorials/features2d/feature_description/
Dfeature_description.markdown51 Ptr<SURF> detector = SURF::create();
52 detector->setHessianThreshold(minHessian);
57 detector->detectAndCompute( img_1, Mat(), keypoints_1, descriptors_1 );
58 detector->detectAndCompute( img_2, Mat(), keypoints_2, descriptors_2 );
/external/opencv3/doc/tutorials/features2d/feature_flann_matcher/
Dfeature_flann_matcher.markdown22 * @brief SURF detector + descriptor + FLANN Matcher
60 Ptr<SURF> detector = SURF::create();
61 detector->setHessianThreshold(minHessian);
66 detector->detectAndCompute( img_1, Mat(), keypoints_1, descriptors_1 );
67 detector->detectAndCompute( img_2, Mat(), keypoints_2, descriptors_2 );
/external/opencv3/samples/cpp/
Ddbt_face_detection.cpp22 CascadeDetectorAdapter(cv::Ptr<cv::CascadeClassifier> detector): in CascadeDetectorAdapter() argument
24 Detector(detector) in CascadeDetectorAdapter()
26 CV_Assert(detector); in CascadeDetectorAdapter()
/external/opencv3/samples/cpp/tutorial_code/features2D/AKAZE_tracking/
Dplanar_tracking.cpp24 detector(_detector), in Tracker()
31 return detector; in getDetector()
34 Ptr<Feature2D> detector; member in Tracker
44 detector->detectAndCompute(first_frame, noArray(), first_kp, first_desc); in setFirstFrame()
55 detector->detectAndCompute(frame, noArray(), kp, desc); in process()

12345