|
|
@@ -25,11 +25,11 @@ const genGtData = (str) => {
|
|
|
compression: 'lzw',
|
|
|
squash: true
|
|
|
})
|
|
|
- .toFile(`/Users/drew/Projects/ocrd-train/data/ground-truth/${count}.tif`)
|
|
|
+ .toFile(`./data/ground-truth/${count}.tif`)
|
|
|
.then(res => {
|
|
|
console.log(res)
|
|
|
})
|
|
|
- fs.writeFileSync(`/Users/drew/Projects/ocrd-train/data/ground-truth/${count}.gt.txt`, str + '\n');
|
|
|
+ fs.writeFileSync(`./data/ground-truth/${count}.gt.txt`, str + '\n');
|
|
|
count++
|
|
|
}
|
|
|
|