]> rtime.felk.cvut.cz Git - opencv.git/commitdiff
Temporary exclude calonder sample. Modify exit key in fback.py.
authoralekcac <alekcac@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Wed, 31 Mar 2010 13:11:16 +0000 (13:11 +0000)
committeralekcac <alekcac@73c94f0f-984f-4a5f-82bc-2d8db8d8ee08>
Wed, 31 Mar 2010 13:11:16 +0000 (13:11 +0000)
git-svn-id: https://code.ros.org/svn/opencv/trunk@2955 73c94f0f-984f-4a5f-82bc-2d8db8d8ee08

opencv/samples/c/find_obj_calonder.cpp
opencv/samples/python/fback.py

index b3a20de89befc153dd7a0948fb94ddeed26b0ad1..88c4cef0dbe9a2b3bb02979abd42ac175527cee1 100644 (file)
@@ -88,6 +88,8 @@ float CalcAffineReprojectionError(const vector<CvPoint>& p1, const vector<CvPoin
 
 int main( int argc, char** argv )
 {
+       printf("calonder_sample is under construction\n");
+       return 0;
 
        IplImage* test_image;
        IplImage* train_image;
index f11a70f3e9628f4d53badea44a7cb5b7b0793a1e..b3f4f91e6a7af8d53e1e1a5cf75521478dbd0e53 100644 (file)
@@ -45,7 +45,7 @@ class FBackDemo:
                     iterations=3, poly_n=5, poly_sigma=1.2, flags=0)
                 self.draw_flow(flow, prev_gray)
                 c = WaitKey(7)
-                if c == ord("q"):
+                if c in [27, ord('q'), ord('Q')]:
                     break
             prev_gray, gray = gray, prev_gray        
             first_frame = False