diff --git a/src/MocapNET2/MocapNET2LiveWebcamDemo/livedemo.cpp b/src/MocapNET2/MocapNET2LiveWebcamDemo/livedemo.cpp index 8002e66..669b841 100644 --- a/src/MocapNET2/MocapNET2LiveWebcamDemo/livedemo.cpp +++ b/src/MocapNET2/MocapNET2LiveWebcamDemo/livedemo.cpp @@ -93,6 +93,7 @@ int main(int argc, char *argv[]) options.inputIsSingleImage = 1; options.doOutputFiltering = 0; //There is no motion to filter so skip this singleImageFrame=imread(options.webcamSource); + singleImageFrame.copyTo(frame); } else if (strstr(options.webcamSource,"/dev/video")!=0) {