How to extract the number from image using java
Hello every one
i want to develope a project which can extract the number from image
that i can use as inter or String or char.
Is there any API in java which provide this type of facility.
right now i m using java 5
thanks in Advance
Jignesh
I'm guessing that that is what he means. Either way, if you want to find it (I'm not sure if it exists) look it up. Java has an extensive Documentation that contains all its classes and packages.
Also, if you aim to create aprogram that can extract text from images, and Java does have an OCR API, then there's no reason to create it. You'd just be creating an alias of those classes. If you want to create a program that can do this, then create a program that can do this. Do some research on raster data and OCR algorithms, and make it yourself. If the API exists, then you have no reason to create your program. That's the whole point of programming.
Thanks for reply
Now i m giving explaination of my my project...
In my project i have a image in that i have a co-ordinate (x,y)
i want to convert that cordinate to numeric form,
i mena i want to use that cordinate in somewhere else in project.
So need to convert it into numeric form u can called it OCR also.
I hope now all undersatnd clearly....
Waiting for Solution...
Jignesh
> In my project i have a image in that i have a
> co-ordinate (x,y)
I am still puzzled as to what you seek. It sounds to me like you have a point (x, y) represented by p. in java it's just p.getX() p.getY()
> i want to convert that cordinate to numeric form,
> i mena i want to use that cordinate in somewhere else
> in project.
point.getX() point.getY()
> So need to convert it into numeric form u can called
> it OCR also.
OCR is optical character recognition. If I want out and took a picture of the US Declaration of Independence and then wanted the words on the parchement in the picture in text form, then I would run the picture through a software program and it would try to optically recognise what lettering and number were present in the picture. In the end, I would have a text of what is written on the US Declaration of Independence.
Is that what you want?
I think you had it on the first try, morgalr. (That is, he wants to get to 'int's to represent coordinates.)
What form are the coordinates in right now? Or, if possible, could we see the source code so far? No offense, but I'm having trouble understanding your English. I think it might be easier to understand what you mean if we could see the program itself.