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 Link to comment https://forums.phpfreaks.com/topic/141200-solved-altering-images/ 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 Link to comment https://forums.phpfreaks.com/topic/141200-solved-altering-images/#findComment-739056 Share on other sites More sharing options...
Thomisback Posted January 17, 2009 Author Share Posted January 17, 2009 Thanks, that helped me a lot. Link to comment https://forums.phpfreaks.com/topic/141200-solved-altering-images/#findComment-739057 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.