Thomisback Posted January 17, 2009 Share Posted January 17, 2009 Hi, What I'm trying to do is: - Extract numbers from an image and save them into separate files, coordinates of where the image has to be cut (vertically) are known - Background is always white - Numbers are always black E.g. I want to cut my image vertically at X-coordinates 5 and 10, how would I do this? Would you suggest to use ImageMagick or just opening the image using a handler? Thanks for your time, Kind regards Quote Link to comment Share on other sites More sharing options...
Mark Baker Posted January 17, 2009 Share Posted January 17, 2009 - Extract numbers from an image and save them into separate files, coordinates of where the image has to be cut (vertically) are known You need to use a technique called OCR or Optical Character Recognition You could try the following: http://www.phpclasses.org/browse/file/12729.html Quote Link to comment Share on other sites More sharing options...
Thomisback Posted January 17, 2009 Author Share Posted January 17, 2009 Thanks, that helped me a lot. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.