Simple OCR app using android camera [duplicate] - java

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
android OCR?
I want yo build an app that have an OCR scanner using camera and detect a text from a paper and convert in into regular text. a simple program. How i can do this? What is the simplest way?

There was a time when this seemed like a bad idea, but doesnt seem like a bad idea.
I guess u can use Tesseract OCR Tool, an open source alternative by Google. How to integrate that in Android is simple via Tesseract Android Tools
A good guide on how to do it is also well documented at http://rmtheis.wordpress.com/2011/08/06/using-tesseract-tools-for-android-to-create-a-basic-ocr-app/
Let us also know how this goes for you.

Related

How can I do face recognition of two images using opencv java in android

I'm trying to create a face recognition application in android studio in java language. I spent considerable amount of time, searching for step by step guides for achieving this function. I found many tutorials for python language and i couldn't find any proper tutorial or atleast a video tutorial for java.
Can someone please provide me with a proper link with the steps to do face recognition with OpenCv in android using java language.
I'm new to OpenCv, so i have no big idea on its functions.
Your help is highly appreciated
Update 1 ::
I'm trying to capture the image of the user and then cross check the taken image with an image that is already available in the gallery.
I want to know if both are the same so that i can allow the user to use the application.
I actually made a Java program that utilised OpenCV for facial recognition earlier this year.
For me it was an utter nightmare. Guides to doing this on Java are basically nonexistent and the documentation for Java OpenCV is very poor.
What I ended up doing to get to grips with OpenCV was I used PyImageSearch to learn how OpenCV works and then just trawled through the OpenCV javadocs until I found the most similar classes to what was being used in PyImageSearch.
There are a few guides for OpenCV recognition using Java (I'll have a look through my notes when I get a chance and see if I saved any links for my own reference) but none of them were for what I needed.
If you edit your post with some more information on the recognition you're trying to do (video or jpeg or png?; frontal faces or side faces?; specific faces or faces in general?) I may be able to help a little more.
The Youtube link that #Varma posted might help you get to grips with OpenCV as a whole, but that series doesn't seem to cover facial recognition.
EDIT #1
Okay, recognising who someone is via an image is definitely doable with OpenCV, but it's not something I've done. Here's a PyImageSearch page on how to do it in Python. The methodology for doing it in Java with OpenCV will most likely be more or less the same even thought the syntax will - of course - make it look very different (should mostly be a matter of finding the equivalent Java classes and methods).
If it proves difficult, there are alternatives to OpenCV you could use, like these or Google's API. Keep in mind though that facial recognition is not very secure and does come with some controversy.

Template matching in Android Opencv

I a working on a project in which i need to match the two images i-e; the image captured through camera is to be matched with the one of the images in database on server. Can anyone help please. I am new with android and opencv.
This is probably too broad of a question to answer directly - but hopefully I can provide a couple resources you can dive into to learn specifically how to do the few things your asking for.
Introduction to OpenCV for Android:
https://opencv.org/platforms/android/
GitHub project implementing what I think you're asking for:
https://github.com/torcellite/imageComparator

How to display the Google sign in button in Java Desktop?

This is my first question on this forum. The my doubt is really which I wrote in the title. I'm making a Java desktop application and I need to sign in with Google in my application. I need something like this:
https://raw.githubusercontent.com/devfd/react-native-google-signin/master/img/signin-button.png
I'm looking for the Google Client Api for Java for many days but I could not get anywhere. Someone can to say me how I do this in Java? I have already a project in Google Console.
Edit
I'm using JavaFX in my application.

how to make a simple launcher in android? [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
How to make a launcher
I want to make a launcher something similar to go launcher which changes all the icons and stuff... Currently I wanna know where should I start from? I need to make a very simple launcher so any sample code will be appreciated. Thanks!
Any helpful codes I should know or any tips?
There is a Launcher sample app included in the SDK samples that has some simple launcher code that you could base your app on. I doubt there's any simpler code available than that one.

Java and video player [duplicate]

This question already has answers here:
Closed 10 years ago.
Possible Duplicate:
Any simple (and up to date) Java frameworks for embedding movies within a Swing Application?
I need to implement such situation, in full screen on desktop, some player playing the video, and during some periods of time my java program has to show some text in some part of screen appearing with animation and after that again hides. But during all the time the video has to be continue playing in full screen.
Which suggestion could you give me ?
Thanks in advance.
I didn't try it myself, but I think you may find this useful:
http://lobobrowser.wordpress.com/2008/12/29/javafx-video-in-a-swing-application-technically-doable/
If you don't know javaFX, you can try out JMF, it is relatively easy and you don't need to learn a new ttechnology. Here is a tutorial on playing video using JMF: http://www.deitel.com/articles/java_tutorials/20060422/PlayingVideowithJMF/ . But as far as I know, there are some problems in JMF and oracle has no plan to improve it in future.

Categories