Recognize a figure - Similar to the Magic Touch game [closed] - android

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
In the game i need to the user to draw a figure, for example a rectangle, and the game has to recognize the figure. How can i do this?
Thanks!

This sounds like you would want to use a Neural Network. If you don't know what that is: It is basically an Artificial Brain which can do simple tasks like classifying (recognizing) shapes. It's really easy to do with tensorflow, since it's easily integratable into Android: https://www.tensorflow.org/mobile/android_build
Then, you would train your classifier to differenciate between Circle, Rectangle, Triangle and more. For this, you should draw some rectangles and triangles in your app, save them as images and label them yourself with what is in them. Then you can use those images with TensorFlow to train your AI to recognize images the user draws.

Related

How to achieve smudge like image effect in Android [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
There is an app named Funny Face Effects on play store.
I am trying to achieve the effect in which when a user moves the finger on image, pixels under the finger in certain radius shifts in that direction. It feels like moving a cloth with a finger or moving some thick paste with the finger. I could not find a proper name but I think it is called smudge.
After searching and trying I found that I can achieve this with GPUImage library.This library uses OpenGL fragment shader to apply some effect on image. I tried this but to get the continuous effect I have to save each finger position(each point on line) and apply filter for each point which is not feasible and it stuck after drawing more lines.
How to achieve this effect with OpenGL-ES?
It will be good if code is provided but just the idea of implementation will also work. Thank you.

How to show a user how to write a letter in android? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I am working on a language Learning android app. I want to include a feature on how to write a particular letter of a particular language.
So, the general idea is when a user clicked on a letter say 'A',a pop up activity appears and A is written with a pencil, i.e., sort of showing the user how to write A.
Any one had idea how i can implement this in android?
thanks
You need to draw letter on canvas, using Android drawing APIs. You can do it in two steps:
First draw letter, and save all drawing objects.
Second, draw again (replay) using previously saved objects.
There is an other way which will be easy but it will require alot of effort by designer. You will have to create gif files for each letter from which you can animation.

How to make each component of a 3D OpenGL object touchable in Android? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
let's say I have a 3d car model displayed using GLSurfaceView in Android. This model consists of many components, is that possible to control each of them or make each of them response to touch events individually? for example, if I want to select one wheel, what I need to do is touch the wheel.
I think you are looking for ray picking or ray intersection.
This answer has a link to a iOS sample/video which I believe is what you are after.
https://gamedev.stackexchange.com/questions/12360/how-do-you-determine-which-object-surface-the-users-pointing-at-with-lwjgl/12367#12367
Another related SO question:
Implementing Ray Picking
That should get you started on what you need to do.

Water Image : Chemical Analysis [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am sorry to post this question but I need some guidance for a project in MATLAB.
Is there any way via an Android App to take a image that can characterize the chemical components of water computationally?
I have to find the presence of Arsenic in water remotely. The lab attended would just take an image of the water - all he can do is send it remotely to me.
How using Image processing or rather what technology I can make use that I can detect chemical composition of the water as in the image?
First, you have to remember that StackOverflow is all about software issues (not about any particular application).
Regarding your question: I am afraid you cannot do it straighforward. First, given a RGB image like this one:
.
Could you tell me if the water contains arsenic or if the color is due to the mud? You cannot say that the water contains arsenic, so you cannot develop an application to perform this task.
You have two posibilities:
Use an spectrometer. But it is complicated to use it remotely.
Use some chemical tint to change the color of the image if it contains arsenic.
Now, the software aspect:
In the question title you talked about Matlab, but then you ask about Android... I am confused. Could you clarify that particular point?

Sprite and animation making tool for android game [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I am new at Android game development. I want to know how can i create and Animate the game characters i have in mind. Is there a tool out there that can help me get started with the drawing or i have to draw frame-by-frame.
I am targeting simple 2D games.
What you'll need is a sprite sheet. A series of images on the same bitmap laid out in a grid. For example you would have 8 different sprites of the same character, 1 standing still., 1 left foot forward, 1 right foot forward and jumping and again facing the opposite direction.
When you draw the sprite set the coordinates to be drawn and on button presses change the variables controlling the coordinates.
A good tutorial is here http://warriormill.com/2009/10/adroid-game-development-part-1-gameloop-sprites/
and a sprite sheet maker can be found here http://www.codeandweb.com/sprite-sheet-maker
Hope this helps!

Categories

Resources