Faculty of Engineering and Mathematical Sciences 
Not logged in (login)


This forum is provided to promote discussion amongst students enrolled in Computer Vision (CITS4402).
Jump to:

Script to download images for the lab

1 of 10 articles shown, currently no other people reading this forum.
From: Yiling L.
Date: Wed 26th Feb 2020, 3:07pm


Os: Windows 10
Environment: Python 3.7.4

You can download all images in a folder under the current directory by this script 
without clicking and save every picture.

Variables that you can edit:

dir_name: the name of the folder
process_num: number of processes, you can accelerate the downloading process by making 
this number larger. I use multiprocess because the single process is too slow.

Open folder that contains this script in your terminal and type:
python get_img.py

or if you have multiple version of python in your computer, type:
python3 get_img.py

Enjoy it
download .py file

Related articles

Script to download images for the lab (all 3) RSS
├─ THIS   Wed 26th Feb 2020, 3:07pm, Yiling L.
├─ reply 1   Wed 26th Feb 2020, 6:54pm, Yiling L.  O.P.
└─ reply 2   Wed 26th Feb 2020, 7:29pm, Benjamin L.
This Page

Program written by: [email protected]
Feedback welcome
Last modified:  9:57am Nov 18 2020