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

help4402


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

Script to download images for the lab

1 of 10 articles shown, currently no other people reading this forum.
photo
From: Yiling L.
Date: Wed 26th Feb, 3:07pm
Actions: 
        Login-to-reply
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, 3:07pm, Yiling L.
├─ reply 1   Wed 26th Feb, 6:54pm, Yiling L.  O.P.
└─ reply 2   Wed 26th Feb, 7:29pm, Benjamin L.
This Page


Program written by: [email protected]
Feedback welcome
Last modified:  8:27am May 24 2020