title: Image Processing - Rotation and Optical Character Recognizion
body: <p>Good Morning everybody,</p>
  
  <p>Today I wanna concern about the topic "Image Manipulation in C++".</p>
  
  <p>So far I am able to filter all the noisy stuff out of the picture and change the color to black and white.</p>
  
  <p>But now I have two questions.</p>
  
  <p><strong>First Question</strong>:<br/>
  Below you see a screenshot of the image. What is the best way to find out how to rotate the text. In the end it would be nice if the text is horizontal. Does anybody have a good link or an example. </p>
  
  <p><img src="https://i.stack.imgur.com/zkvtS.png" alt="enter image description here"></p>
  
  <p><br>
  <strong>Second Question:</strong><br>
  How to go on? Do you think I should send the image to an "Optical Character Recognizer" <strong>(a)</strong> or should I filter out each letter <strong>(b)</strong>?<br><br>
  If the answer is <strong>(a)</strong> what is the smallest ocr lib? All libs I found so far seem to be overpowered and difficult to implement in an existing project. (like gocr or tesseract)</p>
  
  <p>If the answer is <strong>(b)</strong> what is the best way to save each letter as an own image? Shoul i search for an white pixel an than go from pixel to pixel an save the coordinates in an 2D Array? What is with the letter "i" ;)</p>
  
  <p><br>Thanks to everybody who will help me to find my way!<br>Sorry for the strange english above. I'm still a language <strong><em>noob</em></strong> :-)</p>