Home
last modified time | relevance | path

Searched refs:cascade (Results 1 – 25 of 40) sorted by relevance

12

/external/opencv/cv/src/
Dcvhaar.cpp128 CvHaarClassifierCascade* cascade = 0; in icvCreateHaarClassifierCascade() local
134 int block_size = sizeof(*cascade) + stage_count*sizeof(*cascade->stage_classifier); in icvCreateHaarClassifierCascade()
139 CV_CALL( cascade = (CvHaarClassifierCascade*)cvAlloc( block_size )); in icvCreateHaarClassifierCascade()
140 memset( cascade, 0, block_size ); in icvCreateHaarClassifierCascade()
142 cascade->stage_classifier = (CvHaarStageClassifier*)(cascade + 1); in icvCreateHaarClassifierCascade()
143 cascade->flags = CV_HAAR_MAGIC_VAL; in icvCreateHaarClassifierCascade()
144 cascade->count = stage_count; in icvCreateHaarClassifierCascade()
148 return cascade; in icvCreateHaarClassifierCascade()
156 CvHidHaarClassifierCascade* cascade = *_cascade; in icvReleaseHidHaarClassifierCascade() local
157 if( cascade->ipp_stages && icvHaarClassifierFree_32f_p ) in icvReleaseHidHaarClassifierCascade()
[all …]
DmycvHaarDetectObjects.cpp155 myicvCreateHidHaarClassifierCascade( CvHaarClassifierCascade* cascade ) in myicvCreateHidHaarClassifierCascade() argument
178 if( !CV_IS_HAAR_CLASSIFIER(cascade) ) in myicvCreateHidHaarClassifierCascade()
179 CV_ERROR( !cascade ? CV_StsNullPtr : CV_StsBadArg, "Invalid classifier pointer" ); in myicvCreateHidHaarClassifierCascade()
181 if( cascade->hid_cascade ) in myicvCreateHidHaarClassifierCascade()
184 if( !cascade->stage_classifier ) in myicvCreateHidHaarClassifierCascade()
187 if( cascade->count <= 0 ) in myicvCreateHidHaarClassifierCascade()
190 orig_window_size = cascade->orig_window_size; in myicvCreateHidHaarClassifierCascade()
194 for( i = 0; i < cascade->count; i++ ) in myicvCreateHidHaarClassifierCascade()
196 CvHaarStageClassifier* stage_classifier = cascade->stage_classifier + i; in myicvCreateHidHaarClassifierCascade()
245 sizeof(MyCvHidHaarStageClassifier)*cascade->count + in myicvCreateHidHaarClassifierCascade()
[all …]
/external/opencv3/modules/objdetect/src/
Dhaar.cpp138 CvHaarClassifierCascade* cascade = 0; in icvCreateHaarClassifierCascade() local
140 int block_size = sizeof(*cascade) + stage_count*sizeof(*cascade->stage_classifier); in icvCreateHaarClassifierCascade()
145 cascade = (CvHaarClassifierCascade*)cvAlloc( block_size ); in icvCreateHaarClassifierCascade()
146 memset( cascade, 0, block_size ); in icvCreateHaarClassifierCascade()
148 cascade->stage_classifier = (CvHaarStageClassifier*)(cascade + 1); in icvCreateHaarClassifierCascade()
149 cascade->flags = CV_HAAR_MAGIC_VAL; in icvCreateHaarClassifierCascade()
150 cascade->count = stage_count; in icvCreateHaarClassifierCascade()
152 return cascade; in icvCreateHaarClassifierCascade()
161 CvHidHaarClassifierCascade* cascade = *_cascade; in icvReleaseHidHaarClassifierCascade() local
162 if( CV_IPP_CHECK_COND && cascade->ipp_stages ) in icvReleaseHidHaarClassifierCascade()
[all …]
Dcascadedetect.hpp159 …friend int predictOrdered( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvaluator…
162 …friend int predictCategorical( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEvalu…
165 …friend int predictOrderedStump( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &featureEval…
168 …friend int predictCategoricalStump( CascadeClassifierImpl& cascade, Ptr<FeatureEvaluator> &feature…
503 inline int predictOrdered( CascadeClassifierImpl& cascade, in predictOrdered() argument
506 int nstages = (int)cascade.data.stages.size(); in predictOrdered()
509 float* cascadeLeaves = &cascade.data.leaves[0]; in predictOrdered()
510 CascadeClassifierImpl::Data::DTreeNode* cascadeNodes = &cascade.data.nodes[0]; in predictOrdered()
511 CascadeClassifierImpl::Data::DTree* cascadeWeaks = &cascade.data.classifiers[0]; in predictOrdered()
512 CascadeClassifierImpl::Data::Stage* cascadeStages = &cascade.data.stages[0]; in predictOrdered()
[all …]
/external/opencv3/samples/cpp/
Dufacedetect.cpp34 void detectAndDraw( UMat& img, Mat& canvas, CascadeClassifier& cascade,
59 CascadeClassifier cascade, nestedCascade; in main() local
96 if( !cascade.load( cascadeName ) ) in main()
103 cout << "old cascade: " << (cascade.isOldFormatCascade() ? "TRUE" : "FALSE") << endl; in main()
134 detectAndDraw( frame, canvas, cascade, nestedCascade, scale, tryflip ); in main()
145 detectAndDraw( image, canvas, cascade, nestedCascade, scale, tryflip ); in main()
166 detectAndDraw( image, canvas, cascade, nestedCascade, scale, tryflip ); in main()
184 void detectAndDraw( UMat& img, Mat& canvas, CascadeClassifier& cascade, in detectAndDraw() argument
210 cascade.detectMultiScale( gray, faces, in detectAndDraw()
220 cascade.detectMultiScale( gray, faces2, in detectAndDraw()
Dfacedetect.cpp36 void detectAndDraw( Mat& img, CascadeClassifier& cascade,
60 CascadeClassifier cascade, nestedCascade; in main() local
97 if( !cascade.load( cascadeName ) ) in main()
141 detectAndDraw( frameCopy, cascade, nestedCascade, scale, tryflip ); in main()
157 detectAndDraw( image, cascade, nestedCascade, scale, tryflip ); in main()
178 detectAndDraw( image, cascade, nestedCascade, scale, tryflip ); in main()
198 void detectAndDraw( Mat& img, CascadeClassifier& cascade, in detectAndDraw() argument
220 cascade.detectMultiScale( smallImg, faces, in detectAndDraw()
230 cascade.detectMultiScale( smallImg, faces2, in detectAndDraw()
Ddbt_face_detection.cpp55 cv::Ptr<cv::CascadeClassifier> cascade = makePtr<cv::CascadeClassifier>(cascadeFrontalfilename); in main() local
56 … cv::Ptr<DetectionBasedTracker::IDetector> MainDetector = makePtr<CascadeDetectorAdapter>(cascade); in main()
58 cascade = makePtr<cv::CascadeClassifier>(cascadeFrontalfilename); in main()
59 …:Ptr<DetectionBasedTracker::IDetector> TrackingDetector = makePtr<CascadeDetectorAdapter>(cascade); in main()
Dsmiledetect.cpp32 void detectAndDraw( Mat& img, CascadeClassifier& cascade,
57 CascadeClassifier cascade, nestedCascade; in main() local
92 if( !cascade.load( cascadeName ) ) in main()
135 detectAndDraw( frameCopy, cascade, nestedCascade, scale, tryflip ); in main()
157 void detectAndDraw( Mat& img, CascadeClassifier& cascade, in detectAndDraw() argument
177 cascade.detectMultiScale( smallImg, faces, in detectAndDraw()
187 cascade.detectMultiScale( smallImg, faces2, in detectAndDraw()
/external/opencv3/modules/objdetect/include/opencv2/objdetect/
Dobjdetect_c.h128 CVAPI(void) cvReleaseHaarClassifierCascade( CvHaarClassifierCascade** cascade );
136 CvHaarClassifierCascade* cascade, CvMemStorage* storage,
142 CVAPI(void) cvSetImagesForHaarClassifierCascade( CvHaarClassifierCascade* cascade,
147 CVAPI(int) cvRunHaarClassifierCascade( const CvHaarClassifierCascade* cascade,
156 CvHaarClassifierCascade* cascade, CvMemStorage* storage,
/external/opencv3/modules/cudaobjdetect/perf/
Dperf_objdetect.cpp126 cv::CascadeClassifier cascade; variable
127 …ASSERT_TRUE(cascade.load(perf::TestBase::getDataPath("gpu/perf/haarcascade_frontalface_alt.xml")));
131 TEST_CYCLE() cascade.detectMultiScale(img, cpu_rects);
164 cv::CascadeClassifier cascade; variable
165 …ASSERT_TRUE(cascade.load(perf::TestBase::getDataPath("gpu/lbpcascade/lbpcascade_frontalface.xml"))…
169 TEST_CYCLE() cascade.detectMultiScale(img, cpu_rects);
/external/opencv3/samples/python2/
Dfacedetect.py14 def detect(img, cascade): argument
15 …rects = cascade.detectMultiScale(img, scaleFactor=1.3, minNeighbors=4, minSize=(30, 30), flags = c…
38 cascade = cv2.CascadeClassifier(cascade_fn) variable
49 rects = detect(gray, cascade)
/external/chromium-trace/catapult/third_party/Paste/docs/modules/
Dcascade.txt1 :mod:`paste.cascade` -- send requests to multiple applications until success
4 .. automodule:: paste.cascade
/external/opencv3/doc/tutorials/objdetect/
Dtraincascade.markdown7 The work with a cascade classifier inlcudes two major stages: training and detection. Detection
9 Documentation gives some basic information about cascade classifier. Current guide is describing how
10 to train a cascade classifier: preparation of the training data and running the training applicatio…
14 There are two applications in OpenCV to train cascade classifier: opencv_haartraining and
24 formats. Note, the newer cascade detection interface (see CascadeClassifier class in objdetect
25 module) support both formats. opencv_traincascade can save (export) a trained cascade in the older
212 opencv_haartraining may be used to train a cascade classifier, but only the newer
238 Number of cascade stages to be trained.
251 This argument is actual in case of Haar-like features. If it is specified, the cascade will
308 Maximal count of weak trees for every cascade stage. The boosted classifier (stage) will
[all …]
/external/opencv3/modules/cudaobjdetect/src/cuda/
Dlbp.cu245 …__global__ void lbp_cascade(const Cascade cascade, int frameW, int frameH, int windowW, int window… in lbp_cascade() argument
275 if (cascade(y, x + wshift, integral, pitch)) in lbp_cascade()
297 …Cascade cascade((Stage*)mstages.ptr(), nstages, (ClNode*)mnodes.ptr(), mleaves.ptr(), msubsets.ptr… in classifyPyramid() local
298 …lbp_cascade<<<grid, block>>>(cascade, frameW, frameH, windowW, windowH, initialScale, factor, work… in classifyPyramid()
/external/chromium-trace/catapult/third_party/Paste/Paste.egg-info/
Dentry_points.txt15 cascade = paste.cascade:make_cascade
DPKG-INFO46 * Chain and cascade WSGI applications (returning the first non-error
47 response) in ``paste.cascade``
/external/tremolo/Tremolo/
Dres012.c77 int cascade=oggpack_read(opb,3); in res_unpack() local
79 cascade|=(oggpack_read(opb,5)<<3); in res_unpack()
80 info->stagemasks[j]=cascade; in res_unpack()
/external/chromium-trace/catapult/third_party/Paste/
DREADME.rst38 * Chain and cascade WSGI applications (returning the first non-error
39 response) in ``paste.cascade``
DPKG-INFO46 * Chain and cascade WSGI applications (returning the first non-error
47 response) in ``paste.cascade``
/external/opencv3/doc/tutorials/objdetect/cascade_classifier/
Dcascade_classifier.markdown52 …if( !face_cascade.load( face_cascade_name ) ){ printf("--(!)Error loading face cascade\n"); return…
53 …if( !eyes_cascade.load( eyes_cascade_name ) ){ printf("--(!)Error loading eyes cascade\n"); return…
/external/autotest/client/bin/
DTODO16 but doesn't cascade up
/external/opencv/cv/include/
Dcv.h1124 CVAPI(void) cvReleaseHaarClassifierCascade( CvHaarClassifierCascade** cascade ); in LOAD_CHDL()
1132 CvHaarClassifierCascade* cascade, in LOAD_CHDL()
1138 CVAPI(void) cvSetImagesForHaarClassifierCascade( CvHaarClassifierCascade* cascade, in LOAD_CHDL()
1143 CVAPI(int) cvRunHaarClassifierCascade( CvHaarClassifierCascade* cascade, in LOAD_CHDL()
1149 CvHaarClassifierCascade* cascade, in LOAD_CHDL()
1154 CVAPI(void) mycvSetImagesForHaarClassifierCascade( CvHaarClassifierCascade* cascade, in LOAD_CHDL()
1158 CVAPI(int) mycvRunHaarClassifierCascade( CvHaarClassifierCascade* cascade, in LOAD_CHDL()
/external/chromium-trace/catapult/third_party/Paste/docs/
Ddeveloper-features.txt28 * Chain and cascade WSGI applications (returning the first non-error
29 response) in :mod:`paste.cascade`
/external/opencv3/doc/py_tutorials/py_objdetect/py_face_detection/
Dpy_face_detection.markdown15 Object Detection using Haar feature-based cascade classifiers is an effective object detection
17 Boosted Cascade of Simple Features" in 2001. It is a machine learning based approach where a cascade
83 Haar-cascade Detection in OpenCV
/external/clang/test/SemaObjCXX/
Dproperty-reference.mm74 // FIXME: this is a useless cascade error.

12