1 #ifndef INCLUDE_GAZE_GUI_DEBUG_WINDOW_H_
2 #define INCLUDE_GAZE_GUI_DEBUG_WINDOW_H_
7 #include "dlib/gui_core.h"
8 #include "dlib/gui_widgets.h"
10 #include "gaze/pipeline.h"
11 #include "gaze/util/data.h"
24 dlib::button pause_button;
28 dlib::tabbed_display pipeline_tabs;
29 dlib::text_grid statistics_widget;
32 const int w_height = 720;
33 const int w_margin = 5;
34 const int w_width = 1280;
35 const int stat_width = 250;
64 void on_user_event(
void *event_data,
int event_type)
override;
73 void open_debug_window(
Pipeline* pipeline);
79 #endif // INCLUDE_GAZE_GUI_DEBUG_WINDOW_H_
DebugWindow(Pipeline *pipeline)
The processing pipeline from input to output.
void process_data(int idx=-1)
A window to inspect computation results.
void on_user_event(void *event_data, int event_type) override
Wraps the data acquired per frame into a single instance.