Home
last modified time | relevance | path

Searched refs:frame_gray (Results 1 – 8 of 8) sorted by relevance

/external/opencv3/samples/cpp/tutorial_code/objectDetection/
DobjectDetection.cpp57 Mat frame_gray; in detectAndDisplay() local
59 cvtColor( frame, frame_gray, COLOR_BGR2GRAY ); in detectAndDisplay()
60 equalizeHist( frame_gray, frame_gray ); in detectAndDisplay()
63 face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0|CASCADE_SCALE_IMAGE, Size(30, 30) ); in detectAndDisplay()
70 Mat faceROI = frame_gray( faces[i] ); in detectAndDisplay()
DobjectDetection2.cpp66 Mat frame_gray; in detectAndDisplay() local
68 cvtColor( frame, frame_gray, COLOR_BGR2GRAY ); in detectAndDisplay()
69 equalizeHist( frame_gray, frame_gray ); in detectAndDisplay()
72 face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0, Size(80, 80) ); in detectAndDisplay()
76 Mat faceROI = frame_gray( faces[i] ); in detectAndDisplay()
/external/opencv3/samples/python2/
Dlk_homography.py56 frame_gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
59 p2, trace_status = checkedTrace(self.gray1, frame_gray, self.p1)
63 self.gray1 = frame_gray
81 p = cv2.goodFeaturesToTrack(frame_gray, **feature_params)
94 self.p0 = cv2.goodFeaturesToTrack(frame_gray, **feature_params)
97 self.gray0 = frame_gray
98 self.gray1 = frame_gray
Dlk_track.py47 frame_gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
51 img0, img1 = self.prev_gray, frame_gray
71 mask = np.zeros_like(frame_gray)
75 p = cv2.goodFeaturesToTrack(frame_gray, mask = mask, **feature_params)
82 self.prev_gray = frame_gray
Dmosse.py149 frame_gray = cv2.cvtColor(self.frame, cv2.COLOR_BGR2GRAY)
150 tracker = MOSSE(frame_gray, rect)
159 frame_gray = cv2.cvtColor(self.frame, cv2.COLOR_BGR2GRAY)
161 tracker.update(frame_gray)
/external/opencv3/samples/winrt/FaceDetection/FaceDetection/
DMainPage.xaml.cpp60 cv::Mat frame_gray; variable
62 cvtColor(groupFaces, frame_gray, CV_BGR2GRAY);
63 cv::equalizeHist(frame_gray, frame_gray);
66 …face_cascade.detectMultiScale(frame_gray, facesColl, 1.1, 2, 0 | CV_HAAR_SCALE_IMAGE, cv::Size(1, …
/external/opencv3/doc/tutorials/objdetect/cascade_classifier/
Dcascade_classifier.markdown80 Mat frame_gray;
82 cvtColor( frame, frame_gray, COLOR_BGR2GRAY );
83 equalizeHist( frame_gray, frame_gray );
86 face_cascade.detectMultiScale( frame_gray, faces, 1.1, 2, 0|CASCADE_SCALE_IMAGE, Size(30, 30) );
93 Mat faceROI = frame_gray( faces[i] );
/external/opencv3/doc/py_tutorials/py_video/py_lucas_kanade/
Dpy_lucas_kanade.markdown125 frame_gray = cv2.cvtColor(frame, cv2.COLOR_BGR2GRAY)
128 p1, st, err = cv2.calcOpticalFlowPyrLK(old_gray, frame_gray, p0, None, **lk_params)
148 old_gray = frame_gray.copy()