What kind of OCR Java library should I use in Android? [closed] - java

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I would like to build an Android application that, via an OCR library, should scan a picture extracting text from it .
What Java library should I use?

Don't know how good it is (it definitely needs to be trained first), but there is Ron Cemer's Java OCR library.

If you are looking for a very extensible option or have a specific problem domain you could consider rolling your own using the Java Object Oriented Neural Engine.
I used it successfully in a personal project to identify the letter from an image such as this, you can find all the source for the OCR component of my application on github, here.

try tesseract,
checkout this article
http://www.itwizard.ro/interfacing-cc-libraries-via-jni-example-tesseract-163.html
and this example
http://code.google.com/p/mezzofanti/
Edit:
some more facts
- tesseract is one of the best open source OCR used by google
- there is training data available for many languages
- mezzofanti is an android app that uses tesseract
- beware: OCR does use a lot of CPU power. trying to OCR a A4 page with your T-Mob G1 will take a lot of time and the result may not impress you ;-)

You can use the OCR feature from Google Docs.
Check the Documents List Data API http://code.google.com/apis/documents/docs/3.0/developers_guide_protocol.html#OCR

Related

Getting started with Android Development basics [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is there a good tutorial on the net somewhere that delineates the steps needed to get started programming an Android application from square one on windows 7? I am looking to basically hit a Web Service and display it on a phone as a view of sorts (Kind of using the MVC design pattern). I have downloaded eclipse and I have downloaded the Android SDK. But I think I am missing some things. In addition, do you think it is easier to develop Android apps on Linux or Windows? I developed in java during college, and I just thought it was easier doing it on Java then on windows. Let me know what you think.
I can't post a comment so I will have to write a answer to your question, although I doubt this is a typical answer as well as a typical question for StackOverflow.
I've read a lot on Android before starting programming for it, I can hint you on what resources I found the best to make your way into Android development.
Concerning books I found these to be the best when starting:
Android Recipes: A Problem-Solution Approach
Beginning Android 2
More recently to deal with more advanced topics I've found The Busy Coder's Guide to Android Development to be a really helpful resource.
You also have some really helpful resources online, specially the android development website. Start from the DevGuide and it will give you a clear big picture on the subject. The other section of the android dev website that you can take advantage of is the tutorial section. I would recommend you to the these, specially the first ones as they are very basic.
I'm assuming that you have a basic understanding of Java by not referencing you any Java learning resources.

Convert image to searchable pdf [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Hi I am looking for a open-source java API that can convert tiff image to searchable pdf (OCR). I have research around but found nothing so far.
NOTE
I have looked at this post but this API does not convert the image to pdf
Java OCR implementation. However, I am still playing with the code a bit.
You can convert images to PDF using iText. The hard thing here is doing the OCR, not creating the PDF.
I will warn you: any OCR engine that is worth using is going to cost you a significant amount of money. Free and/or open source ones are generally pet projects, proof of concept for some algorithm or another. Not suitable for real world OCR applications. Tesseract is probably the best of the bunch, but even that has accuracies that are far, far worse than commercial engines.
We have a commercial OCR application, and I've been down this path while evaluating engines - I'd suggest that you bite the bullet and reach out to the engine providers and get quotes: Abbyy (best accuracy, most expensive, slower), Expervision (fast, not as accurate, middle of the road price), Nuance (middle of the road speed, accuracy and price). None of these will be written in Java, so you should plan some time to develop JNI code around their APIs.
Good luck - it's a big project!
Cuneiform is free and easy to use, it will output in hocr format, which can then be used to generate an invisible text layer on a PDF using hocr2pdf tool, which is part of ExactImage.

Is there an open source java message flow designer or similar tool? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am looking for an opensource product or some code examples of how I might design either a Java or HTML based GUI to design message flows.
One would add nodes/entities to the diagram and then messages that would flow between entities. The properties of the nodes and entities could then be modified.
The reason I want to extend something open source or code it from scrath is that I have numerous formats that i want to export the data in such as :
An image of the flow for use in documentation.
Human readable description of the message flow.
A test script to simulate the flow.
In an ideal world this would eventually be an Eclispe plug-in which is why I'd like it to be done using a sutable Java GUI framework however if a tool exists that could export message flows in a good structured langauge (XML) I guess my tool could just import this and convert to the other formats required.
Any ideas?
Eclipse GMF is a good choice, but it is quite hard once you start putting in advanced features.
Take a look at the jboss jpdl designer. I think it is built on top of an extensible core library for graph modeling. I know for a fact that jBPM is built like that, so this one also might be built along the same lines. If it is so, you should be able to reuse the core library.

Where can I find the android’s app code? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to write something for android , I am new comer for it,I know the java,but I need some example for the android’s app for learn,can you tell me where to find the material?(eg:http://source.android.com/source/index.html)
The android sdk site provides some sample code you can work with:
http://developer.android.com/resources/samples/get.html
I have not found a single go to site for Android sample code and tutorials but I have found there is lots of examples out there. What I have been doing is Googleing strings like "android theme tutorial" as I need them. Doing that has so far not failed to find helpful information and examples. Here are a few recent searches I did an a good example I found for each (this also turns up lots of hits at http://developer.android.com which are excellent):
android theme tutorial
android TabHost tutorial
android spinner tutorial
You can browse all Android source code at https://android.googlesource.com. All of the git repositories with the word "apps" each contain the sources for one of the standard apps. For example, platform/packages/apps/Calculator contains the sources for the Calculator app.

Java Cloud APIs [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I'm looking to write a Java (Groovy actually) web application that will need to talk to both AWS and Eucalyptus clouds for both compute and storage. So we're looking for a Java library that can talk to both.
I know that Eucalyptus is supposed to be AWS API compatible so anything that talks to AWS should be able to talk to Eucalyptus but that has not been my experience. I've found some of the ec2 command line apps that should work with Eucalyptus but simply crash.
Here's what I'm considering so far:
typica
jclouds
Dasein
AWS SDK for Java
Cloud Foundry
Do anyone have experience using any of these to talk to AWS and Eucalyptus? Are there any other similar APIs out there worth looking at?
Thanks
Since your doing Java/Groovy (Grails?) I would suggest adding CloudFoundry to your short list.
You might want to take a look at libcloud's Java version (original version is in Python): https://svn.apache.org/viewvc/incubator/libcloud/sandbox/java/trunk/. Its development seems to go quite fast and the whole thing looks quite promising.
I would suggest that you write up an API for your cloud engines for your needs, and then use a separate implementation for each backend you want. The reason for this - makes it mockable (hence testable).

Categories

Resources