Utilisation

On peut obtenir le manuel d’utilisation de ocr avec l’argument --help qui affiche le texte qui suit

Bertrand - OCR
  -i input image
  -o output image
  -denoise applay denoise filter (default: box blur)
  -gauss use gaussian filter instead of box blur
  -sharpen apply sharpen filter
  -gray convert to grayscale
  -contrast increase contrast
  -unskew unskew image
  -help  Display this list of options
  --help  Display this list of options

On peut également utiliser chacun des outils fournis par le projet de façon indépendante. Ils sont disponibles dans le dossier bin/ issus de la compilation.

  • tool_analyse_box_detect.native
  • tool_filter_binarization_otsu.native
  • tool_filter_contrast.native
  • tool_filter_denoise_box_blur.native
  • tool_filter_denoise_gaussian_blur.native
  • tool_filter_denoise_sharpen.native
  • tool_filter_grayscale.native
  • tool_filter_unskew.native

Ils obéissent aux arguments suivants

Convert color image to grayscale using luminance function
-i input image
-o output image
-d display sdl before/after
-help  Display this list of options
--help  Display this list of options

Sujet précédent

Téléchargement

Sujet suivant

Amélioration de l’image - Réduction de bruit

Cette page