Visualizer for the Functional Map of the World Challenge

The purpose of the visualizer application is to let you view object bounding boxes overlaid on satellite images, compare truth to solution annotations, and calculate your solution's score.
Download the visualizer package and unpack it anywhere on your system.
Open a command window in the directory where you unzipped the package and execute
java -Xmx2g -jar visualizer.jar 
     -data-dir <data_directory> 
     -solution <solution_file> 
(The above is a single line command, line breaks are only for readability. The -Xmx2g parameter gives 2GB RAM available for Java. If you have more RAM and you work with lots of data then it is recommended to set this value higher.)

This assumes that you have Java (at least v1.7) installed and it is available on your path. The meaning of the above parameters are the following: All file and directory parameters can be relative or absolute paths.

Other optional parameters you may use:

Examples

This command runs the tool with the small set of images that come pre-packaged with it:
java -jar visualizer.jar -data-dir ./data/ -solution solution.txt
This command will show the fmow-rgb training data set, using a maximum of 5 bounding boxes per category:
java -jar visualizer.jar -data-dir c:/fmow/data/fmow-rgb/train -max-per-cat 5
This assumes that you have already downloaded the training data from the fmow-rgb AWS bucket or torrent (see the problem statement for details) into a similar directory structure as it is in the bucket.

This command creates a TOC file for the pre-packaged sample data set.
java -jar visualizer.jar -data-dir ./data/ -toc

Operations

Image selection works by clicking on lines containing an image name in the output log window. Temporal views of the same scene are rolled up into a single line, so e.g. if a scene with ID=airport_0 has three different images taken at different times (with temporal IDs 0, 1 and 4 (note they are not necessarily continuous)) then the corresponding line will show:
   airport_0 _0 _1 _4
Clicking at _4 will open image with ID=airport_0_4.
You can zoom in/out within the image view by the mouse wheel, and pan the view by dragging.
If truth annotations are present in the meta data files and also a solution file is specified then solution and truth are compared automatically, scores are displayed in the log window and also in the command line. Images that contain error will be marked in the output log window by a '*'.

Recommended work flow