Skip to content

Latest commit

 

History

History
27 lines (26 loc) · 1.17 KB

README.md

File metadata and controls

27 lines (26 loc) · 1.17 KB

#Program Instruction

  1. Install Python 2.7 (32-bit) from: https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi
  2. Make sure the following 'Path' are added to 'System variables':
  • C:\Python27\
  • C:\Python27\Scripts
  1. Install all dependncies for pandas: setuptools, Numpy, python-dateutil, pytz.
  • CMD Commands: pip install setuptools
  • pip install numpy
  • pip install python-dateutil
  • pip install pytz
  1. Install pandas.
  • CMD command: pip install pandas
  1. Install latest ImageMagick (32-bit) from http://www.imagemagick.org/download/binaries/
  2. Make sure the following 'Path' are added to 'System variables':
  • C:\Program Files (x86)\ImageMagick-6.9.6-Q8
  1. Install Wand (and all dependncies if necessary):
  • CMD commands: pip install Wand
  1. Run main.py.
  2. Choose the directory where all TIFF and XML file will be stored.
  3. Choose the directory of original XML files.
  4. Choose the directory of original JPG files.
  5. Indicate the number of specimens to process.
  6. The result will be stored in temp.csv.

##Note:

  1. All '|' are replaced by '!' because a filename contains '|' is illegal.
  2. All '?' are replaced by '_' because a filename contains '?' is illegal.