Jump to content

[SOLVED] Altering images


Thomisback

Recommended Posts

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

- 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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.