Beginning with OpenCV in Android - android

I want to create an application that detects walls from the image and paints it with color choosen by user . I looked it up and found out OpenCV is a way to go.
I downloaded the sdk and imported in AndroidStudio.
I am a complete beginner to OpenCV and i would appreciate if i could get just the hints where to start from .
I want to know what terms and methods to look forward(in the docs) in order to implement this particular task (detecting wall in image and fillcolor).
What would be the steps required to process and manipulate image for this operation ?
Thanks.

You can start with some tutorials. It is a best way to satrt with adn learn some basics and claasses and their usage.
Soem links are as follows-
first-
Second

Related

how to read numbers and text from camera in android?

I'm working on android application and it should allow users to take photos using camera and the application reads the text and numbers in the photo.
I don't know where to start from android studio. is there any good suggestion on github that could help me???
thanks in advance.
As others said OpenCV or OCR is the way to go.
Google maintains one OCR library called as "Tesseract" (reminds me of Avengers :P).
To make the job little easier there is a fork of Tesseract called as Tess-Two
It combines some other useful tools like Leptonica (image processing library). Build instructions are given on the Readme file.
To get started you can check out very easy to use OCR library
Easy OCR Library Android which uses Tess-Two under the hood.
Again usage instructions are in the Readme file. It is already built so you don't need to build Tess-Two.
You can try to use OpenCV library. Its abbreviature is Open Computer Vision Library. It has a reputation similar to OpenGL. There must be articles about yor issue in which library is ised. It can be linked static or dynamic using runtime application called OpenCV Manager (available in Google Play). You can use it both in Java and C++ code. Hope, it helps
PS i have an own example of it use.
https://github.com/androidovshchik/ProhibitingSignDetector
i could give suggest about how i would do that if i needed to .
first of all you need to photo the picture only black and white .
then cheack the min black pixels in row that will define a letter .(you dont want any shadow to recognize as potential letter.
try and learn progress (any camera have diffrent resulution so it need to be some % of the picture row pixels.)
after that evrey letter have diffrent shape so you need to do for loop 5 times in diffrent angel until you get to the third gap of black rows.
after that some huge switch and if to get to the right letter need to do big research about the gap inside the letter proportion.
to have a little dataBase could help if you wanted to get more then one font .
again i not sure its the right way but that what i would do.
have fun :)
You may try to find some Optical Character Recognition (OCR) library for Java
Check Java OCR, tess-two, Aprise. And explore stackoverflow searching other OCR solutions.
Implementing your own OCR lib may be very difficult so think is it really necessary for your task.

Example project for android-screenshot-library

I'm trying to make a simple eclipse project that only takes one screenshot using the android-screenshot-library. The thing is that the documentation is very very poor and I'm having a hard time understanding how to set up this very very simple project.
Anyone knowing about some example project in the web? or useful tutorial (step-by-step kind of thing).
Have look at this.
Android Screen Shot Library
Follow the tutorial here. It isn't about pictures and cameras, but it's simple enough to get you started. Then post code of what you have tried and ask and more pointed question: http://developer.android.com/training/basics/firstapp/index.html

Unable to use chart libraries in Android

Can any one please tell me how to create a bar-chart in Android?
After I did some searches on Google then I got the solution as, there are two approaches to achieve this concept.
Using
"Achartengine" or
"kiCharts" approach
As per the search every one is recommending to use "Achartengine approach" because it is fully open source, this is the official link to this approach that I found.
Then I downloaded that file from the above link and I imported it into Eclipse but its not supporting. When I am trying to run that project it's showing like the below images.
Even though if I try to do access or while clicking any options on the emulator (here shown in the second image) it's showing up the with same result as "sorry your app unexpectedly closed!. Please try again. Force Close"
I don't know whether I am going in a wright way or not.
Can any one please explain this concept by sending at least one example program done using the AChartEngine approach.
OR
Please at least send me the steps to create a BAR-CHART using the AChartEngine approach.
Thanks for your precious time!..

How to do "android drawing pattern to unlock" using COCOS2D API

I want to do a task which is very similar to "Android Drawing Pattern to Unlock", where in there will be circular images in a GridView and straight lines connecting the images will be drawn dynamically based on user touch. Please suggest me preferably with code snippets.TIA.
Actully, you didn't write your code into the question .so I think you are developing Android Application with COCOS2D first time.
Here is some awesome example links that may Help you to learn this.
1)COCOS2D Basic Game
2)COCOS2D MUltiplatform
If you want help regarding code please post your code here.

Android Gallery View Semi Circle Theme

Hi friends i am planned to work on user interface part, i wanted to make my own user interface for my gallery application. for example gallery view should be in semi circular view. can any one suggest me on this
Thanks in advance
Do you want something like this!!
you can find it in this link
sorry but the link is in french language but you can find sources in the bottom of the page Mirror links
You should start by learning more about the Gallery in general. This link would make a good start.
Understand that code, go through the tutorials and begin experimenting on making incremental changes and seeing if they work.
Using this knowledge and prototype code start thinking about how you might go about creating your custom semi-circle gallery. Experiment and try some different things.
When/if you run into any issues or specific problems, post your question on a new thread and I'm sure you will find people willing to help you out.

Categories

Resources