From cdd1cb0e8c4fda3671714bb5ad6ba1825cff16d1 Mon Sep 17 00:00:00 2001 From: Puneet Kohli <punkohl@gmail.com> Date: Sun, 06 May 2018 21:45:26 +0000 Subject: [PATCH] Change matplotlib backend to 'agg' when 'show_plot' is false. This allows the script to be run from command line without any errors (for ex, on a remote machine) --- src/http_stream.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/src/http_stream.h b/src/http_stream.h index af3d399..78597a0 100644 --- a/src/http_stream.h +++ b/src/http_stream.h @@ -9,6 +9,7 @@ void send_mjpeg(IplImage* ipl, int port, int timeout, int quality); CvCapture* get_capture_webcam(int index); +CvCapture* get_capture_video_stream(char *path); IplImage* get_webcam_frame(CvCapture *cap); image image_data_augmentation(IplImage* ipl, int w, int h, -- Gitblit v1.10.0