1. Method for OCR detection of valuable documents in a self-service machine, in particular an automatic teller machine or cash dispenser, having the steps of: a) detecting an image of a valuable document ( 4 ) by means of a digital video or matrix camera ( 2 ); b) determining the position of a valuable document region ( 6 ), corresponding to the valuable document, and its edge pixels in the image; c) detecting straight edge lines of the valuable document region ( 6 ) with the aid of the determined edge pixels by using a Hough transformation; d) determining a rotation angle by which the valuable document region ( 6 ) in the image must be rotated for alignment at edges of a detection region ( 5 ) of the camera, and rotating the valuable document region ( 6 ) by this rotation angle; e) removing smaller details by filtering the valuable document region; f) binarizing the valuable document region so as to segment alphanumeric character information; and g) OCR detection of the alphanumeric character information.