/*
 * Copyright 2019 Xilinx Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
Important:
  ./test_jpeg_textmountain 
  ./test_performance_textmountain 
  ./test_accuracy_textmountain

1, compile

    execute the following command:

      sh build.sh

2, copy the compiled executable file and test image to the development board.

   run the executable file.
    
    sample : ./test_jpeg_textmountain textmountain_pt sample_textmountain.jpg
      output : 
result num: 9
0   0.999436
  30 213
  31 34
  924 40
  923 218
1   0.997079
  266 442
  271 252
  672 264
  667 454
2   0.996345
  0 698
  78 698
  78 832
  0 832
3   0.999372
  122 838
  126 695
  488 704
  484 847
4   0.999382
  537 704
  939 704
  939 842
  537 842
5   0.999258
  78 885
  464 885
  464 1024
  78 1024
6   0.999149
  516 917
  834 917
  834 1024
  516 1024
7   0.999524
  521 1066
  746 1066
  746 1210
  521 1210
8   0.999313
  161 1093
  469 1093
  469 1232
  161 1232
      
    sample : ./test_performance_textmountain textmountain_pt -t 4 -s 20   test_performance_textmountain.list

    sample : ./test_accuracy_textmountain textmountain_pt  test_accuracy_textmountain.list

Accuracy:
    ./test_accuracy_textmountain <model_name> <dataset_path> <image_list_filename> <output_path>

    sample:
    ./test_accuracy_textmountain textmountain_pt textmountain_dataset image_list.txt output_path/
