filmov
tv
Creating data-driven fabric designs // Part 1: Scraping & data preparation with NodeJS

Показать описание
The scraping is done using NodeJS with the node-fetch and cheerio libraries. Once all the images and accompanying data are gathered we further process the images by cropping them slightly (10 pixels each way). To this end I demonstrate using ImageMagick's 'chop' command.
0:00 Intro
3:08 Exploring the watercolour collection
5:59 Project init and starter code
10:29 Parsing results with Cheerio
18:15 Filtering results and parsing common name from results
22:28 Paging through and saving results
24:34 Bulk cropping images with ImageMagick