From d87bb9bc0991d7ce4eeb895da61c63a204edaa4d Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sat, 30 Apr 2022 13:24:26 +1000 Subject: Add scripts for downloading/reviewing/cropping_and_resizing images Also adjust client code to handle new format, and add backend/data/README.md explaining image production process. --- backend/data/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 backend/data/README.md (limited to 'backend/data/README.md') diff --git a/backend/data/README.md b/backend/data/README.md new file mode 100644 index 0000000..3cbeb03 --- /dev/null +++ b/backend/data/README.md @@ -0,0 +1,13 @@ +File Generation Process +======================= +1 Obtain data in otol/ and eol/, as specified in their README files. +2 Run genOtolData.py, which creates data.db, and adds a 'nodes' + table using data in otol/*. +3 Run genEolNameData.py, which adds a 'names' table to data.db, + using data in eol/vernacularNames.csv and the 'nodes' table. +4 Use downloadImgsForReview.py to download EOL images into imgsForReview/. + It uses data in eol/imagesList.db, and the 'nodes' table. +5 Use reviewImgs.py to filter images in imgsForReview/ into EOL-id-unique + images in imgsReviewed/. +6 Use genImgsForWeb.py to create cropped/resized images in img/, using + images in imgsReviewed, and also to add an 'images' table to data.db. -- cgit v1.2.3