https://github.com/shingt/imagefetcher
Tool to manage image files by aggregating them from google image search and categorizing.
https://github.com/shingt/imagefetcher
Last synced: over 1 year ago
JSON representation
Tool to manage image files by aggregating them from google image search and categorizing.
- Host: GitHub
- URL: https://github.com/shingt/imagefetcher
- Owner: shingt
- Created: 2013-04-05T11:13:01.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2016-02-06T19:35:05.000Z (over 10 years ago)
- Last Synced: 2025-03-24T11:13:30.969Z (over 1 year ago)
- Language: Ruby
- Size: 4.88 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ImageFetcher
Just download images using google image search engine.
## Usage
```sh
# If word argument is omitted, words.txt in the same directory is used instead.
ruby google_images.rb word1 word2 ...
```
### update_image_names.rb
```sh
ruby update_image_names.rb file_names.txt
```
and if `file_names.txt` contains
```sh
apples
faces
animals
```
then
```sh
apples/apples.txt
faces/faces/txt
animals/animals.txt
```
will be generated.
Each file contains names of images for each category.
For instance, `apples.txt` will contain
```sh
apple/apple1.jpg
apple/apple2.jpg
apple/apple333.png
```
Note image file name comes from the original images under `apples/` directory in this case.