Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
extracting text from image

Subject: extracting text from image

From: Amara

Date: 13 Dec, 2008 11:55:35

Message: 1 of 2

hello
i have a jpg image of a graph. i want to extract coordinate values at
specific points from this image can anybody plz tel me how would i
extract text/values.
these values are written at top of the points.
waiting for a quik response
thanks

Subject: extracting text from image

From: Dave Brackett

Date: 14 Dec, 2008 16:17:01

Message: 2 of 2

Amara <Amara.Jabeen@gmail.com> wrote in message <c0d80407-4d3b-4213-9c7f-eeee8aca2d47@a29g2000pra.googlegroups.com>...
> hello
> i have a jpg image of a graph. i want to extract coordinate values at
> specific points from this image can anybody plz tel me how would i
> extract text/values.
> these values are written at top of the points.
> waiting for a quik response
> thanks

If you only want a few points from the graph you could load the jpg image into a GUI axes and then create a transparent axes over the top of the image. You could then click with the mouse on the transparent axes at the points you wish to 'extract' from the jpg.

To extract text, you may want to use optical character recognition (OCR) - some code for this is on the file exchange, although it seems like it would be slight overkill. Again, it depends on the amount of text.

If you need many data points to be extracted you may want to go down the route of image processing techniques for the whole graph.

Personally I would go for using a transparent axes over the top, but I don't know your intentions very well so it may not be suitable.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us