<commit_before># locate-images

## This is coding challenge!

Using Ruby, create a command line application that recursively reads all of the images from the supplied directory of images,
extracts their EXIF GPS data (longitude and latitude), and then writes the name of that image and any GPS co-ordinates it finds to a CSV file.

This utility should be runnable from the command line (i.e.: ‘ruby ./app.rb’) or as an executable.

With no parameters, the utility should default to scanning from the current directory. It should take an optional parameter that allows any other directory to be passed in.

As a bonus, output either CSV or HTML, based on a parameter passed in via the command line.

Feel free to use any gem(s) you like in your submission.


## Installation

    $ gem install locate-images

## Usage

```
$> locate-images

Usage: locate-images [options] [directory]
    -f, --format FORMAT              csv by default. Accepts `csv` or `html`
    -o, --output FILE                stdout by default
```

## Development
<commit_msg>Add notes to README<commit_after># locate-images

## This is a coding challenge!

### Instructions

Using Ruby, create a command line application that recursively reads all of the images from the supplied directory of images,
extracts their EXIF GPS data (longitude and latitude), and then writes the name of that image and any GPS co-ordinates it finds to a CSV file.

This utility should be runnable from the command line (i.e.: ‘ruby ./app.rb’) or as an executable.

With no parameters, the utility should default to scanning from the current directory. It should take an optional parameter that allows any other directory to be passed in.

As a bonus, output either CSV or HTML, based on a parameter passed in via the command line.

Feel free to use any gem(s) you like in your submission.

### Notes

* There is a spec directory... but no specs. :-|
* Images are lazy loaded, so it should support directories without
  thousands of images
* I would love to make the html output display the image and link to
  google maps.


## Installation

    $ gem install locate-images

## Usage

```
$> locate-images

Usage: locate-images [options] [directory]
    -f, --format FORMAT              csv by default. Accepts `csv` or `html`
    -o, --output FILE                stdout by default
```

## Development

{'fraction_non_alphanumeric': 0.06796941376380629, 'fraction_numerical': 0.0, 'mean_word_length': 3.4018691588785046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1607227', 'n_tokens_mistral': 634, 'n_tokens_neox': 603, 'n_words': 347}