Skip to content

Commit

Permalink
Changing wait message
Browse files Browse the repository at this point in the history
  • Loading branch information
alexarje committed Feb 21, 2020
1 parent 8277e24 commit a96638b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source-code/mgmotion.m
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@
numf = mg.video.obj.FrameRate*(endtime-starttime); %eg. for 1 second at 25fps, 25*(0-1) = 25
open(v);
if colorflag == true
textprogressbar('Processing video: ');
textprogressbar('Running motion analysis: ');
while hasFrame(mg.video.obj)
textprogressbar(ind/numf*100);

Expand Down Expand Up @@ -231,7 +231,7 @@
mg.video.gram.y = imcomplement(mg.video.gram.y);
end
else
textprogressbar('Processing video: ');
textprogressbar('Running motion analysis: ');
while hasFrame(mg.video.obj)
textprogressbar(ind/numf*100);

Expand Down Expand Up @@ -317,8 +317,8 @@
open(v);
fh = figure('visible','off');
fr1 = rgb2gray(readFrame(mg.video.obj));
h = waitbar(0,'Processing video...');
%textprogressbar('Processing video: ');
h = waitbar(0,'Running motion analysis...');
%textprogressbar('Running motion analysis: ');
while hasFrame(mg.video.obj)
waitbar(mg.video.obj.CurrentTime/mg.video.obj.Duration,h);
%textprogressbar(ind/numf*100);
Expand Down

0 comments on commit a96638b

Please sign in to comment.