source: other-projects/is-sheet-music-encore/trunk/COMPX520-RUN-PNG-hi-res.sh@ 33449

Last change on this file since 33449 was 33375, checked in by cpb16, 5 years ago

Full backup after running first successful highres classifier run

  • Property svn:executable set to *
File size: 435 bytes
Line 
1#!/bin/bash
2
3if [ $# != 3 ] ; then
4 echo "Usage: ./COMPX520-RUN-PNG-hi-res.sh doc_id page location" 1>&2
5 exit 1
6fi
7
8doc_id=$1
9page_num=$2
10location=$3
11
12doc_id_file=`echo $doc_id | sed 's/:/+/' | sed 's/\//=/g'`
13
14
15output_file="hires-download-images/$location/$doc_id_file-$page_num.png"
16echo "Retrieving doc-id-page: $doc_id-$page_num -> $output_file"
17echo ""
18
19./dapiclient2-extended-hi-res.pl "$doc_id/$page_num" > "$output_file"
20
21
Note: See TracBrowser for help on using the repository browser.