From 9ca7b34586a6f5b72a4dcd8bcff3e38ff1d26ca0 Mon Sep 17 00:00:00 2001 From: aditya-K2 Date: Mon, 29 Nov 2021 00:20:52 +0530 Subject: [PATCH] UPDATE README --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 795d85a..fa3b86b 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,16 @@ and the image is rendered at pixel positions so the exact position can't be defi the font width and then predicting the position but it is best that you define extra padding and own image width ratio in config.yml. Please Read more about it in the [sample_config](https://github.com/aditya-K2/goMP/blob/master/sample_config.yml) +# Setting Up Cache Directory and Cache File + +The Images that are extracted are cached. +In the `config.yml` file add the following + +``` +CACHE_DIR : "/path/to/the/cache/Directory" +CACHE_FILE : "/path/to/the/cache/file" # Cache file stores the path to all the images ( think of it like a database. ) +``` + ## Key Mappings Following Keys can be used for Mappings