Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I would not use Hough Lines for this purpose. But rather would follow of these two strategies:

Strategy 1:

  1. Blur your image a lot, so that you lose those black spaces between letters.
  2. Once your letters become "white united pixels", go for contour detection and capture them in a bounding box.
  3. Once you have your blob in a box, you can then play with it as much as you want. This may guide you through.

Strategy 2:

  1. Use a feature detector, which may work with this, like in the given example.
  2. Once you detect the bill and put a bounding box around it, again, it is a matter of geometry to figure out how much it is tilted.