Hi,
What I observed is that
after a tracking failure [image, region] = traxserver('wait') command outputs
an empty image path.
I realized this after putting a debug text file with an if statement.
The trax messages are given below and it says that there is a timeout reached:
@@TRAX:state "563.0000,347.0000,33.0000,11.0000"
CLIENT: Resetting program.
CLIENT: Trying to stop process nicely.
CLIENT: Flushing streams
CLIENT: Process should be terminated.
CLIENT: Stopping logger.
CLIENT: Tracker exited (stopped by signal 15)
CLIENT: Starting process /usr/local/MATLAB/R2015a/bin/matlab -nodesktop -nosplash -r "try; diary 'runtime.log'; addpath('/media/avaapm01/Erhan/VOT2017/CFCF_CCOT/VOT_integration/benchmark_wrapper');addpath('/media/avaapm01/Erhan/VOT2017/vot-toolkit/native/mex');CFCF_Wrapper_F; catch ex; disp(getReport(ex)); quit; end;"
CLIENT: Working directory is /tmp/tp5970f502_7241_4217_9052_8868cd240f29
@@TRAX:quit
CLIENT: Setting up TraX with standard streams connection
MATLAB is selecting SOFTWARE OPENGL rendering.
< M A T L A B (R) >
Copyright 1984-2015 The MathWorks, Inc.
R2015a (8.5.0.197613) 64-bit (glnxa64)
February 12, 2015
Warning: Duplicate directory name: /usr/local/MATLAB/R2015a/toolbox/local
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit
www.mathworks.com.
@@TRAX:hello "trax.image=path;" "trax.region=polygon;" "trax.version=1"
CLIENT: Tracker process ID: 29642
CLIENT: Connection with tracker established.
@@TRAX:initialize "file:///media/avaapm01/Erhan/VOT2017/vot-workspace/sequences/birds1/00000031.jpg" "546.9900,338.6700,599.2100,336.6500,600.6300,373.2800,548.4100,375.3000"
CLIENT: Timeout reached. Stopping tracker process ...
CLIENT: Trying to stop process nicely.
CLIENT: Flushing streams
CLIENT: Process should be terminated.
CLIENT: Stopping logger.
CLIENT: Tracker exited normally.
CLIENT: Cleaning up.
CLIENT: Stopping logger thread
CLIENT: Stopping watchdog thread
Tracker execution interrupted: Did not receive response.
Error using traxclient
Did not receive response.
Error in tracker_run (line 76)
data = traxclient(tracker.command, callback, ...
Error in experiment_supervised (line 67)
data = tracker_run(tracker, @callback, data);
Error in tracker_evaluate (line 57)
[files, metadata] = experiment_function(tracker, sequence, directory, parameters, scan);
Error in workspace_evaluate>execute_iterator (line 127)
tracker_evaluate(event.tracker, event.sequence, event.experiment);
Error in iterate (line 65)
context = iterator(event, context);
Error in workspace_evaluate (line 93)
context = iterate(experiments, trackers, sequences, 'iterator', iterator, 'context', context);