<commit_before># exif_keywords_generator
Generate keywords using Computer Vison API from Clarifai.com. Use exiftool for update metadata.

## How to use
Install last stable version of [NodeJS](https://nodejs.org) and npm.
Enter folder with exif_keywords_generator and install dependencies by command. Use bash in Linux, Terminal in MacOs and cmd.exe in Windows
```
$ npm install
```
If you use Windows.
```
$ npm install --global --production windows-build-tools
```
Register on [clarifai.com](https://clarifai.com) and get ClientId and Secret from profile.
Open index.js in any text editor and enter change config params.
```
config = {
    clarifaiClientId: '',
    clarifaiSecret: '',
    imagesDir: 'files',
    resizedImageWidth: 1000,
    resizedImageQuality: 100,
    minimumPredictPercent: 0.5
}
```
We are good to go.
```
$ node --harmony index.js
```<commit_msg>Some fixes in README<commit_after># exif_keywords_generator
Generate keywords using Computer Vison API from Clarifai.com. Use exiftool for update metadata.

## How to use
Install last stable version of [NodeJS](https://nodejs.org) and npm.
Enter folder with exif_keywords_generator and install dependencies by command. Use bash in Linux, Terminal in MacOs and cmd.exe in Windows
```
$ npm install
```
If you use Windows.
```
$ npm install --global --production windows-build-tools
```
Register on [clarifai.com](https://clarifai.com) and get ClientId and Secret from profile.

Open index.js in any text editor and enter change config params.
```
config = {
    clarifaiClientId: '',
    clarifaiSecret: '',
    imagesDir: 'files',
    resizedImageWidth: 1000,
    resizedImageQuality: 100,
    minimumPredictPercent: 0.5
}
```
We are good to go.
```
$ node --harmony index.js
```
{'fraction_non_alphanumeric': 0.10514285714285715, 'fraction_numerical': 0.010285714285714285, 'mean_word_length': 4.195845697329377, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5460592', 'n_tokens_mistral': 563, 'n_tokens_neox': 515, 'n_words': 197}