<commit_before>Tutorials using OpenCV and Python
=================================

Image correlation
-----------------

Find template image in the reference image

  Usage: img_correlation.py method_id template image gui
      method_id - 0/1/2/3 CV_TM_SQDIFF_NORMED/CV_TM_CCORR_NORMED/CV_TM_CCOEFF/CV_TM_CCOEFF_NORMED
      
      template  - template image to find in the reference image
      
      image     - image to process
      
      gui       - draw image mark match

Histogram equalization
----------------------

Equalize image histogram to a reference image using Scikit (code/image_equalize.py).

  usage: image_equalize.py [-h] -r REFERENCE [--nowrite] [--debug]
                         [file_names [file_names ...]]

  positional arguments:
    file_names            pathes image files to process

  optional arguments:
    -h, --help            show this help message and exit
    -r REFERENCE, --reference REFERENCE
                          path to the input reference image
    --nowrite             do not write equalized images to disk
    --debug               show images on screen
<commit_msg>Update README.rst<commit_after>Tutorials using OpenCV and Python
=================================

Image correlation
-----------------

Find template image in the reference image

  Usage: img_correlation.py method_id template image gui
      method_id - 0/1/2/3 CV_TM_SQDIFF_NORMED/CV_TM_CCORR_NORMED/CV_TM_CCOEFF/CV_TM_CCOEFF_NORMED
      
      template  - template image to find in the reference image
      
      image     - reference image
      
      gui       - draw image mark match

Histogram equalization
----------------------

Equalize image histogram to a reference image using Scikit (code/image_equalize.py).

  usage: image_equalize.py [-h] -r REFERENCE [--nowrite] [--debug]
                         [file_names [file_names ...]]

  positional arguments:
    file_names            pathes image files to process

  optional arguments:
    -h, --help            show this help message and exit
    -r REFERENCE, --reference REFERENCE
                          path to the input reference image
    --nowrite             do not write equalized images to disk
    --debug               show images on screen

{'fraction_non_alphanumeric': 0.11348464619492657, 'fraction_numerical': 0.0035603026257231864, 'mean_word_length': 1.9893617021276595, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1344009', 'n_tokens_mistral': 623, 'n_tokens_neox': 587, 'n_words': 206}