break down big functions. Closes #12
[ozzloy@gmail.com/oble] / oble.h
diff --git a/oble.h b/oble.h
index 3e65b6e1a1b569cd4529408cf6fb0a99c1ca5b90..cb4cd243ef30265c9241d8c53265671a49ba5e36 100644 (file)
--- a/oble.h
+++ b/oble.h
@@ -49,3 +49,11 @@ void detect_and_draw_objects(IplImage* image,
 void screensave(time_t t_current);
 
 int parse_opts(int argc, char **argv);
+
+int do_capture();
+
+int get_one_frame(CvCapture* capture, IplImage* &frame);
+
+void get_frames(CvCapture* capture, CvHaarClassifierCascade* cascade);
+
+void update_idle(int faces_total);