https://github.com/rubycho/flickrdataset
program written in Kotlin to download massive images from flickr
https://github.com/rubycho/flickrdataset
flickr java kotlin
Last synced: 2 months ago
JSON representation
program written in Kotlin to download massive images from flickr
- Host: GitHub
- URL: https://github.com/rubycho/flickrdataset
- Owner: rubycho
- License: mit
- Created: 2020-10-02T07:45:34.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-10-03T07:49:32.000Z (almost 6 years ago)
- Last Synced: 2025-03-17T01:42:38.083Z (over 1 year ago)
- Topics: flickr, java, kotlin
- Language: Kotlin
- Homepage:
- Size: 132 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
## FlickrDataset
**Simple** program for downloading massive images from flickr.
Archived Siblings:
- Python Implementation: [flickr-dataset](https://github.com/rubycho/flickr-dataset/)
- C++ Implementation: [flickr-dataset-cpp](https://github.com/rubycho/flickr-dataset-cpp/)
This project is intended to be cross-platform
(at least for Windows and Linux).
### Functions
- Download images by keyword from flickr (command: `download`).
- View individual images, mark images to delete (command: `review`).
- Clean-up directory (command: `cleanup`).
### How to use
- Needs JVM.
- Download jar file from release.
- Create an ini file and copy-paste below format,
edit it to match your purpose.
- Run: `java -jar FlickrDataSet*.jar [command] -c [path to your ini]`
### config.ini format
This format is identical to `config.example.ini`.
```ini
[run]
api_key = [YOUR FLICKR API KEY]
api_secret = [YOUR FLICKR SECRET KEY]
keyword = [KEYWORD]
size = [128 <= IMAGE SIZE <= 640]
sp = [START PAGE]
ep = [END PAGE]
```
### Dev Environment
- Kotlin, Gradle.
- Intellij IDEA recommended.
### Commands
#### `download`
approx. (ep - sp + 1) * 100 images will be downloaded.
#### `review`
The window will show up, and images located on `ws_[keyword]`
will be shown on the window one by one.
There are four buttons available.

- Mark/Unmark: Mark or Unmark image.
- Next: Show next image.
- Prev: Show previous image.
- Stop: Stop, and remove all marked images.
#### `cleanup`
This command will remove `ws_[keyword]` directory.