Deslant Cursive Images

About

Use it to deslant cursive font images into vetical font. Can be useful in OCR and segmenting words from sentence images

Requirements

Libraries required:

  • opencv-python
  • numpy
  • collections

Usage

Run test.py to use the code. Change the image path in the test.py to use your custom images. Results will be stored in output folder.

Result

Input: alt text

Output: alt text

Input: alt text

Output: alt text

Input: alt text

Output: alt text

License

The above used Images are taken from IAMDB.

This project is licensed under the MIT License - see the LICENSE.md file for details