Augmented Reality (sort of) with KML files - Frameworks

Hi!
I've been proposed to implement an application that renders KML files (google earth and affiliates) overlaid with the camera's image, based on the current position (GPS) and orientation (accelerometer?).
I couldn't find a framework to overlay the models in the camera.
So I address the wiser XDA community in hope you can't point me in the right direction.
Are there any frameworks to achieve something like this?
My client produces .KML files for the structures, that can be downloaded from the app to offline storage, after that they want the user to point at a given direction and render objects in a given range from the user's position.
Thanks in advance,
LL

I used BeyondAR framework for augmented reality and overlaying camera image based on GPS and orientation. Don't know, if it supports KML files.

Related

Rotating an image, windows mobile, vb.net

So I have been messing around with windows mobile development (in vb, don't hate me, i have grown accustomed to vb because of work). Anyways I come to a point where i would like to use the graphics object to draw an image and rotate it on occasion based on the state of the program. My instincts told me to use System.Drawing.Drawing2D.Matrix object to create that rotation but as it turns out it appears .net compact framework doesn't support that object.
So my question then is, is there any other method for rotating an image as i draw it. I can program in other languages as well if that is what is required, I was really only using vb because it was easy.
Any ideas?
Thanks
don't know about vb but
in c# i would look for an event to subscribe to
which would be fired when the orientation changed
or the resolution changed or some control resized
Sorry the question isn't related to orientation or resolution. I know when I want to rotate the image.
I will give more information, the image is a compass and I want to rotate the compass image based on GPS data received (Calculating the angles is not the problem either). Once I know that say I am 10 degrees off of north, i want to rotate the image of the compass so that north is still pointing north.
In my desktop development this would be done in vb or c# using the System.Drawing.Drawing2D.Matrix class, using Matrix.Rotate and them applying that matrix to the graphics object before i draw the image using graphics.drawImage().
Now the problem comes when I move to the mobile platform where System.Drawing.Drawing2D.Matrix does not exist and is appariently unimplemented. So then my question is, are there any other API's on the Windows Mobile Platform that support Rotation of an image by an arbitrary angle, and if not does any one have any good ideas where to start looking for implementing the rotation manually myself.
Thanks in advance
That's one of the annoyances with the .NET compact framework, not all of the PC .NET framework is implemented, and sometimes it's the bit you really want.
Time for a different angle on the problem. Create 36 compass images 10 degrees apart and store them all in an ImageList object. Pull the one you require out of it when the heading changes. Not quite as elegant as the Matrix class, but it may have to do.
The other approach would be to use DirectX drawing. The coding to do it, would probably involve a very steep learning curve, but not having dabbled in this arena yet, I can't offer much help.
The ImageList object in the .NET compact framework does not support ImageList.Draw(), (darn!, see previous post), so you would have to create a PictureBox object or similar and use :-
PictureBox1.Image = ImageList1.Images;
Where i is the index of the image you want to use. (0 to 35)
Thanks for the suggestions, I did end up predrawing the images of the compass. At the moment I went ahead and made 360 images but I am surely going to cut that down quite a bit. The question then becomes smoothness vs space. But either way you shake it it is working.

[Q] Looking for a simple application to "place/move predefined markers over an image"

[Q] Looking for a simple application to "place/move predefined markers over an image"
Hello,
It seems I'm out of luck finding this on google
I'm looking for a quite simple android application that would allow the placement of predefined markers over a loaded image background ...
Typically, I would load a "map/blueprint" image and would like to place/move some markers representing people on it.
It would help in managing operations of teams/people (mainly first responders / rescue teams) on a defined geographical location ... (but without gps)
If anyone has any idea of any app that could help do that it would be greatly appreciated.
Right know I basically use a physically printed map on some magnet board and some magnets with labels on them Very very reliable but not very mobile.
Thanx in advance

[APP][4.0.3+][1.3.36] Plotim real-data x-y viewer and analyzer

My first Android app, initially created out of a real need, but has grown a bit since.
My app allows loading or pasting of text csv or other column formatted text files to display the data either as y-t plots or arbitrary x-y plots.
Surprisingly, I couldn't find such an app. I could only find function plotters, which this app is not.
At first, I needed this app to show experiment results to a professor, but I now use it at work on my tablet instead of printing graphs, allowing me to interactively demonstrate points of interest in my analyzes.
It is written with large data in mind, using C++ and OpenGL for speed and tight memory usage.
It is available on google play under "PlotimFree" but I also attached it here.
Created graphs can be either exported to PNGs or saved as binary files for later fast re-loading with all configurations and parameters.
I use it mainly on my 10" tablet, but I tested it on a few phones and tried my best to make it useful on small screens.

[GAME] First person TECH DEMO

Because I probably never continue in my project, I decided public what I have at the moment. App has many bugs and you can load only map named room01. Data will be downloaded after first start (FTP server not among the best) ~15MB. If you have any problem with downloading data, unzip this zip to Android/data/. I enabled developer mode by default, so we have access to everything It uses jPCT-AE engine.
What you can find: per pixel point, direction and spot lighting, depth of field, shadows, parallax mapping, normal mapping, blur, motion blur, image distortions, interactive lever, cap, buttons...
NOTE: This is only for high-end devices.
APK file
Thread in jPCT forum
Variables saved in Android/data/mygame/config.cfg
Code:
dev
engineDebug
showFps
antiAliasing
padAutoHide
padVisibility
firePadVisible
maxFPS
fpsLimit
xPositionOfPad
yPositionOfPad
cameraSensitivity
xPositionOfFireButton
yPositionOfFireButton
xPositionOfEquip
yPositionOfEquip
comperssTexture
centerCamera
checkForUpdates
textureQuality
menuTrans
traslationMenuEffect
saveLogs
invertCameraY
gameGUITransparency
lightGlowEffect
cameraFilter
shadingMode
Map definition is in XML file in downloaded data, you can simple change whole map, objects, textures,...
I fixed a few bugs...
Looks nice. Runs good on htc one x
Sent from my EndeavorU using Tapatalk 4
How fast is it running on your device?

Any crop library for Android in active development?

Hello,
I use https://github.com/igreenwood/SimpleCropView library but the development is dead. It has no zoom even.
I've tried to find a new one and found https://github.com/ArthurHub/Android-Image-Cropper and https://github.com/Yalantis/uCrop. They have zoom option but seems both are discontinued.
The issue is that one of libs doesn't provide the info about the current position of crop areah that is needed for batch crop
The second one doesn't provide a view. Instead starts a new activity. Doesn't fit the architecture and ux requirements.
I'm stuck now. Maybe somebody suggests a library for my purposes?
Bump.

Categories

Resources