| 6 | // ---------------------------------------------------------------------- |
| 7 | |
| 8 | static void Help() |
| 9 | { |
| 10 | printf("\nExample of the AsyncDetector\n" |
| 11 | "Usage: \n" |
| 12 | " ./AsyncDetector <path to movie file> [--start_frame]=<start a video from this position> [--end_frame]=<play a video to this position> [--end_delay]=<delay in milliseconds after video ending> [--out]=<name of result video file> [--show_logs]=<show logs> \n\n" |
| 13 | "Press:\n" |
| 14 | "\'m\' key for change mode: play|pause. When video is paused you can press any key for get next frame. \n\n" |
| 15 | "Press Esc to exit from video \n\n" |
| 16 | ); |
| 17 | } |
| 18 | |
| 19 | const char* keys = |
| 20 | { |