|
|
6 years ago | |
|---|---|---|
| utils | 6 years ago | |
| .gitignore | 6 years ago | |
| README.md | 6 years ago | |
| create_annotations.py | 6 years ago | |
| postprocess_folders.py | 6 years ago | |
| postprocess_image_names.py | 6 years ago | |
| remove_duplicates.py | 6 years ago | |
| requirements.txt | 6 years ago | |
| run.py | 6 years ago | |
| test_reading.py | 6 years ago |
Requires >=python3.6 and pip!
pip install -r requirements.txt
Given a file (queries.txt) with following search queries:
001.Black_footed_Albatross
002.Laysan_Albatross
003.Sooty_Albatross
004.Groove_billed_Ani
# 005.Crested_Auklet
006.Least_Auklet
007.Parakeet_Auklet
# 008.Rhinoceros_Auklet
009.Brewer_Blackbird
010.Red_winged_Blackbird
011.Rusty_Blackbird
012.Yellow_headed_Blackbird
013.Bobolink
014.Indigo_Bunting
...
you can use the main script to download images for each line (excluding lines beginning with a #!) of the query file:
python run.py queries.txt -o downloads -l 20
See python run.py --help for more argument options and its documentation.
. is removed (something.query, query and 003.query are handled equally)_ are replaced with (some_query and some query are handled equally)SOME QUERY, Some Query and some query are handled equally)